Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 219.1 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.0526/0.0526, allocations: 9.137 MB / 322.3 MB, free: 10.44 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.91 kB / 447.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1147, allocations: 54.94 MB / 0.491 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02235/0.1371, allocations: 17.03 MB / 0.5076 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1393, allocations: 1.873 MB / 0.5095 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.1393, allocations: 0 / 0.5095 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.14, allocations: 291.8 kB / 0.5097 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.1401, allocations: 31.83 kB / 0.5098 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008141/0.1482, allocations: 2.968 MB / 0.5127 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1484, allocations: 55.67 kB / 0.5127 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.1484, allocations: 3.984 kB / 0.5127 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.1485, allocations: 27.88 kB / 0.5128 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.1486, allocations: 15.92 kB / 0.5128 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.1486, allocations: 4 kB / 0.5128 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2616/0.4102, allocations: 5.308 MB / 0.518 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.4102, allocations: 0.5312 kB / 0.518 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.4103, allocations: 19.44 kB / 0.518 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.415, allocations: 1.995 MB / 0.5199 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.415, allocations: 1.312 kB / 0.5199 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.415, allocations: 0 / 0.5199 GB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.415, allocations: 1.094 kB / 0.5199 GB, free: 12.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001074/0.4161, allocations: 442.6 kB / 0.5203 GB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4161, allocations: 12.25 kB / 0.5204 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.4161, allocations: 6.141 kB / 0.5204 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.4162, allocations: 115 kB / 0.5205 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4162, allocations: 0 / 0.5205 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.4162, allocations: 0 / 0.5205 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.4164, allocations: 44.91 kB / 0.5205 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4164, allocations: 0 / 0.5205 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.4164, allocations: 4.344 kB / 0.5205 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4164, allocations: 1.266 kB / 0.5205 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.4164, allocations: 21.03 kB / 0.5205 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.4166, allocations: 132.9 kB / 0.5207 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.4166, allocations: 28.06 kB / 0.5207 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.4166, allocations: 16.69 kB / 0.5207 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02433/0.4409, allocations: 5.709 MB / 0.5263 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.441, allocations: 36.92 kB / 0.5263 GB, free: 11.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.441, allocations: 0 / 0.5263 GB, free: 11.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002235/0.4412, allocations: 79.52 kB / 0.5264 GB, free: 11.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4412, allocations: 56.94 kB / 0.5265 GB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.4413, allocations: 94.48 kB / 0.5265 GB, free: 11.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.4413, allocations: 27.45 kB / 0.5266 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.4413, allocations: 84.3 kB / 0.5266 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.4414, allocations: 25.83 kB / 0.5267 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.4414, allocations: 15.38 kB / 0.5267 GB, free: 10.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.4414, allocations: 312.3 kB / 0.527 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.4415, allocations: 19.28 kB / 0.527 GB, free: 10.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.4415, allocations: 17.31 kB / 0.527 GB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.4415, allocations: 37.16 kB / 0.5271 GB, free: 10.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4415, allocations: 0 / 0.5271 GB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.554e-05/0.4416, allocations: 64.36 kB / 0.5271 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4416, allocations: 5.562 kB / 0.5271 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4416, allocations: 0 / 0.5271 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4417, allocations: 0 / 0.5271 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.4417, allocations: 7.625 kB / 0.5271 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.4417, allocations: 0 / 0.5271 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.4417, allocations: 5.062 kB / 0.5271 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4417, allocations: 4.969 kB / 0.5271 GB, free: 10.57 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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.273e-05/0.4417, allocations: 111.4 kB / 0.5272 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.4418, allocations: 10.11 kB / 0.5273 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.4419, allocations: 171.5 kB / 0.5274 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.093e-05/0.4419, allocations: 184.6 kB / 0.5276 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/0.4419, allocations: 181.4 kB / 0.5278 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.442, allocations: 180.9 kB / 0.5279 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.4421, allocations: 380.3 kB / 0.5283 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.4421, allocations: 106.2 kB / 0.5284 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.4421, allocations: 105 kB / 0.5285 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.181e-05/0.4422, allocations: 183.2 kB / 0.5287 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4422, allocations: 177.3 kB / 0.5288 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.693e-05/0.4422, allocations: 189.5 kB / 0.529 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-05/0.4422, allocations: 186.9 kB / 0.5292 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.278e-05/0.4423, allocations: 303.5 kB / 0.5295 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.4423, allocations: 111.6 kB / 0.5296 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.4424, allocations: 181.8 kB / 0.5298 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.4425, allocations: 109.3 kB / 0.5299 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.4425, allocations: 181.7 kB / 0.5301 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4425, allocations: 105.9 kB / 0.5302 GB, free: 7.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.4425, allocations: 100 kB / 0.5302 GB, free: 7.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4425, allocations: 0 / 0.5302 GB, free: 7.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001903/0.4444, allocations: 397.2 kB / 0.5306 GB, free: 7.25 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001924/0.4464, allocations: 0.7274 MB / 0.5313 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.345e-05/0.4465, allocations: 21.77 kB / 0.5314 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4465, allocations: 0 / 0.5314 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.4465, allocations: 1.375 kB / 0.5314 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4469, allocations: 493 kB / 0.5318 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/0.4472, allocations: 226.6 kB / 0.532 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.4473, allocations: 0.6796 MB / 0.5327 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.4473, allocations: 10.06 kB / 0.5327 GB, free: 5.605 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4473, allocations: 0 / 0.5327 GB, free: 5.605 MB / 382.1 MB Notification: Performance of Templates: time 0.01798/0.4653, allocations: 9.339 MB / 0.5418 GB, free: 2.824 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.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.Parameter.State_Ts_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterFunctions.cpp:5063:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterFunctions.cpp:5064:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); ^ 2 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.334937676903792] Failed to read output from testmodel.py, exit status != 0: 0.4732647710479796 0.48575575899999995 0.06747951999999995 Calling exit ...