Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPatientController1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") translateModel(MEV.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.000819, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 172.9 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009655/0.009655, allocations: 1.924 MB / 272.9 MB, free: 3.406 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005513/0.0005515, allocations: 16 kB / 331.5 MB, free: 33.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1018, allocations: 48.1 MB / 379.6 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.002357/0.1042, allocations: 1.224 MB / 380.9 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1057, allocations: 0.6871 MB / 381.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.1058, allocations: 7.938 kB / 381.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.106, allocations: 47.92 kB / 381.6 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.1061, allocations: 59.78 kB / 381.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1068, allocations: 115.8 kB / 381.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.107, allocations: 127.6 kB / 381.9 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1071, allocations: 19.98 kB / 381.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1073, allocations: 63.83 kB / 382 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1075, allocations: 91.69 kB / 382.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1076, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.1078, allocations: 135.9 kB / 382.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.1079, allocations: 27.91 kB / 382.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.108, allocations: 49.64 kB / 382.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1083, allocations: 159.9 kB / 382.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1083, allocations: 4 kB / 382.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1083, allocations: 0 / 382.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1083, allocations: 0 / 382.4 MB, free: 14.37 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009456/0.1093, allocations: 0.4942 MB / 382.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1093, allocations: 8.031 kB / 382.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.1094, allocations: 19.81 kB / 383 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1097, allocations: 211.6 kB / 383.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.1098, allocations: 45.59 kB / 383.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1098, allocations: 7.938 kB / 383.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.1102, allocations: 137.5 kB / 383.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1102, allocations: 0 / 383.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.1103, allocations: 0 / 383.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1103, allocations: 4 kB / 383.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1105, allocations: 95.94 kB / 383.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.1111, allocations: 364.6 kB / 383.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1114, allocations: 146.5 kB / 383.9 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1116, allocations: 108.8 kB / 384.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1116, allocations: 0 / 384.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.112, allocations: 229.1 kB / 384.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.112, allocations: 0 / 384.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008163/0.1129, allocations: 468.9 kB / 384.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.113, allocations: 114.8 kB / 384.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1131, allocations: 195.2 kB / 385 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1132, allocations: 29.7 kB / 385.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.1132, allocations: 104.6 kB / 385.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.1133, allocations: 59.28 kB / 385.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.1133, allocations: 4 kB / 385.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1134, allocations: 330.8 kB / 385.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1136, allocations: 88.09 kB / 385.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1137, allocations: 92.42 kB / 385.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1139, allocations: 137.5 kB / 385.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1139, allocations: 0 / 385.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006569/0.1145, allocations: 393 kB / 386.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.1146, allocations: 63.39 kB / 386.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1146, allocations: 0 / 386.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1147, allocations: 4 kB / 386.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1148, allocations: 23.98 kB / 386.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1148, allocations: 3.953 kB / 386.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.115, allocations: 19.89 kB / 386.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.115, allocations: 16 kB / 386.4 MB, free: 10.12 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition3,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5,$PRE.patientController.t_on,patientController.t_on,$PRE.patientController.t_off,patientController.t_off,$PRE.patientController.active,patientController.active,RR.a,RR.b,RR.last,$PRE.RR.nextEvent,RR.nextEvent,RR.nextEventScaled,dutyCycle.a,dutyCycle.b,dutyCycle.last,$PRE.dutyCycle.nextEvent,dutyCycle.nextEvent,dutyCycle.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.1153, allocations: 210.9 kB / 386.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.1154, allocations: 19.81 kB / 386.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.1154, allocations: 25.86 kB / 386.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1154, allocations: 0 / 386.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1154, allocations: 0 / 386.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1155, allocations: 3.953 kB / 386.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1157, allocations: 249.4 kB / 386.9 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1158, allocations: 0 / 386.9 MB, free: 9.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.1158, allocations: 19.94 kB / 386.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1159, allocations: 0 / 386.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1159, allocations: 15.92 kB / 386.9 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1159, allocations: 4 kB / 386.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1159, allocations: 0 / 386.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.1168, allocations: 460.4 kB / 387.4 MB, free: 9.031 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.1168, allocations: 92.92 kB / 387.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.1169, allocations: 11.98 kB / 387.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1171, allocations: 15.98 kB / 387.5 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.1172, allocations: 19.98 kB / 387.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.1172, allocations: 11.98 kB / 387.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1174, allocations: 135.2 kB / 387.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1174, allocations: 0 / 387.6 MB, free: 8.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.1178, allocations: 79.94 kB / 387.7 MB, free: 8.652 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5,patientController.t_on,patientController.t_off,patientController.active,RR.a,RR.b,RR.last,RR.nextEvent,RR.nextEventScaled,dutyCycle.a,dutyCycle.b,dutyCycle.last,dutyCycle.nextEvent,dutyCycle.nextEventScaled) * Number of discrete states: 14 (dutyCycle.nextEvent,dutyCycle.last,dutyCycle.nextEventScaled,dutyCycle.b,dutyCycle.a,$whenCondition4,RR.nextEvent,RR.last,RR.nextEventScaled,RR.b,RR.a,$whenCondition5,patientController.active,patientController.t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.1181, allocations: 155.1 kB / 387.9 MB, free: 8.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.1188, allocations: 401.4 kB / 388.3 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1188, allocations: 0 / 388.3 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.1192, allocations: 286.7 kB / 388.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1196, allocations: 27.95 kB / 388.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.1204, allocations: 395.9 kB / 389 MB, free: 7.328 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1208, allocations: 0.728 MB / 389.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1209, allocations: 11.44 kB / 389.7 MB, free: 6.562 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1209, allocations: 4 kB / 389.7 MB, free: 6.559 MB / 286.1 MB Notification: Performance of Templates: time 0.005634/0.1265, allocations: 2.411 MB / 392.1 MB, free: 4.145 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestPatientController1.makefile make -j1 -f MEV_MEV.Test.TestPatientController1.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppMEV_MEV.Test.TestPatientController1CalcHelperMain.o OMCppMEV_MEV.Test.TestPatientController1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestPatientController1CalcHelperMain.o] Error 1