Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002419/0.002419, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 207.6 MB / 231.9 MB, free: 3.223 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05276/0.05276, allocations: 9.158 MB / 293.1 MB, free: 6.16 MB / 238.1 MB [Timeout remaining time 90] 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.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") [Timeout 660] 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.002257/0.002257, allocations: 67.89 kB / 409.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3442, allocations: 50.71 MB / 460.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02359/0.3678, allocations: 18.16 MB / 478.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.3799, allocations: 11.09 MB / 489.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.38, allocations: 0 / 489.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.782e-05/0.38, allocations: 11.86 kB / 489.5 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3812, allocations: 374.2 kB / 489.9 MB, free: 9.637 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.3961, allocations: 5.519 MB / 495.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3963, allocations: 139.4 kB / 495.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3964, allocations: 8 kB / 495.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.3967, allocations: 95.5 kB / 495.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.3968, allocations: 51.77 kB / 495.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3968, allocations: 4 kB / 495.7 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01628/0.4131, allocations: 8.242 MB / 0.4921 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.4131, allocations: 23.92 kB / 0.4921 GB, free: 11.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.4132, allocations: 43.8 kB / 0.4922 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.4243, allocations: 3.398 MB / 0.4955 GB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4243, allocations: 4 kB / 0.4955 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4243, allocations: 0 / 0.4955 GB, free: 8.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.4243, allocations: 0 / 0.4955 GB, free: 8.078 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.002134/0.4264, allocations: 0.823 MB / 0.4963 GB, free: 7.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4265, allocations: 8.031 kB / 0.4963 GB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.4267, allocations: 19.88 kB / 0.4963 GB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.4269, allocations: 182.9 kB / 0.4965 GB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4269, allocations: 8 kB / 0.4965 GB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4269, allocations: 4 kB / 0.4965 GB, free: 6.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.4273, allocations: 101.5 kB / 0.4966 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4273, allocations: 0 / 0.4966 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4273, allocations: 4 kB / 0.4966 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4273, allocations: 3.938 kB / 0.4966 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.4278, allocations: 111.8 kB / 0.4967 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.4284, allocations: 312.8 kB / 0.497 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.4289, allocations: 102.5 kB / 0.4971 GB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.4291, allocations: 68.75 kB / 0.4972 GB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02654/0.4556, allocations: 15.93 MB / 0.5127 GB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.4557, allocations: 34.5 kB / 0.5128 GB, free: 3.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/0.4557, allocations: 0 / 0.5128 GB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001016/0.4567, allocations: 213.7 kB / 0.513 GB, free: 3.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4567, allocations: 59.34 kB / 0.513 GB, free: 3.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.4569, allocations: 133.4 kB / 0.5132 GB, free: 2.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4569, allocations: 29.7 kB / 0.5132 GB, free: 2.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.457, allocations: 88.14 kB / 0.5133 GB, free: 2.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.457, allocations: 35.69 kB / 0.5133 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.4571, allocations: 21.7 kB / 0.5133 GB, free: 2.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4572, allocations: 318.8 kB / 0.5136 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.4574, allocations: 51.95 kB / 0.5137 GB, free: 2.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.4576, allocations: 51.94 kB / 0.5137 GB, free: 2.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.458, allocations: 105.3 kB / 0.5138 GB, free: 2.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.458, allocations: 0 / 0.5138 GB, free: 2.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00046/0.4584, allocations: 153.4 kB / 0.514 GB, free: 2.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4585, allocations: 7.938 kB / 0.514 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4585, allocations: 0 / 0.514 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4585, allocations: 0 / 0.514 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4587, allocations: 39.91 kB / 0.514 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4587, allocations: 0 / 0.514 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.4588, allocations: 11.98 kB / 0.514 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4588, allocations: 7.984 kB / 0.514 GB, free: 2.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000109/0.4589, allocations: 117.8 kB / 0.5142 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.459, allocations: 15.84 kB / 0.5142 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007744/0.4597, allocations: 394.8 kB / 0.5145 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.4598, allocations: 11.97 kB / 0.5146 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4598, allocations: 3.938 kB / 0.5146 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4598, allocations: 0 / 0.5146 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.4601, allocations: 281.8 kB / 0.5148 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4601, allocations: 3.938 kB / 0.5148 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.4603, allocations: 31.97 kB / 0.5149 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4603, allocations: 7.938 kB / 0.5149 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4603, allocations: 0 / 0.5149 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4603, allocations: 0 / 0.5149 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4603, allocations: 0 / 0.5149 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.461, allocations: 432.1 kB / 0.5153 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.4611, allocations: 108.9 kB / 0.5154 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.4611, allocations: 12 kB / 0.5154 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4613, allocations: 11.98 kB / 0.5154 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4613, allocations: 15.92 kB / 0.5154 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4613, allocations: 0 / 0.5154 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.4614, allocations: 107.2 kB / 0.5155 GB, free: 428 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4614, allocations: 96 / 0.5155 GB, free: 428 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001614/0.463, allocations: 458.5 kB / 0.516 GB, free: 15.96 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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002622/0.4657, allocations: 0.7098 MB / 0.5167 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006043/0.4663, allocations: 199.8 kB / 0.5168 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4663, allocations: 0 / 0.5168 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.4666, allocations: 143.9 kB / 0.517 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.467, allocations: 27.41 kB / 0.517 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.4677, allocations: 387 kB / 0.5174 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.4681, allocations: 0.72 MB / 0.5181 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.4681, allocations: 15.44 kB / 0.5181 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4681, allocations: 0 / 0.5181 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.01765/0.4858, allocations: 9.513 MB / 0.5274 GB, free: 4.188 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile clang++ -std=c++17 -fopenmp=libomp -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.Ancillary_StartValuesCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4388:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4389:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); ^ In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp:33: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:208:3: error: use of undeclared identifier '_omcQ_24cse1_P_liq_' _omcQ_24cse1_P_liq_ = tmp455.liq_; ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:209:3: error: use of undeclared identifier '_omcQ_24cse1_P_vap_' _omcQ_24cse1_P_vap_ = tmp455.vap_; ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.o] Error 1