public int setTimeUnits(string units)
{
int ret = libsbmlPINVOKE.Model_setTimeUnits(swigCPtr, units);
if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
return ret;
}