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.0009465/0.0009466, allocations: 100.4 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.001441/0.001441, allocations: 172.2 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.545/1.545, allocations: 205.4 MB / 222.7 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04359/0.04359, allocations: 9.068 MB / 280.1 MB, free: 12.25 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.0005012/0.0005012, allocations: 12 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09678, allocations: 49.19 MB / 388.9 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.01964/0.1165, allocations: 16.55 MB / 405.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.1331, allocations: 15.97 MB / 421.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1333, allocations: 4 kB / 421.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.1341, allocations: 230.9 kB / 421.7 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.1346, allocations: 182.9 kB / 421.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01474/0.1493, allocations: 5.518 MB / 427.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.1497, allocations: 282.4 kB / 427.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.1498, allocations: 9.688 kB / 427.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.15, allocations: 115.4 kB / 427.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.1501, allocations: 63.73 kB / 427.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1501, allocations: 4 kB / 427.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2024/0.3526, allocations: 8.2 MB / 436.1 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.3527, allocations: 17.84 kB / 436.1 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3528, allocations: 59.83 kB / 436.1 MB, free: 19.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.358, allocations: 2.602 MB / 438.7 MB, free: 19.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.358, allocations: 1.406 kB / 438.7 MB, free: 19.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.358, allocations: 0 / 438.7 MB, free: 19.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.358, allocations: 1.531 kB / 438.7 MB, free: 19.58 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.002731/0.3608, allocations: 0.9866 MB / 439.7 MB, free: 18.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3608, allocations: 9.5 kB / 439.7 MB, free: 18.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.3609, allocations: 21.44 kB / 439.7 MB, free: 18.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.361, allocations: 178.5 kB / 439.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.361, allocations: 4.188 kB / 439.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.361, allocations: 3.875 kB / 439.9 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3613, allocations: 171.5 kB / 440.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3613, allocations: 0 / 440.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3613, allocations: 2.578 kB / 440.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3614, allocations: 9.391 kB / 440.1 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.3616, allocations: 124.1 kB / 440.2 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.3621, allocations: 0.5282 MB / 440.8 MB, free: 18.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3623, allocations: 141.2 kB / 440.9 MB, free: 18.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3625, allocations: 126.4 kB / 441 MB, free: 18.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1131/0.4756, allocations: 83.49 MB / 0.5122 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4756, allocations: 34.12 kB / 0.5123 GB, free: 11.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.424e-06/0.4757, allocations: 6.297 kB / 0.5123 GB, free: 11.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006389/0.4763, allocations: 374.9 kB / 0.5126 GB, free: 11.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4764, allocations: 59.41 kB / 0.5127 GB, free: 11.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.4765, allocations: 117.5 kB / 0.5128 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.4765, allocations: 25.7 kB / 0.5128 GB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.4765, allocations: 96.8 kB / 0.5129 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.254e-05/0.4766, allocations: 130.3 kB / 0.513 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.4767, allocations: 2.188 kB / 0.513 GB, free: 10.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4768, allocations: 328.6 kB / 0.5133 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4769, allocations: 91.08 kB / 0.5134 GB, free: 10.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.4771, allocations: 125.1 kB / 0.5135 GB, free: 10.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4773, allocations: 109.8 kB / 0.5137 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4773, allocations: 0 / 0.5137 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003945/0.4777, allocations: 275.4 kB / 0.5139 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4777, allocations: 6.5 kB / 0.5139 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4777, allocations: 4 kB / 0.5139 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4778, allocations: 6.875 kB / 0.5139 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.4778, allocations: 13.52 kB / 0.5139 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4778, allocations: 4 kB / 0.5139 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.478, allocations: 19.75 kB / 0.514 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.478, allocations: 7.984 kB / 0.514 GB, free: 9.852 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_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.4781, allocations: 125.5 kB / 0.5141 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.4782, allocations: 19.44 kB / 0.5141 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.4787, allocations: 329.6 kB / 0.5144 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4787, allocations: 6.172 kB / 0.5144 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4787, allocations: 4 kB / 0.5144 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4787, allocations: 0 / 0.5144 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.479, allocations: 263.4 kB / 0.5147 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.479, allocations: 4 kB / 0.5147 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.479, allocations: 11.98 kB / 0.5147 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4791, allocations: 0 / 0.5147 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4791, allocations: 4 kB / 0.5147 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4791, allocations: 0 / 0.5147 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4791, allocations: 0 / 0.5147 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.4795, allocations: 377.3 kB / 0.5151 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.4796, allocations: 109.8 kB / 0.5152 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.4797, allocations: 7.891 kB / 0.5152 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.4798, allocations: 6.688 kB / 0.5152 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.4798, allocations: 7.984 kB / 0.5152 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.4798, allocations: 8 kB / 0.5152 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.4799, allocations: 93.59 kB / 0.5153 GB, free: 8.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4799, allocations: 0 / 0.5153 GB, free: 8.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003922/0.4838, allocations: 1.108 MB / 0.5164 GB, free: 7.566 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 (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.004932/0.4888, allocations: 1.659 MB / 0.518 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.4892, allocations: 263.6 kB / 0.5182 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4892, allocations: 1.188 kB / 0.5182 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.4894, allocations: 153.1 kB / 0.5184 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008034/0.4902, allocations: 152.1 kB / 0.5185 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.4909, allocations: 439.9 kB / 0.519 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4912, allocations: 0.7211 MB / 0.5197 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.4913, allocations: 15.44 kB / 0.5197 GB, free: 4.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4913, allocations: 0 / 0.5197 GB, free: 4.52 MB / 398.1 MB Notification: Performance of Templates: time 0.03302/0.5243, allocations: 20.4 MB / 0.5396 GB, free: 264 kB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.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 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