Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Controls.PatientController.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.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 99.83 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.002051/0.002051, allocations: 179.8 kB / 16.58 MB, free: 6.879 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.617/1.617, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01175/0.01175, allocations: 1.932 MB / 273 MB, free: 3.621 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.0005268/0.0005269, allocations: 16 kB / 331.5 MB, free: 33.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08251/0.08304, allocations: 48.09 MB / 379.6 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.001202/0.08429, allocations: 1.003 MB / 380.6 MB, free: 228 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.08444, allocations: 35.89 kB / 380.7 MB, free: 192 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.08446, allocations: 0 / 380.7 MB, free: 192 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.08449, allocations: 3.938 kB / 380.7 MB, free: 188 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.08453, allocations: 0 / 380.7 MB, free: 188 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.08467, allocations: 7.984 kB / 380.7 MB, free: 180 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.08474, allocations: 19.98 kB / 380.7 MB, free: 160 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.0848, allocations: 7.984 kB / 380.7 MB, free: 152 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.08484, allocations: 15.94 kB / 380.7 MB, free: 136 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.0849, allocations: 15.97 kB / 380.7 MB, free: 120 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.08492, allocations: 4 kB / 380.7 MB, free: 116 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.08493, allocations: 0 / 380.7 MB, free: 116 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.08496, allocations: 15.91 kB / 380.7 MB, free: 100 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.085, allocations: 25.7 kB / 380.8 MB, free: 68 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 5.658e-05/0.08506, allocations: 11.98 kB / 380.8 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.08507, allocations: 0 / 380.8 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.08508, allocations: 0 / 380.8 MB, free: 56 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.08509, allocations: 3.938 kB / 380.8 MB, free: 52 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005001/0.0856, allocations: 355.5 kB / 381.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.08563, allocations: 8.031 kB / 381.1 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.08568, allocations: 4 kB / 381.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.08578, allocations: 167.1 kB / 381.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.08584, allocations: 25.7 kB / 381.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.08587, allocations: 11.95 kB / 381.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.086, allocations: 53.66 kB / 381.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.08602, allocations: 0 / 381.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.08603, allocations: 0 / 381.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.08604, allocations: 4 kB / 381.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.08612, allocations: 15.98 kB / 381.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.08628, allocations: 169.6 kB / 381.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.08639, allocations: 42.61 kB / 381.6 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.08645, allocations: 16.94 kB / 381.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.08646, allocations: 0 / 381.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.08665, allocations: 87.27 kB / 381.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.08666, allocations: 0 / 381.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002589/0.08693, allocations: 117.5 kB / 381.8 MB, free: 14.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.08698, allocations: 51.41 kB / 381.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.08707, allocations: 105.8 kB / 382 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.08709, allocations: 25.7 kB / 382 MB, free: 14.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.08714, allocations: 84.05 kB / 382.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.08716, allocations: 19.75 kB / 382.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.08717, allocations: 0 / 382.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.08729, allocations: 322.8 kB / 382.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.08735, allocations: 19.98 kB / 382.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.08742, allocations: 42.69 kB / 382.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.323e-05/0.08748, allocations: 19.94 kB / 382.5 MB, free: 14.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.08749, allocations: 0 / 382.5 MB, free: 14.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.08766, allocations: 97.55 kB / 382.6 MB, free: 13.99 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.08768, allocations: 12 kB / 382.6 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.08769, allocations: 0 / 382.6 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.0877, allocations: 0 / 382.6 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.08779, allocations: 11.98 kB / 382.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.0878, allocations: 4 kB / 382.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.08788, allocations: 11.98 kB / 382.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.08789, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.t_on,t_on,$PRE.t_off,t_off,$PRE.active,active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.086e-05/0.08798, allocations: 125.8 kB / 382.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.088, allocations: 7.859 kB / 382.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.08803, allocations: 3.969 kB / 382.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.08804, allocations: 4 kB / 382.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.08805, allocations: 0 / 382.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.08806, allocations: 0 / 382.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.08817, allocations: 161.7 kB / 382.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.08818, allocations: 0 / 382.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.08821, allocations: 4 kB / 383 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.08822, allocations: 4 kB / 383 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.08824, allocations: 11.94 kB / 383 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.08825, allocations: 400 / 383 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.08825, allocations: 0 / 383 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.08842, allocations: 109.1 kB / 383.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.08846, allocations: 81.2 kB / 383.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.08848, allocations: 4 kB / 383.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.08854, allocations: 27.81 kB / 383.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.08859, allocations: 11.98 kB / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.08861, allocations: 0 / 383.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.977e-05/0.08865, allocations: 83.27 kB / 383.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.08866, allocations: 0 / 383.3 MB, free: 13.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.08884, allocations: 8 kB / 383.3 MB, free: 13.22 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: 6 ($whenCondition2,$whenCondition3,$whenCondition1,t_on,t_off,active) * Number of discrete states: 2 (active,t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.142e-05/0.08893, allocations: 95.25 kB / 383.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.08909, allocations: 63.98 kB / 383.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0891, allocations: 0 / 383.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.599e-05/0.08917, allocations: 23.98 kB / 383.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.08931, allocations: 7.938 kB / 383.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.08961, allocations: 162.5 kB / 383.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.08987, allocations: 0.677 MB / 384.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.0899, allocations: 7.438 kB / 384.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08991, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of Templates: time 0.001849/0.09176, allocations: 0.6891 MB / 385 MB, free: 11.43 MB / 286.1 MB make -j1 -f MEV_MEV.Controls.PatientController.makefile make -j1 -f MEV_MEV.Controls.PatientController.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.Controls.PatientControllerCalcHelperMain.o OMCppMEV_MEV.Controls.PatientControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Controls.PatientControllerCalcHelperMain.o] Error 1