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.0009282/0.0009282, allocations: 98.88 kB / 16.02 MB, free: 76 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.001236/0.001235, allocations: 182.9 kB / 16.92 MB, free: 6.895 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.828/1.828, allocations: 205.4 MB / 223.1 MB, free: 5.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04639/0.04639, allocations: 9.075 MB / 280.5 MB, free: 12.38 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.0005209/0.0005209, allocations: 16.73 kB / 340.4 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 49.19 MB / 389.6 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02173/0.1387, allocations: 17.64 MB / 407.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.1553, allocations: 17.27 MB / 424.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.1556, allocations: 0 / 424.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.1565, allocations: 246.9 kB / 424.7 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.157, allocations: 194.9 kB / 424.9 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2879/0.4449, allocations: 5.828 MB / 430.7 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.4455, allocations: 290 kB / 431 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.4455, allocations: 11.42 kB / 431 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.4458, allocations: 120 kB / 431.2 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.446, allocations: 66.83 kB / 431.2 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.446, allocations: 4.047 kB / 431.2 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02483/0.4708, allocations: 9.227 MB / 440.4 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.471, allocations: 18.03 kB / 440.5 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.4713, allocations: 109.2 kB / 440.6 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.4789, allocations: 2.553 MB / 443.1 MB, free: 17.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4789, allocations: 2.188 kB / 443.1 MB, free: 17.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4789, allocations: 0 / 443.1 MB, free: 17.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.479, allocations: 1.875 kB / 443.1 MB, free: 17.25 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.003913/0.4829, allocations: 0.9761 MB / 444.1 MB, free: 16.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4829, allocations: 10.69 kB / 444.1 MB, free: 16.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.483, allocations: 17.09 kB / 444.1 MB, free: 16.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4831, allocations: 183.5 kB / 444.3 MB, free: 16.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4832, allocations: 3 kB / 444.3 MB, free: 16.37 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.4832, allocations: 5.656 kB / 444.3 MB, free: 16.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.4835, allocations: 169 kB / 444.5 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4835, allocations: 1.875 kB / 444.5 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4835, allocations: 3.938 kB / 444.5 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4836, allocations: 9.438 kB / 444.5 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.4838, allocations: 118.1 kB / 444.6 MB, free: 16.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.4845, allocations: 0.5393 MB / 445.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.4847, allocations: 137.3 kB / 445.3 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.4849, allocations: 131 kB / 445.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1432/0.6281, allocations: 83.48 MB / 0.5165 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.6283, allocations: 36.69 kB / 0.5165 GB, free: 5.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.557e-06/0.6283, allocations: 1.641 kB / 0.5165 GB, free: 5.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008858/0.6292, allocations: 384.3 kB / 0.5169 GB, free: 5.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.6293, allocations: 59.34 kB / 0.517 GB, free: 5.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.6294, allocations: 122.8 kB / 0.5171 GB, free: 5.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.6295, allocations: 25.7 kB / 0.5171 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.6295, allocations: 89.03 kB / 0.5172 GB, free: 5.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6297, allocations: 137.8 kB / 0.5173 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.6297, allocations: 29.52 kB / 0.5173 GB, free: 5.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.6299, allocations: 325.8 kB / 0.5177 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.6301, allocations: 94.33 kB / 0.5177 GB, free: 4.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.6303, allocations: 127.8 kB / 0.5179 GB, free: 4.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.6306, allocations: 240.7 kB / 0.5181 GB, free: 4.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6307, allocations: 0 / 0.5181 GB, free: 4.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000435/0.6311, allocations: 277.3 kB / 0.5184 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6311, allocations: 8 kB / 0.5184 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.6312, allocations: 6.375 kB / 0.5184 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.6312, allocations: 1.266 kB / 0.5184 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.766e-05/0.6313, allocations: 17.73 kB / 0.5184 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6313, allocations: 0 / 0.5184 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.6314, allocations: 31.8 kB / 0.5184 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.6315, allocations: 4 kB / 0.5184 GB, free: 4.188 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.0001229/0.6316, allocations: 122.9 kB / 0.5185 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.6316, allocations: 15.81 kB / 0.5186 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.6322, allocations: 328.2 kB / 0.5189 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.6322, allocations: 8 kB / 0.5189 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.6322, allocations: 3.875 kB / 0.5189 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6322, allocations: 6.5 kB / 0.5189 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.6325, allocations: 257.7 kB / 0.5191 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.6325, allocations: 4 kB / 0.5191 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.6326, allocations: 7.984 kB / 0.5191 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.6326, allocations: 4 kB / 0.5192 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.6326, allocations: 3.938 kB / 0.5192 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6326, allocations: 3.938 kB / 0.5192 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6326, allocations: 4 kB / 0.5192 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.6331, allocations: 378.1 kB / 0.5195 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.6333, allocations: 108.7 kB / 0.5196 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.6333, allocations: 7.938 kB / 0.5196 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6334, allocations: 15.86 kB / 0.5196 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.6335, allocations: 6.844 kB / 0.5197 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.6335, allocations: 0 / 0.5197 GB, free: 3.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.6335, allocations: 96.62 kB / 0.5197 GB, free: 2.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6335, allocations: 0 / 0.5197 GB, free: 2.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004155/0.6377, allocations: 1.099 MB / 0.5208 GB, free: 1.895 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.005377/0.6431, allocations: 1.67 MB / 0.5225 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.6436, allocations: 257.8 kB / 0.5227 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6437, allocations: 0 / 0.5227 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.6439, allocations: 165.5 kB / 0.5229 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6449, allocations: 147.8 kB / 0.523 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.6456, allocations: 446.4 kB / 0.5234 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.6459, allocations: 0.7249 MB / 0.5241 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.646, allocations: 19.44 kB / 0.5241 GB, free: 14.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.243e-06/0.646, allocations: 0 / 0.5241 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Templates: time 0.03594/0.6819, allocations: 20.38 MB / 0.5441 GB, free: 10.34 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