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.001346/0.001346, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001593/0.001593, allocations: 220.8 kB / 22.99 MB, free: 4.914 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.05285/0.05285, allocations: 9.138 MB / 322.3 MB, free: 10.26 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.001961/0.001961, allocations: 63.89 kB / 447.8 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 54.95 MB / 0.4909 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01937/0.1247, allocations: 15.38 MB / 0.5059 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1267, allocations: 1.663 MB / 0.5076 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.468e-05/0.1267, allocations: 4 kB / 0.5076 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.1273, allocations: 231.9 kB / 0.5078 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.1274, allocations: 23.84 kB / 0.5078 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006828/0.1342, allocations: 2.873 MB / 0.5106 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.1343, allocations: 51.73 kB / 0.5107 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.1343, allocations: 0 / 0.5107 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.1344, allocations: 35.8 kB / 0.5107 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.1344, allocations: 12 kB / 0.5107 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-06/0.1345, allocations: 0 / 0.5107 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005528/0.14, allocations: 3.286 MB / 0.5139 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.14, allocations: 7.984 kB / 0.5139 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.14, allocations: 11.94 kB / 0.5139 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2104/0.3505, allocations: 1.541 MB / 0.5154 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3505, allocations: 1.062 kB / 0.5154 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3505, allocations: 2.781 kB / 0.5154 GB, free: 13.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3505, allocations: 0 / 0.5154 GB, free: 13.45 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.000953/0.3514, allocations: 438.5 kB / 0.5159 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3515, allocations: 16.47 kB / 0.5159 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3515, allocations: 4.516 kB / 0.5159 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.3516, allocations: 113.9 kB / 0.516 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3516, allocations: 0.9375 kB / 0.516 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.3516, allocations: 0 / 0.516 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3517, allocations: 45.53 kB / 0.516 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3517, allocations: 0 / 0.516 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3517, allocations: 2.5 kB / 0.516 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3517, allocations: 1.312 kB / 0.516 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.3518, allocations: 12.56 kB / 0.5161 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.3519, allocations: 112.7 kB / 0.5162 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.3519, allocations: 37.22 kB / 0.5162 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.352, allocations: 18.56 kB / 0.5162 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02211/0.3741, allocations: 5.72 MB / 0.5218 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3741, allocations: 33.98 kB / 0.5218 GB, free: 12.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.454e-06/0.3741, allocations: 4 kB / 0.5218 GB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002015/0.3743, allocations: 83.95 kB / 0.5219 GB, free: 12.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3743, allocations: 53.58 kB / 0.522 GB, free: 12.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.3744, allocations: 94.2 kB / 0.5221 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.3744, allocations: 27.08 kB / 0.5221 GB, free: 12.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.564e-05/0.3744, allocations: 83.52 kB / 0.5222 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.3744, allocations: 23.28 kB / 0.5222 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.3745, allocations: 17.08 kB / 0.5222 GB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.3745, allocations: 313.8 kB / 0.5225 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.3745, allocations: 13.53 kB / 0.5225 GB, free: 11.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.3746, allocations: 16.86 kB / 0.5225 GB, free: 11.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.3746, allocations: 37.14 kB / 0.5226 GB, free: 11.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3746, allocations: 3.938 kB / 0.5226 GB, free: 11.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.719e-05/0.3747, allocations: 64.55 kB / 0.5226 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3747, allocations: 6.391 kB / 0.5226 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3747, allocations: 0 / 0.5226 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3747, allocations: 1.031 kB / 0.5226 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.362e-06/0.3747, allocations: 0.75 kB / 0.5226 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3747, allocations: 1.656 kB / 0.5226 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.3747, allocations: 9.172 kB / 0.5226 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3747, allocations: 7.594 kB / 0.5227 GB, free: 11.92 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 4.466e-05/0.3748, allocations: 112.8 kB / 0.5228 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.3748, allocations: 9.438 kB / 0.5228 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.3749, allocations: 170.8 kB / 0.5229 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.3749, allocations: 178.8 kB / 0.5231 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.3749, allocations: 181.3 kB / 0.5233 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.375, allocations: 178.5 kB / 0.5234 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3751, allocations: 368.5 kB / 0.5238 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.3751, allocations: 107.3 kB / 0.5239 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.3751, allocations: 110.3 kB / 0.524 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.441e-05/0.3751, allocations: 182 kB / 0.5242 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.3752, allocations: 181.2 kB / 0.5244 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-05/0.3752, allocations: 178 kB / 0.5245 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.413e-05/0.3752, allocations: 183.2 kB / 0.5247 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.981e-05/0.3753, allocations: 310.8 kB / 0.525 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.3753, allocations: 107.2 kB / 0.5251 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.3753, allocations: 181.7 kB / 0.5253 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.3754, allocations: 109.4 kB / 0.5254 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.3754, allocations: 181.6 kB / 0.5255 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3754, allocations: 106.5 kB / 0.5256 GB, free: 8.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.596e-05/0.3755, allocations: 99.59 kB / 0.5257 GB, free: 8.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3755, allocations: 5.406 kB / 0.5257 GB, free: 8.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001018/0.3765, allocations: 396.8 kB / 0.5261 GB, free: 8.637 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.001534/0.378, allocations: 0.7164 MB / 0.5268 GB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.3781, allocations: 18.2 kB / 0.5268 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3781, allocations: 0 / 0.5268 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.3781, allocations: 4.203 kB / 0.5268 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3785, allocations: 491 kB / 0.5273 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.3788, allocations: 227.6 kB / 0.5275 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.3788, allocations: 64.17 kB / 0.5276 GB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.3789, allocations: 9.125 kB / 0.5276 GB, free: 7.621 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3789, allocations: 1.406 kB / 0.5276 GB, free: 7.621 MB / 382.1 MB Notification: Performance of Templates: time 0.0168/0.3957, allocations: 9.355 MB / 0.5367 GB, free: 6.332 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 -DOMC_BUILD -DUSE_THREAD -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.391737787052989] Failed to read output from testmodel.py, exit status != 0: 0.40257085300982 0.413330654 0.060550347000000004 Calling exit ...