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

> ### Name: dynmodel
> ### Title: Fit a non-population dynamic model
> ### Aliases: dynmodel
> 
> ### ** Examples
> 
> ode <- "
+    dose=200;
+    pi = 3.1415926535897931;
+ 
+    if (t<=0) {
+       fI = 0;
+    } else {
+       fI = F*dose*sqrt(MIT/(2.0*pi*CVI2*t^3))*exp(-(t-MIT)^2/(2.0*CVI2*MIT*t));
+    }
+ 
+    C2 = centr/V2;
+    C3 = peri/V3;
+    d/dt(centr) = fI - CL*C2 - Q*C2 + Q*C3;
+    d/dt(peri)  =              Q*C2 - Q*C3;
+ "
> sys1 <- 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_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_solvedata (rx_solve *solve){
  _solveData = solve;
}
extern rx_solve *rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_get_solvedata(){
  return _solveData;
}
SEXP rx_34a5b335cb55169021cfa77196c4ccc3_x64_model_vars();
double _theta[10];
extern double* rx_34a5b335cb55169021cfa77196c4ccc3_x64_theta(double *theta){
  _theta[0] = 200.0000000000000000; _theta[1] = 3.1415926535897931; _theta[2] = 0.0000000000000000; _theta[3] = theta[0]; _theta[4] = theta[1]; _theta[5] = theta[2]; _theta[6] = theta[3]; _theta[7] = theta[4]; _theta[8] = theta[5]; _theta[9] = theta[6];
  return _theta;
}


// prj-specific differential eqns
void rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt(int *_neq, double t, double *__zzStateVar__, double *__DDtStateVar__)
{
  int _cSub = _neq[1];
  double   dose,
  pi,
  fI,
  F,
  MIT,
  CVI2,
  C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  CL,
  Q;

  (void)t;
  (void)dose;
  (void)pi;
  (void)fI;
  (void)F;
  (void)MIT;
  (void)CVI2;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)CL;
  (void)Q;

  _update_par_ptr(t, _cSub, _solveData, _idx);
  dose = _PP[0];
  pi = _PP[1];
  fI = _PP[2];
  F = _PP[3];
  MIT = _PP[4];
  CVI2 = _PP[5];
  V2 = _PP[6];
  V3 = _PP[7];
  CL = _PP[8];
  Q = _PP[9];

  centr = __zzStateVar__[0]*((double)(_ON[0]));
  peri = __zzStateVar__[1]*((double)(_ON[1]));

  if (t<=0){
  fI=0;
  }
else {
  fI=F*dose*sqrt(MIT/safe_zero((2.0*pi*CVI2* R_pow(t,3))))*exp(- R_pow((t-MIT),2)/safe_zero((2.0*CVI2*MIT*t)));
  }
  C2=centr/safe_zero(V2);
  C3=peri/safe_zero(V3);
  __DDtStateVar__[0] = ((double)(_ON[0]))*(_IR[0] + fI-CL*C2-Q*C2+Q*C3);
  __DDtStateVar__[1] = ((double)(_ON[1]))*(_IR[1] + Q*C2-Q*C3);
  (&_solveData->subjects[_cSub])->dadt_counter[0]++;
}

// Jacobian derived vars
void rx_34a5b335cb55169021cfa77196c4ccc3_x64_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_34a5b335cb55169021cfa77196c4ccc3_x64_inis(int _cSub, double *__zzStateVar__){
}
// prj-specific derived vars
void rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_lhs(int _cSub, double t, double *__zzStateVar__, double *_lhs) {
  double   __DDtStateVar_0__,
  __DDtStateVar_1__,
  dose,
  pi,
  fI,
  F,
  MIT,
  CVI2,
  C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  CL,
  Q;

  (void)t;
  (void)__DDtStateVar_0__;
  (void)__DDtStateVar_1__;
  (void)dose;
  (void)pi;
  (void)fI;
  (void)F;
  (void)MIT;
  (void)CVI2;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)CL;
  (void)Q;

  _update_par_ptr(t, _cSub, _solveData, _idx);
  dose = _PP[0];
  pi = _PP[1];
  fI = _PP[2];
  F = _PP[3];
  MIT = _PP[4];
  CVI2 = _PP[5];
  V2 = _PP[6];
  V3 = _PP[7];
  CL = _PP[8];
  Q = _PP[9];

  centr = __zzStateVar__[0]*((double)(_ON[0]));
  peri = __zzStateVar__[1]*((double)(_ON[1]));

  if (t<=0){
  fI=0;
  }
else {
  fI=F*dose*sqrt(MIT/safe_zero((2.0*pi*CVI2* R_pow(t,3))))*exp(- R_pow((t-MIT),2)/safe_zero((2.0*CVI2*MIT*t)));
  }
  C2=centr/safe_zero(V2);
  C3=peri/safe_zero(V3);
  __DDtStateVar_0__ = ((double)(_ON[0]))*(_IR[0] + fI-CL*C2-Q*C2+Q*C3);
  __DDtStateVar_1__ = ((double)(_ON[1]))*(_IR[1] + Q*C2-Q*C3);

  _lhs[0]=fI;
  _lhs[1]=C2;
  _lhs[2]=C3;
}
// Functional based bioavailability
double rx_34a5b335cb55169021cfa77196c4ccc3_x64_F(int _cSub,  int _cmt, double _amt, double t){
 return _amt;
}
// Functional based absorption lag
double rx_34a5b335cb55169021cfa77196c4ccc3_x64_Lag(int _cSub,  int _cmt, double t){
 return t;
  double   dose,
  pi,
  fI,
  F,
  MIT,
  CVI2,
  C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  CL,
  Q;

  (void)t;
  (void)dose;
  (void)pi;
  (void)fI;
  (void)F;
  (void)MIT;
  (void)CVI2;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)CL;
  (void)Q;

  _update_par_ptr(NA_REAL, _cSub, _solveData, _idx);
  dose = _PP[0];
  pi = _PP[1];
  fI = _PP[2];
  F = _PP[3];
  MIT = _PP[4];
  CVI2 = _PP[5];
  V2 = _PP[6];
  V3 = _PP[7];
  CL = _PP[8];
  Q = _PP[9];

}
// Modeled zero-order rate
double rx_34a5b335cb55169021cfa77196c4ccc3_x64_Rate(int _cSub,  int _cmt, double _amt, double t){
 return 0.0;
  double   dose,
  pi,
  fI,
  F,
  MIT,
  CVI2,
  C2,
  centr,
  V2,
  C3,
  peri,
  V3,
  CL,
  Q;

  (void)t;
  (void)dose;
  (void)pi;
  (void)fI;
  (void)F;
  (void)MIT;
  (void)CVI2;
  (void)C2;
  (void)centr;
  (void)V2;
  (void)C3;
  (void)peri;
  (void)V3;
  (void)CL;
  (void)Q;

  _update_par_ptr(NA_REAL, _cSub, _solveData, _idx);
  dose = _PP[0];
  pi = _PP[1];
  fI = _PP[2];
  F = _PP[3];
  MIT = _PP[4];
  CVI2 = _PP[5];
  V2 = _PP[6];
  V3 = _PP[7];
  CL = _PP[8];
  Q = _PP[9];

}
// Modeled zero-order duration
double rx_34a5b335cb55169021cfa77196c4ccc3_x64_Dur(int _cSub,  int _cmt, double _amt, double t){
 return 0.0;
}
// Model Times
void rx_34a5b335cb55169021cfa77196c4ccc3_x64_mtime(int _cSub, double *_mtime){
}
extern SEXP rx_34a5b335cb55169021cfa77196c4ccc3_x64_model_vars(){
  int pro=0;
  SEXP _mv = PROTECT(_rxGetModelLib("rx_34a5b335cb55169021cfa77196c4ccc3_x64_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, 10));pro++;
    SEXP lhs      = PROTECT(allocVector(STRSXP, 3));pro++;
    SEXP state    = PROTECT(allocVector(STRSXP, 2));pro++;
  SEXP extraState = PROTECT(allocVector(STRSXP, 0));pro++;
    SEXP stateRmS = PROTECT(allocVector(INTSXP, 2));pro++;
    SEXP timeInt = PROTECT(allocVector(INTSXP, 1));pro++;
    INTEGER(timeInt)[0] = 1573997908;
    SEXP sens     = PROTECT(allocVector(STRSXP, 0));pro++;
    SEXP normState= PROTECT(allocVector(STRSXP, 2));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(params,0,mkChar("dose"));
    SET_STRING_ELT(params,1,mkChar("pi"));
  SET_STRING_ELT(lhs,0,mkChar("fI"));
    SET_STRING_ELT(params,2,mkChar("fI"));
    SET_STRING_ELT(params,3,mkChar("F"));
    SET_STRING_ELT(params,4,mkChar("MIT"));
    SET_STRING_ELT(params,5,mkChar("CVI2"));
  SET_STRING_ELT(lhs,1,mkChar("C2"));
    SET_STRING_ELT(params,6,mkChar("V2"));
  SET_STRING_ELT(lhs,2,mkChar("C3"));
    SET_STRING_ELT(params,7,mkChar("V3"));
    SET_STRING_ELT(params,8,mkChar("CL"));
    SET_STRING_ELT(params,9,mkChar("Q"));
    SET_STRING_ELT(state,0,mkChar("centr"));
    SET_STRING_ELT(normState,0,mkChar("centr"));
    _SR[0] = 0;
    SET_STRING_ELT(state,1,mkChar("peri"));
    SET_STRING_ELT(normState,1,mkChar("peri"));
    _SR[1] = 0;
    SET_STRING_ELT(modeln,0,mkChar("normModel"));
    SET_STRING_ELT(model,0,mkChar("dose=200;\npi=3.1415926535897931;\nif(t<=0){\nfI=0;\n}\nelse{\nfI=F*dose*sqrt(MIT/(2.0*pi*CVI2*t^3))*exp(-(t-MIT)^2/(2.0*CVI2*MIT*t));\n}\nC2=centr/V2;\nC3=peri/V3;\nd/dt(centr)=fI-CL*C2-Q*C2+Q*C3;\nd/dt(peri)=Q*C2-Q*C3;\n"));
    SEXP ini    = PROTECT(allocVector(REALSXP,3));pro++;
    SEXP inin   = PROTECT(allocVector(STRSXP, 3));pro++;
    SET_STRING_ELT(inin,0,mkChar("dose"));
    REAL(ini)[0] = 200.0000000000000000;
    SET_STRING_ELT(inin,0,mkChar("dose"));
    REAL(ini)[0] = 200.0000000000000000;
    SET_STRING_ELT(inin,1,mkChar("pi"));
    REAL(ini)[1] = 3.1415926535897931;
    SET_STRING_ELT(inin,2,mkChar("fI"));
    REAL(ini)[2] = 0.0000000000000000;
    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("490b03a1efaa18f7c1cc4acbb2d18441"));
    SET_STRING_ELT(mmd5n,1,mkChar("parsed_md5"));
    SET_STRING_ELT(mmd5,1,mkChar("34a5b335cb55169021cfa77196c4ccc3"));
    SET_STRING_ELT(trann,0,mkChar("lib.name"));
    SET_STRING_ELT(tran, 0,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64"));
    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_34a5b335cb55169021cfa77196c4ccc3_x64_"));
    SET_STRING_ELT(trann,3,mkChar("dydt"));
    SET_STRING_ELT(tran, 3,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt"));
    SET_STRING_ELT(trann,4,mkChar("calc_jac"));
    SET_STRING_ELT(tran, 4,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac"));
    SET_STRING_ELT(trann,5,mkChar("calc_lhs"));
    SET_STRING_ELT(tran, 5,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_lhs"));
    SET_STRING_ELT(trann,6,mkChar("model_vars"));
    SET_STRING_ELT(tran, 6,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_model_vars"));
    SET_STRING_ELT(trann,7,mkChar("theta"));
    SET_STRING_ELT(tran, 7,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_theta"));
    SET_STRING_ELT(trann,8,mkChar("inis"));
    SET_STRING_ELT(tran, 8,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_inis"));
    SET_STRING_ELT(trann,  9,mkChar("dydt_lsoda"));
    SET_STRING_ELT(tran,   9,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_lsoda"));
    SET_STRING_ELT(trann,10,mkChar("calc_jac_lsoda"));
    SET_STRING_ELT(tran, 10,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac_lsoda"));
    SET_STRING_ELT(trann,11,mkChar("ode_solver_solvedata"));
    SET_STRING_ELT(tran, 11,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_solvedata"));
    SET_STRING_ELT(trann,12,mkChar("ode_solver_get_solvedata"));
    SET_STRING_ELT(tran, 12,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_get_solvedata"));
    SET_STRING_ELT(trann,13,mkChar("dydt_liblsoda"));
    SET_STRING_ELT(tran, 13,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_liblsoda"));
    SET_STRING_ELT(trann,14,mkChar("F"));
    SET_STRING_ELT(tran, 14,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_F"));
    SET_STRING_ELT(trann,15,mkChar("Lag"));
    SET_STRING_ELT(tran, 15,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_Lag"));
    SET_STRING_ELT(trann,16,mkChar("Rate"));
    SET_STRING_ELT(tran, 16,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_Rate"));
    SET_STRING_ELT(trann,17,mkChar("Dur"));
    SET_STRING_ELT(tran, 17,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_Dur"));
    SET_STRING_ELT(trann,18,mkChar("mtime"));
    SET_STRING_ELT(tran, 18,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_mtime"));
    SET_STRING_ELT(trann,19,mkChar("assignFuns"));
    SET_STRING_ELT(tran, 19,mkChar("rx_34a5b335cb55169021cfa77196c4ccc3_x64_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_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_lsoda(int *neq, double *t, double *A, double *DADT)
{
  rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt(neq, *t, A, DADT);
}
extern int rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_liblsoda(double t, double *y, double *ydot, void *data)
{
  int *neq = (int*)(data);
  rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt(neq, t, y, ydot);
  return(0);
}
extern void rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac_lsoda(int *neq, double *t, double *A,int *ml, int *mu, double *JAC, int *nrowpd){
  // Update all covariate parameters
  rx_34a5b335cb55169021cfa77196c4ccc3_x64_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_34a5b335cb55169021cfa77196c4ccc3_x64_assignFuns(){
  _assignFuns();
}

//Initialize the dll to match RxODE's calls
void R_init0_rx_34a5b335cb55169021cfa77196c4ccc3_x64(){
  // Get C callables on load; Otherwise it isn't thread safe
  _assignFuns();
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_assignFuns", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_assignFuns);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_theta", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_theta);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_inis",(DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_inis);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt",(DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_lhs",(DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_lhs);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac",(DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_lsoda", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_lsoda);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac_lsoda", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_calc_jac_lsoda);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_solvedata", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_solvedata);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_get_solvedata", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_ode_solver_get_solvedata);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_F", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_F);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_Lag", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_Lag);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_Rate", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_Rate);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_Dur", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_Dur);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_mtime", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_mtime);
  R_RegisterCCallable("rx_34a5b335cb55169021cfa77196c4ccc3_x64","rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_liblsoda", (DL_FUNC) rx_34a5b335cb55169021cfa77196c4ccc3_x64_dydt_liblsoda);
}
//Initialize the dll to match RxODE's calls
void R_init_rx_34a5b335cb55169021cfa77196c4ccc3_x64(DllInfo *info){
  // Get C callables on load; Otherwise it isn't thread safe
  R_init0_rx_34a5b335cb55169021cfa77196c4ccc3_x64();
  static const R_CallMethodDef callMethods[]  = {
    {"rx_34a5b335cb55169021cfa77196c4ccc3_x64_model_vars", (DL_FUNC) &rx_34a5b335cb55169021cfa77196c4ccc3_x64_model_vars, 0},
    {NULL, NULL, 0}
  };

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

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