Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.0008272, allocations: 97.02 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.0008716/0.0008716, allocations: 175 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.549/1.549, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.0115/0.0115, allocations: 1.92 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.0005267/0.0005268, allocations: 12 kB / 331.5 MB, free: 33.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09833, allocations: 48.09 MB / 379.6 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.003904/0.1023, allocations: 3.712 MB / 383.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1043, allocations: 1.002 MB / 384.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1045, allocations: 8 kB / 384.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1047, allocations: 59.5 kB / 384.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.1051, allocations: 214.2 kB / 384.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1055, allocations: 95.83 kB / 384.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005224/0.106, allocations: 0.5094 MB / 385.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.1063, allocations: 110.1 kB / 385.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1065, allocations: 159.3 kB / 385.5 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1067, allocations: 187.2 kB / 385.7 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.1068, allocations: 20 kB / 385.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1069, allocations: 43.97 kB / 385.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.1069, allocations: 59.7 kB / 385.8 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1071, allocations: 105.5 kB / 385.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.1074, allocations: 379 kB / 386.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1075, allocations: 0 / 386.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1075, allocations: 0 / 386.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1075, allocations: 3.938 kB / 386.3 MB, free: 10.52 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001241/0.1087, allocations: 0.6698 MB / 386.9 MB, free: 9.801 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1088, allocations: 8.031 kB / 386.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.014e-05/0.1089, allocations: 43.53 kB / 387 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.1092, allocations: 306.2 kB / 387.3 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.1093, allocations: 24.61 kB / 387.3 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.1093, allocations: 35.98 kB / 387.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005865/0.1099, allocations: 318 kB / 387.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.11, allocations: 0 / 387.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.11, allocations: 15.98 kB / 387.7 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.11, allocations: 8 kB / 387.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.1105, allocations: 270.4 kB / 387.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1124, allocations: 1.138 MB / 389.1 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.1131, allocations: 286.8 kB / 389.3 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.1133, allocations: 135.2 kB / 389.5 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.1134, allocations: 4 kB / 389.5 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.1138, allocations: 164.1 kB / 389.6 MB, free: 6.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=25): time 4.789e-06/0.1138, allocations: 4.094 kB / 389.6 MB, free: 6.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.002458/0.1163, allocations: 0.7216 MB / 390.4 MB, free: 6.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.1163, allocations: 55.41 kB / 390.4 MB, free: 6.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.1167, allocations: 345.7 kB / 390.8 MB, free: 5.785 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1168, allocations: 29.7 kB / 390.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.117, allocations: 204.2 kB / 391 MB, free: 5.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.117, allocations: 86.73 kB / 391.1 MB, free: 5.461 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.1171, allocations: 8 kB / 391.1 MB, free: 5.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1172, allocations: 342.8 kB / 391.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.1175, allocations: 99.95 kB / 391.5 MB, free: 5.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.1178, allocations: 161.4 kB / 391.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1181, allocations: 153.6 kB / 391.8 MB, free: 4.676 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1181, allocations: 4 kB / 391.8 MB, free: 4.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007368/0.1188, allocations: 407.8 kB / 392.2 MB, free: 4.258 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1189, allocations: 159.9 kB / 392.4 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.119, allocations: 8 kB / 392.4 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.1205, allocations: 224.6 kB / 392.6 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1207, allocations: 55.91 kB / 392.7 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007339/0.1214, allocations: 0.6927 MB / 393.4 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.1217, allocations: 39.67 kB / 393.4 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1217, allocations: 11.98 kB / 393.4 MB, free: 3.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.1217, allocations: 4 kB / 393.4 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009089/0.1227, allocations: 406.3 kB / 393.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1227, allocations: 7.938 kB / 393.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.123, allocations: 104.7 kB / 393.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1232, allocations: 51.91 kB / 394 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.1255, allocations: 1.894 MB / 395.9 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1257, allocations: 43.67 kB / 395.9 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1257, allocations: 8.062 kB / 395.9 MB, free: 372 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.126, allocations: 241.1 kB / 396.1 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.126, allocations: 35.53 kB / 396.2 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.127, allocations: 412.7 kB / 396.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.127, allocations: 4 kB / 396.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.127, allocations: 3.953 kB / 396.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.127, allocations: 0 / 396.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.1275, allocations: 393 kB / 397 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1275, allocations: 0 / 397 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1277, allocations: 39.97 kB / 397 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009952/0.1287, allocations: 200.7 kB / 397.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.1287, allocations: 8.188 kB / 397.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005894/0.1293, allocations: 0.7045 MB / 397.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1293, allocations: 7.969 kB / 397.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1304, allocations: 0.5129 MB / 398.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.1306, allocations: 156.6 kB / 398.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.1307, allocations: 8 kB / 398.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1308, allocations: 15.98 kB / 398.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.1309, allocations: 31.91 kB / 398.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.131, allocations: 7.938 kB / 398.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.1312, allocations: 247.2 kB / 398.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1312, allocations: 0 / 398.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005454/0.1318, allocations: 175.7 kB / 399.1 MB, free: 13.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.1319, allocations: 103.2 kB / 399.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.1336, allocations: 0.6848 MB / 399.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1337, allocations: 0 / 399.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.134, allocations: 148.3 kB / 400 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1345, allocations: 37.42 kB / 400 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1362, allocations: 1.038 MB / 401.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.1366, allocations: 0.7955 MB / 401.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.1367, allocations: 23.44 kB / 401.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1367, allocations: 0 / 401.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Templates: time 0.008213/0.1449, allocations: 5.397 MB / 407.3 MB, free: 4.734 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile make -j1 -f MEV_MEV.Test.TestStandardPatient.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.TestStandardPatientCalcHelperMain.o OMCppMEV_MEV.Test.TestStandardPatientCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestStandardPatientCalcHelperMain.o] Error 1