Force SimTK::Array::push_back to use move constructor for SimTK::ReferencePtr and avoid the copy constructor which was resetting the Component pointer to null and causing downstream failures.
Force SimTK::Array::push_back to use move constructor for SimTK::ReferencePtr and avoid the copy constructor which was resetting the Component pointer to null and causing downstream failures.

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core