Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 96.14 kB / 15.87 MB, free: 12 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.001042/0.001042, allocations: 196.2 kB / 16.79 MB, free: 6.828 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.1 MB / 222.6 MB, free: 4.832 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04471/0.04471, allocations: 9.089 MB / 279.1 MB, free: 12.44 MB / 238.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.001434/0.001434, allocations: 67.89 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 48.16 MB / 386.1 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02116/0.127, allocations: 18.15 MB / 404.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01935/0.1464, allocations: 17.45 MB / 421.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.1467, allocations: 3.938 kB / 421.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.1477, allocations: 254.9 kB / 422 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00058/0.1483, allocations: 190.9 kB / 422.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2524/0.4007, allocations: 5.815 MB / 428 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.4011, allocations: 283.7 kB / 428.3 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.4012, allocations: 13.41 kB / 428.3 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.4016, allocations: 120.6 kB / 428.4 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.4019, allocations: 69.09 kB / 428.5 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.4019, allocations: 2.594 kB / 428.5 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02129/0.4232, allocations: 9.221 MB / 437.7 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.56e-05/0.4233, allocations: 18.78 kB / 437.7 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.4236, allocations: 81.41 kB / 437.8 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.431, allocations: 2.566 MB / 440.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.431, allocations: 0.9062 kB / 440.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.431, allocations: 0 / 440.4 MB, free: 18.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.431, allocations: 2.094 kB / 440.4 MB, free: 18.02 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.003567/0.4346, allocations: 0.9901 MB / 441.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4347, allocations: 8.531 kB / 441.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.4347, allocations: 14.88 kB / 441.4 MB, free: 17.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.4349, allocations: 188.1 kB / 441.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4349, allocations: 4.281 kB / 441.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4349, allocations: 11.78 kB / 441.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.4352, allocations: 159.9 kB / 441.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4352, allocations: 0 / 441.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.4353, allocations: 10.06 kB / 441.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4353, allocations: 5.703 kB / 441.8 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.4355, allocations: 112.2 kB / 441.9 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.4362, allocations: 0.5251 MB / 442.4 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.4364, allocations: 130.7 kB / 442.5 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.4366, allocations: 126.8 kB / 442.6 MB, free: 16.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1361/0.5726, allocations: 85.21 MB / 0.5155 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5727, allocations: 34.56 kB / 0.5155 GB, free: 5.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.144e-06/0.5727, allocations: 0 / 0.5155 GB, free: 5.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.000788/0.5735, allocations: 371.6 kB / 0.5159 GB, free: 5.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5736, allocations: 51.41 kB / 0.5159 GB, free: 5.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5737, allocations: 124.2 kB / 0.516 GB, free: 5.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5738, allocations: 25.7 kB / 0.5161 GB, free: 5.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.5738, allocations: 87.55 kB / 0.5161 GB, free: 5.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.77e-05/0.5739, allocations: 139.3 kB / 0.5163 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.574, allocations: 44.56 kB / 0.5163 GB, free: 4.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5741, allocations: 322.8 kB / 0.5166 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.5743, allocations: 92.17 kB / 0.5167 GB, free: 4.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.5745, allocations: 125.5 kB / 0.5168 GB, free: 4.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.5748, allocations: 229.8 kB / 0.517 GB, free: 4.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5748, allocations: 0 / 0.517 GB, free: 4.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004113/0.5752, allocations: 272 kB / 0.5173 GB, free: 4.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5753, allocations: 6.344 kB / 0.5173 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5753, allocations: 4.953 kB / 0.5173 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5753, allocations: 4 kB / 0.5173 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.5754, allocations: 12.86 kB / 0.5173 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5754, allocations: 2.625 kB / 0.5173 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.5756, allocations: 21.66 kB / 0.5174 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.5756, allocations: 7.984 kB / 0.5174 GB, free: 3.988 MB / 398.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.5757, allocations: 117.8 kB / 0.5175 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.5758, allocations: 23.52 kB / 0.5175 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005497/0.5763, allocations: 313.5 kB / 0.5178 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.5764, allocations: 7.984 kB / 0.5178 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5764, allocations: 0 / 0.5178 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.5764, allocations: 4.625 kB / 0.5178 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.5767, allocations: 265.3 kB / 0.5181 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5767, allocations: 0 / 0.5181 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.5767, allocations: 11.98 kB / 0.5181 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.5768, allocations: 7.938 kB / 0.5181 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5768, allocations: 6.562 kB / 0.5181 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5768, allocations: 0 / 0.5181 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5768, allocations: 0 / 0.5181 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.5772, allocations: 358.8 kB / 0.5184 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.5773, allocations: 110.6 kB / 0.5185 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.5773, allocations: 7.938 kB / 0.5185 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5775, allocations: 4 kB / 0.5185 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.5775, allocations: 10.98 kB / 0.5186 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.5775, allocations: 0 / 0.5186 GB, free: 2.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.358e-05/0.5776, allocations: 96.58 kB / 0.5186 GB, free: 2.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5776, allocations: 0 / 0.5186 GB, free: 2.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004007/0.5816, allocations: 1.11 MB / 0.5197 GB, free: 1.492 MB / 398.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: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005196/0.5868, allocations: 1.665 MB / 0.5214 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.5873, allocations: 249.3 kB / 0.5216 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5873, allocations: 0 / 0.5216 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.5875, allocations: 153.4 kB / 0.5217 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.5884, allocations: 153.8 kB / 0.5219 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.589, allocations: 435.2 kB / 0.5223 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.5893, allocations: 0.725 MB / 0.523 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.5894, allocations: 15.44 kB / 0.523 GB, free: 14.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5894, allocations: 0 / 0.523 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Templates: time 0.03098/0.6204, allocations: 20.39 MB / 0.5429 GB, free: 9.922 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setStateCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setStateCalcHelperMain.o] Error 1