Running examples in 'RxODE-Ex.R' failed
The error most likely occurred in:

> ### Name: RxODE
> ### Title: Create an ODE-based model specification
> ### Aliases: RxODE
> ### Keywords: models nonlinear
> 
> ### ** Examples
> 
> # Step 1 - Create a model specification
> ode <- "
+    # A 4-compartment model, 3 PK and a PD (effect) compartment
+    # (notice state variable names 'depot', 'centr', 'peri', 'eff')
+ 
+    C2 = centr/V2;
+    C3 = peri/V3;
+    d/dt(depot) =-KA*depot;
+    d/dt(centr) = KA*depot - CL*C2 - Q*C2 + Q*C3;
+    d/dt(peri)  =                    Q*C2 - Q*C3;
+    d/dt(eff)  = Kin - Kout*(1-C2/(EC50+C2))*eff;
+ "
> 
> m1 <- RxODE(model = ode)
Error building model

Warning message:
In system(cmd) : 'make' not found

#include <RxODE_model_shared.h>
#define __MAX_PROD__ 0
#define _CMT CMT
extern void  rx_83231945586888dce6ec208b5e070044_i386_ode_solver_solvedata (rx_solve *solve){
  _solveData = solve;
}
extern rx_solve *rx_83231945586888dce6ec208b5e070044_i386_ode_solver_get_solvedata(){
  return _solveData;
}
SEXP rx_83231945586888dce6ec208b5e070044_i386_model_vars();
double _theta[8];
extern double* rx_83231945586888dce6ec208b5e070044_i386_theta(double *theta){
  _theta[0] = theta[0];
_theta[1] = theta[1];
_theta[2] = theta[2];
_theta[3] = theta[3];
_theta[4] = theta[4];
_theta[5] = theta[5];
_theta[6] = theta[6];
_theta[7] = theta[7];
  return _theta;
}


// prj-specific differential eqns
void rx_83231945586888dce6ec208b5e070044_i386_dydt(int *_neq, double t, double *__zzStateVar__, double *__DDtStateVar__)
{
  int _cSub = _neq[1];
  double   C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  depot,
  KA,
  CL,
  Q,
  eff,
  Kin,
  Kout,
  EC50;

  (void)t;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)depot;
  (void)KA;
  (void)CL;
  (void)Q;
  (void)eff;
  (void)Kin;
  (void)Kout;
  (void)EC50;

  _update_par_ptr(t, _cSub, _solveData, _idx);
  V2 = _PP[0];
  V3 = _PP[1];
  KA = _PP[2];
  CL = _PP[3];
  Q = _PP[4];
  Kin = _PP[5];
  Kout = _PP[6];
  EC50 = _PP[7];

  depot = __zzStateVar__[0]*((double)(_ON[0]));
  centr = __zzStateVar__[1]*((double)(_ON[1]));
  peri = __zzStateVar__[2]*((double)(_ON[2]));
  eff = __zzStateVar__[3]*((double)(_ON[3]));

  C2=centr/safe_zero(V2);
  C3=peri/safe_zero(V3);
  __DDtStateVar__[0] = ((double)(_ON[0]))*(_IR[0] -KA*depot);
  __DDtStateVar__[1] = ((double)(_ON[1]))*(_IR[1] + KA*depot-CL*C2-Q*C2+Q*C3);
  __DDtStateVar__[2] = ((double)(_ON[2]))*(_IR[2] + Q*C2-Q*C3);
  __DDtStateVar__[3] = ((double)(_ON[3]))*(_IR[3] + Kin-Kout*(1-C2/safe_zero((EC50+C2)))*eff);
  (&_solveData->subjects[_cSub])->dadt_counter[0]++;
}

// Jacobian derived vars
void rx_83231945586888dce6ec208b5e070044_i386_calc_jac(int *_neq, double t, double *__zzStateVar__, double *__PDStateVar__, unsigned int __NROWPD__) {
  int _cSub=_neq[1];
  (&_solveData->subjects[_cSub])->jac_counter[0]++;
}
// Functional based initial conditions.
void rx_83231945586888dce6ec208b5e070044_i386_inis(int _cSub, double *__zzStateVar__){
}
// prj-specific derived vars
void rx_83231945586888dce6ec208b5e070044_i386_calc_lhs(int _cSub, double t, double *__zzStateVar__, double *_lhs) {
  double   __DDtStateVar_0__,
  __DDtStateVar_1__,
  __DDtStateVar_2__,
  __DDtStateVar_3__,
  C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  depot,
  KA,
  CL,
  Q,
  eff,
  Kin,
  Kout,
  EC50;

  (void)t;
  (void)__DDtStateVar_0__;
  (void)__DDtStateVar_1__;
  (void)__DDtStateVar_2__;
  (void)__DDtStateVar_3__;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)depot;
  (void)KA;
  (void)CL;
  (void)Q;
  (void)eff;
  (void)Kin;
  (void)Kout;
  (void)EC50;

  _update_par_ptr(t, _cSub, _solveData, _idx);
  V2 = _PP[0];
  V3 = _PP[1];
  KA = _PP[2];
  CL = _PP[3];
  Q = _PP[4];
  Kin = _PP[5];
  Kout = _PP[6];
  EC50 = _PP[7];

  depot = __zzStateVar__[0]*((double)(_ON[0]));
  centr = __zzStateVar__[1]*((double)(_ON[1]));
  peri = __zzStateVar__[2]*((double)(_ON[2]));
  eff = __zzStateVar__[3]*((double)(_ON[3]));

  C2=centr/safe_zero(V2);
  C3=peri/safe_zero(V3);
  __DDtStateVar_0__ = ((double)(_ON[0]))*(_IR[0] -KA*depot);
  __DDtStateVar_1__ = ((double)(_ON[1]))*(_IR[1] + KA*depot-CL*C2-Q*C2+Q*C3);
  __DDtStateVar_2__ = ((double)(_ON[2]))*(_IR[2] + Q*C2-Q*C3);
  __DDtStateVar_3__ = ((double)(_ON[3]))*(_IR[3] + Kin-Kout*(1-C2/safe_zero((EC50+C2)))*eff);

  _lhs[0]=C2;
  _lhs[1]=C3;
}
// Functional based bioavailability
double rx_83231945586888dce6ec208b5e070044_i386_F(int _cSub,  int _cmt, double _amt, double t){
 return _amt;
}
// Functional based absorption lag
double rx_83231945586888dce6ec208b5e070044_i386_Lag(int _cSub,  int _cmt, double t){
 return t;
  double   C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  depot,
  KA,
  CL,
  Q,
  eff,
  Kin,
  Kout,
  EC50;

  (void)t;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)depot;
  (void)KA;
  (void)CL;
  (void)Q;
  (void)eff;
  (void)Kin;
  (void)Kout;
  (void)EC50;

  _update_par_ptr(NA_REAL, _cSub, _solveData, _idx);
  V2 = _PP[0];
  V3 = _PP[1];
  KA = _PP[2];
  CL = _PP[3];
  Q = _PP[4];
  Kin = _PP[5];
  Kout = _PP[6];
  EC50 = _PP[7];

}
// Modeled zero-order rate
double rx_83231945586888dce6ec208b5e070044_i386_Rate(int _cSub,  int _cmt, double _amt, double t){
 return 0.0;
  double   C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  depot,
  KA,
  CL,
  Q,
  eff,
  Kin,
  Kout,
  EC50;

  (void)t;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)depot;
  (void)KA;
  (void)CL;
  (void)Q;
  (void)eff;
  (void)Kin;
  (void)Kout;
  (void)EC50;

  _update_par_ptr(NA_REAL, _cSub, _solveData, _idx);
  V2 = _PP[0];
  V3 = _PP[1];
  KA = _PP[2];
  CL = _PP[3];
  Q = _PP[4];
  Kin = _PP[5];
  Kout = _PP[6];
  EC50 = _PP[7];

}
// Modeled zero-order duration
double rx_83231945586888dce6ec208b5e070044_i386_Dur(int _cSub,  int _cmt, double _amt, double t){
 return 0.0;
}
// Model Times
void rx_83231945586888dce6ec208b5e070044_i386_mtime(int _cSub, double *_mtime){
}
extern SEXP rx_83231945586888dce6ec208b5e070044_i386_model_vars(){
  int pro=0;
  SEXP _mv = PROTECT(_rxGetModelLib("rx_83231945586888dce6ec208b5e070044_i386_model_vars"));pro++;
  if (!_rxIsCurrentC(_mv)){
    SEXP lst      = PROTECT(allocVector(VECSXP, 20));pro++;
    SEXP names    = PROTECT(allocVector(STRSXP, 20));pro++;
    SEXP sNeedSort = PROTECT(allocVector(INTSXP,1));pro++;
    int *iNeedSort  = INTEGER(sNeedSort);
    iNeedSort[0] = 0;
    SEXP sMtime = PROTECT(allocVector(INTSXP,1));pro++;
    int *iMtime  = INTEGER(sMtime);
    iMtime[0] = 0;
    SEXP sExtraCmt = PROTECT(allocVector(INTSXP,1));pro++;
    int *iExtraCmt  = INTEGER(sExtraCmt);
    iExtraCmt[0] = 0;
    SEXP params   = PROTECT(allocVector(STRSXP, 8));pro++;
    SEXP lhs      = PROTECT(allocVector(STRSXP, 2));pro++;
    SEXP state    = PROTECT(allocVector(STRSXP, 4));pro++;
  SEXP extraState = PROTECT(allocVector(STRSXP, 0));pro++;
    SEXP stateRmS = PROTECT(allocVector(INTSXP, 4));pro++;
    SEXP timeInt = PROTECT(allocVector(INTSXP, 1));pro++;
    INTEGER(timeInt)[0] = 1576605249;
    SEXP sens     = PROTECT(allocVector(STRSXP, 0));pro++;
    SEXP normState= PROTECT(allocVector(STRSXP, 4));pro++;
    SEXP fn_ini   = PROTECT(allocVector(STRSXP, 0));pro++;
    SEXP dfdy     = PROTECT(allocVector(STRSXP, 0));pro++;
    SEXP tran     = PROTECT(allocVector(STRSXP, 20));pro++;
    SEXP trann    = PROTECT(allocVector(STRSXP, 20));pro++;
    SEXP mmd5     = PROTECT(allocVector(STRSXP, 2));pro++;
    SEXP mmd5n    = PROTECT(allocVector(STRSXP, 2));pro++;
    SEXP model    = PROTECT(allocVector(STRSXP, 1));pro++;
    SEXP modeln   = PROTECT(allocVector(STRSXP, 1));pro++;
    SEXP version    = PROTECT(allocVector(STRSXP, 3));pro++;
    SEXP versionn   = PROTECT(allocVector(STRSXP, 3));pro++;
    SET_STRING_ELT(version,0,mkChar("0.8.1-0"));
    SET_STRING_ELT(version,1,mkChar("https://github.com/nlmixrdevelopment/RxODE"));
    SET_STRING_ELT(version,2,mkChar("2ef740cbdf83ec58b612d7c6d08130e4"));
    SET_STRING_ELT(versionn,0,mkChar("version"));
    SET_STRING_ELT(versionn,1,mkChar("repo"));
    SET_STRING_ELT(versionn,2,mkChar("md5"));
  SET_STRING_ELT(lhs,0,mkChar("C2"));
    SET_STRING_ELT(params,0,mkChar("V2"));
  SET_STRING_ELT(lhs,1,mkChar("C3"));
    SET_STRING_ELT(params,1,mkChar("V3"));
    SET_STRING_ELT(params,2,mkChar("KA"));
    SET_STRING_ELT(params,3,mkChar("CL"));
    SET_STRING_ELT(params,4,mkChar("Q"));
    SET_STRING_ELT(params,5,mkChar("Kin"));
    SET_STRING_ELT(params,6,mkChar("Kout"));
    SET_STRING_ELT(params,7,mkChar("EC50"));
    SET_STRING_ELT(state,0,mkChar("depot"));
    SET_STRING_ELT(normState,0,mkChar("depot"));
    _SR[0] = 0;
    SET_STRING_ELT(state,1,mkChar("centr"));
    SET_STRING_ELT(normState,1,mkChar("centr"));
    _SR[1] = 0;
    SET_STRING_ELT(state,2,mkChar("peri"));
    SET_STRING_ELT(normState,2,mkChar("peri"));
    _SR[2] = 0;
    SET_STRING_ELT(state,3,mkChar("eff"));
    SET_STRING_ELT(normState,3,mkChar("eff"));
    _SR[3] = 0;
    SET_STRING_ELT(modeln,0,mkChar("normModel"));
    SET_STRING_ELT(model,0,mkChar("C2=centr/V2;\nC3=peri/V3;\nd/dt(depot)=-KA*depot;\nd/dt(centr)=KA*depot-CL*C2-Q*C2+Q*C3;\nd/dt(peri)=Q*C2-Q*C3;\nd/dt(eff)=Kin-Kout*(1-C2/(EC50+C2))*eff;\n"));
    SEXP ini    = PROTECT(allocVector(REALSXP,0));pro++;
    SEXP inin   = PROTECT(allocVector(STRSXP, 0));pro++;
    SET_STRING_ELT(names,0,mkChar("params"));
    SET_VECTOR_ELT(lst,  0,params);
    SET_STRING_ELT(names,1,mkChar("lhs"));
    SET_VECTOR_ELT(lst,  1,lhs);
    SET_STRING_ELT(names,2,mkChar("state"));
    SET_VECTOR_ELT(lst,  2,state);
    SET_STRING_ELT(names,3,mkChar("trans"));
    SET_VECTOR_ELT(lst,  3,tran);
    SET_STRING_ELT(names,4,mkChar("model"));
    SET_VECTOR_ELT(lst,  4,model);
    SET_STRING_ELT(names,5,mkChar("ini"));
    SET_VECTOR_ELT(lst,  5,ini);
    SET_STRING_ELT(names,6,mkChar("podo"));
    SET_VECTOR_ELT(lst,   6,ScalarLogical(0));
    SET_STRING_ELT(names,7,mkChar("dfdy"));
    SET_VECTOR_ELT(lst,  7,dfdy);
    SET_STRING_ELT(names,8,mkChar("sens"));
    SET_VECTOR_ELT(lst,  8,sens);
    SET_STRING_ELT(names,9,mkChar("fn.ini"));
    SET_VECTOR_ELT(lst,  9,fn_ini);
    SET_STRING_ELT(names,10,mkChar("state.ignore"));
    SET_VECTOR_ELT(lst,  10,stateRmS);
    SET_STRING_ELT(names,11,mkChar("version"));
    SET_VECTOR_ELT(lst,  11,version);
    SET_STRING_ELT(names,12,mkChar("normal.state"));
    SET_VECTOR_ELT(lst,  12,normState);
    SET_STRING_ELT(names,13,mkChar("needSort"));
    SET_VECTOR_ELT(lst,  13,sNeedSort);
    SET_STRING_ELT(names,14,mkChar("nMtime"));
    SET_VECTOR_ELT(lst,  14,sMtime);
    SET_STRING_ELT(names,15,mkChar("extraCmt"));
    SET_VECTOR_ELT(lst,  15,sExtraCmt);
    SET_STRING_ELT(names, 16, mkChar("stateExtra"));
    SET_VECTOR_ELT(lst,  16, extraState);
    SET_STRING_ELT(names, 17, mkChar("dvid"));
    SEXP sDvid = PROTECT(allocVector(INTSXP,0));pro++;
    SET_VECTOR_ELT(lst, 17, sDvid);
    SET_STRING_ELT(names,18,mkChar("timeId"));
    SET_VECTOR_ELT(lst,  18,timeInt);
    SET_STRING_ELT(names,19,mkChar("md5"));    SET_VECTOR_ELT(lst,  19,mmd5);    SET_STRING_ELT(mmd5n,0,mkChar("file_md5"));
    SET_STRING_ELT(mmd5,0,mkChar("298b0e216d53226809b8d36dc5386d9a"));
    SET_STRING_ELT(mmd5n,1,mkChar("parsed_md5"));
    SET_STRING_ELT(mmd5,1,mkChar("83231945586888dce6ec208b5e070044"));
    SET_STRING_ELT(trann,0,mkChar("lib.name"));
    SET_STRING_ELT(tran, 0,mkChar("rx_83231945586888dce6ec208b5e070044_i386"));
    SET_STRING_ELT(trann,1,mkChar("jac"));
    SET_STRING_ELT(tran,1,mkChar("fullint"));
    SET_STRING_ELT(trann,2,mkChar("prefix"));
    SET_STRING_ELT(tran, 2,mkChar("rx_83231945586888dce6ec208b5e070044_i386_"));
    SET_STRING_ELT(trann,3,mkChar("dydt"));
    SET_STRING_ELT(tran, 3,mkChar("rx_83231945586888dce6ec208b5e070044_i386_dydt"));
    SET_STRING_ELT(trann,4,mkChar("calc_jac"));
    SET_STRING_ELT(tran, 4,mkChar("rx_83231945586888dce6ec208b5e070044_i386_calc_jac"));
    SET_STRING_ELT(trann,5,mkChar("calc_lhs"));
    SET_STRING_ELT(tran, 5,mkChar("rx_83231945586888dce6ec208b5e070044_i386_calc_lhs"));
    SET_STRING_ELT(trann,6,mkChar("model_vars"));
    SET_STRING_ELT(tran, 6,mkChar("rx_83231945586888dce6ec208b5e070044_i386_model_vars"));
    SET_STRING_ELT(trann,7,mkChar("theta"));
    SET_STRING_ELT(tran, 7,mkChar("rx_83231945586888dce6ec208b5e070044_i386_theta"));
    SET_STRING_ELT(trann,8,mkChar("inis"));
    SET_STRING_ELT(tran, 8,mkChar("rx_83231945586888dce6ec208b5e070044_i386_inis"));
    SET_STRING_ELT(trann,  9,mkChar("dydt_lsoda"));
    SET_STRING_ELT(tran,   9,mkChar("rx_83231945586888dce6ec208b5e070044_i386_dydt_lsoda"));
    SET_STRING_ELT(trann,10,mkChar("calc_jac_lsoda"));
    SET_STRING_ELT(tran, 10,mkChar("rx_83231945586888dce6ec208b5e070044_i386_calc_jac_lsoda"));
    SET_STRING_ELT(trann,11,mkChar("ode_solver_solvedata"));
    SET_STRING_ELT(tran, 11,mkChar("rx_83231945586888dce6ec208b5e070044_i386_ode_solver_solvedata"));
    SET_STRING_ELT(trann,12,mkChar("ode_solver_get_solvedata"));
    SET_STRING_ELT(tran, 12,mkChar("rx_83231945586888dce6ec208b5e070044_i386_ode_solver_get_solvedata"));
    SET_STRING_ELT(trann,13,mkChar("dydt_liblsoda"));
    SET_STRING_ELT(tran, 13,mkChar("rx_83231945586888dce6ec208b5e070044_i386_dydt_liblsoda"));
    SET_STRING_ELT(trann,14,mkChar("F"));
    SET_STRING_ELT(tran, 14,mkChar("rx_83231945586888dce6ec208b5e070044_i386_F"));
    SET_STRING_ELT(trann,15,mkChar("Lag"));
    SET_STRING_ELT(tran, 15,mkChar("rx_83231945586888dce6ec208b5e070044_i386_Lag"));
    SET_STRING_ELT(trann,16,mkChar("Rate"));
    SET_STRING_ELT(tran, 16,mkChar("rx_83231945586888dce6ec208b5e070044_i386_Rate"));
    SET_STRING_ELT(trann,17,mkChar("Dur"));
    SET_STRING_ELT(tran, 17,mkChar("rx_83231945586888dce6ec208b5e070044_i386_Dur"));
    SET_STRING_ELT(trann,18,mkChar("mtime"));
    SET_STRING_ELT(tran, 18,mkChar("rx_83231945586888dce6ec208b5e070044_i386_mtime"));
    SET_STRING_ELT(trann,19,mkChar("assignFuns"));
    SET_STRING_ELT(tran, 19,mkChar("rx_83231945586888dce6ec208b5e070044_i386_assignFuns"));
    setAttrib(tran, R_NamesSymbol, trann);
    setAttrib(mmd5, R_NamesSymbol, mmd5n);
    setAttrib(model, R_NamesSymbol, modeln);
    setAttrib(ini, R_NamesSymbol, inin);
    setAttrib(version, R_NamesSymbol, versionn);
    setAttrib(lst, R_NamesSymbol, names);
    SEXP cls = PROTECT(allocVector(STRSXP, 1));pro++;
    SET_STRING_ELT(cls, 0, mkChar("rxModelVars"));
    classgets(lst, cls);
    _assign_ptr(lst);
    UNPROTECT(pro);
    return lst;
  } else {
    UNPROTECT(pro);
    return _mv;
  }
}
extern void rx_83231945586888dce6ec208b5e070044_i386_dydt_lsoda(int *neq, double *t, double *A, double *DADT)
{
  rx_83231945586888dce6ec208b5e070044_i386_dydt(neq, *t, A, DADT);
}
extern int rx_83231945586888dce6ec208b5e070044_i386_dydt_liblsoda(double t, double *y, double *ydot, void *data)
{
  int *neq = (int*)(data);
  rx_83231945586888dce6ec208b5e070044_i386_dydt(neq, t, y, ydot);
  return(0);
}
extern void rx_83231945586888dce6ec208b5e070044_i386_calc_jac_lsoda(int *neq, double *t, double *A,int *ml, int *mu, double *JAC, int *nrowpd){
  // Update all covariate parameters
  rx_83231945586888dce6ec208b5e070044_i386_calc_jac(neq, *t, A, JAC, *nrowpd);
}

//Create function to call from R's main thread that assigns the required functions. Sometimes they don't get assigned.
extern void rx_83231945586888dce6ec208b5e070044_i386_assignFuns(){
  _assignFuns();
}

//Initialize the dll to match RxODE's calls
void R_init0_rx_83231945586888dce6ec208b5e070044_i386(){
  // Get C callables on load; Otherwise it isn't thread safe
  _assignFuns();
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_assignFuns", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_assignFuns);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_theta", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_theta);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_inis",(DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_inis);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_dydt",(DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_dydt);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_calc_lhs",(DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_calc_lhs);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_calc_jac",(DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_calc_jac);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_dydt_lsoda", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_dydt_lsoda);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_calc_jac_lsoda", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_calc_jac_lsoda);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_ode_solver_solvedata", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_ode_solver_solvedata);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_ode_solver_get_solvedata", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_ode_solver_get_solvedata);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_F", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_F);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_Lag", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_Lag);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_Rate", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_Rate);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_Dur", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_Dur);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_mtime", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_mtime);
  R_RegisterCCallable("rx_83231945586888dce6ec208b5e070044_i386","rx_83231945586888dce6ec208b5e070044_i386_dydt_liblsoda", (DL_FUNC) rx_83231945586888dce6ec208b5e070044_i386_dydt_liblsoda);
}
//Initialize the dll to match RxODE's calls
void R_init_rx_83231945586888dce6ec208b5e070044_i386(DllInfo *info){
  // Get C callables on load; Otherwise it isn't thread safe
  R_init0_rx_83231945586888dce6ec208b5e070044_i386();
  static const R_CallMethodDef callMethods[]  = {
    {"rx_83231945586888dce6ec208b5e070044_i386_model_vars", (DL_FUNC) &rx_83231945586888dce6ec208b5e070044_i386_model_vars, 0},
    {NULL, NULL, 0}
  };

  R_registerRoutines(info, NULL, callMethods, NULL, NULL);
  R_useDynamicSymbols(info,FALSE);
}

void R_unload_rx_83231945586888dce6ec208b5e070044_i386 (DllInfo *info){
  // Free resources required for single subject solve.
  SEXP _mv = PROTECT(_rxGetModelLib("rx_83231945586888dce6ec208b5e070044_i386_model_vars"));
  if (!isNull(_mv)){
    _rxRmModelLib("rx_83231945586888dce6ec208b5e070044_i386_model_vars");
  }
  UNPROTECT(1);
}
Error: Error building model
Execution halted