Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPatientController2.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.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") translateModel(MEV.Test.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009501, allocations: 100.6 kB / 15.71 MB, free: 452 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.001044/0.001044, allocations: 175.7 kB / 16.58 MB, free: 6.422 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.605/1.605, allocations: 205.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01034/0.01034, allocations: 1.912 MB / 272.9 MB, free: 3.391 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.0005133/0.0005133, allocations: 16 kB / 331.5 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09893, allocations: 48.09 MB / 379.6 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.001846/0.1008, allocations: 1.232 MB / 380.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1021, allocations: 0.6909 MB / 381.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.1022, allocations: 4 kB / 381.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1024, allocations: 59.83 kB / 381.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.1025, allocations: 67.78 kB / 381.7 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.1032, allocations: 123.8 kB / 381.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.1034, allocations: 127.7 kB / 381.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1035, allocations: 19.97 kB / 381.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1037, allocations: 63.83 kB / 382 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1039, allocations: 91.75 kB / 382.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1039, allocations: 4 kB / 382.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.1042, allocations: 147.8 kB / 382.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.1042, allocations: 31.91 kB / 382.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.1043, allocations: 49.64 kB / 382.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1046, allocations: 156 kB / 382.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1046, allocations: 0 / 382.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1046, allocations: 0 / 382.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1046, allocations: 0 / 382.5 MB, free: 14.33 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.0007687/0.1054, allocations: 0.5098 MB / 383 MB, free: 13.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1054, allocations: 8.031 kB / 383 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.1055, allocations: 19.81 kB / 383 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.1058, allocations: 218.6 kB / 383.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.1059, allocations: 37.66 kB / 383.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1059, allocations: 8 kB / 383.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.1062, allocations: 137.6 kB / 383.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1062, allocations: 4 kB / 383.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.1063, allocations: 8 kB / 383.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1063, allocations: 7.922 kB / 383.4 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1065, allocations: 91.95 kB / 383.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.1071, allocations: 372.6 kB / 383.9 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1073, allocations: 150.5 kB / 384 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1075, allocations: 108.8 kB / 384.1 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.1075, allocations: 0 / 384.1 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.1079, allocations: 245.1 kB / 384.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.763e-06/0.1079, allocations: 0 / 384.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007574/0.1087, allocations: 472.9 kB / 384.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.1088, allocations: 118.8 kB / 384.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.109, allocations: 206.5 kB / 385.1 MB, free: 11.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.109, allocations: 37.7 kB / 385.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.1091, allocations: 108.6 kB / 385.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.1092, allocations: 51.34 kB / 385.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.1092, allocations: 4 kB / 385.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1093, allocations: 330.8 kB / 385.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1095, allocations: 88.2 kB / 385.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.1096, allocations: 92.33 kB / 385.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.1098, allocations: 152.5 kB / 386 MB, free: 10.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1098, allocations: 0 / 386 MB, free: 10.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005229/0.1104, allocations: 393.4 kB / 386.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.1104, allocations: 75.38 kB / 386.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1105, allocations: 3.938 kB / 386.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1105, allocations: 0 / 386.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1106, allocations: 16 kB / 386.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.1106, allocations: 7.953 kB / 386.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1107, allocations: 23.83 kB / 386.5 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1108, allocations: 15.98 kB / 386.5 MB, free: 9.973 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.0001931/0.111, allocations: 214.9 kB / 386.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.111, allocations: 23.75 kB / 386.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.1111, allocations: 21.86 kB / 386.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1111, allocations: 11.94 kB / 386.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1111, allocations: 0 / 386.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1111, allocations: 3.953 kB / 386.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1113, allocations: 249.4 kB / 387 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1113, allocations: 4 kB / 387 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.1114, allocations: 8 kB / 387 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1114, allocations: 0 / 387 MB, free: 9.375 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1114, allocations: 11.98 kB / 387 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1114, allocations: 8 kB / 387.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1115, allocations: 0 / 387.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.1121, allocations: 476.3 kB / 387.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.1121, allocations: 96.84 kB / 387.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1122, allocations: 12 kB / 387.6 MB, free: 8.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1123, allocations: 11.98 kB / 387.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.1124, allocations: 23.97 kB / 387.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.1124, allocations: 12 kB / 387.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1126, allocations: 148.3 kB / 387.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1126, allocations: 0 / 387.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1129, allocations: 76 kB / 387.9 MB, free: 8.469 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.0002547/0.1131, allocations: 151.9 kB / 388 MB, free: 8.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.1137, allocations: 414.9 kB / 388.4 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1137, allocations: 0 / 388.4 MB, free: 7.883 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.114, allocations: 290.7 kB / 388.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.1143, allocations: 24.08 kB / 388.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.1149, allocations: 428.1 kB / 389.2 MB, free: 7.102 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1152, allocations: 0.7319 MB / 389.9 MB, free: 6.344 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.1153, allocations: 11.44 kB / 389.9 MB, free: 6.332 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1153, allocations: 0 / 389.9 MB, free: 6.332 MB / 286.1 MB Notification: Performance of Templates: time 0.004616/0.1199, allocations: 2.454 MB / 392.4 MB, free: 3.875 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestPatientController2.makefile make -j1 -f MEV_MEV.Test.TestPatientController2.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.TestPatientController2CalcHelperMain.o OMCppMEV_MEV.Test.TestPatientController2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestPatientController2CalcHelperMain.o] Error 1