Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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.001663/0.001663, allocations: 110 kB / 19.7 MB, free: 2.25 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.001793/0.001793, allocations: 221.7 kB / 23.01 MB, free: 5.082 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.05138/0.05138, allocations: 9.142 MB / 322.3 MB, free: 10.4 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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 59.91 kB / 447.8 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 54.95 MB / 0.491 GB, free: 9.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02165/0.1474, allocations: 17.05 MB / 0.5076 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.1542, allocations: 5.805 MB / 0.5133 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.1543, allocations: 4 kB / 0.5133 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.155, allocations: 299.7 kB / 0.5136 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.1551, allocations: 27.84 kB / 0.5136 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3043/0.4594, allocations: 4.347 MB / 0.5179 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.4595, allocations: 52.97 kB / 0.5179 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.21e-05/0.4596, allocations: 0 / 0.5179 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4597, allocations: 33.06 kB / 0.518 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.4598, allocations: 15 kB / 0.518 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4598, allocations: 0 / 0.518 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.4775, allocations: 7.318 MB / 0.5251 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.4776, allocations: 1.859 kB / 0.5251 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4777, allocations: 14.28 kB / 0.5251 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.4916, allocations: 2.863 MB / 0.5279 GB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.4916, allocations: 3 kB / 0.5279 GB, free: 9.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.218e-06/0.4916, allocations: 0 / 0.5279 GB, free: 9.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.4917, allocations: 0 / 0.5279 GB, free: 9.477 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.002562/0.4942, allocations: 0.566 MB / 0.5285 GB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4943, allocations: 10.84 kB / 0.5285 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.4943, allocations: 8.578 kB / 0.5285 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.48e-05/0.4944, allocations: 102.5 kB / 0.5286 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4944, allocations: 4.016 kB / 0.5286 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4944, allocations: 0 / 0.5286 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4945, allocations: 40.36 kB / 0.5286 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4945, allocations: 0.5 kB / 0.5286 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4946, allocations: 5.094 kB / 0.5286 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.4946, allocations: 0.8438 kB / 0.5286 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.4946, allocations: 14.09 kB / 0.5287 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.4947, allocations: 137.5 kB / 0.5288 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.4948, allocations: 31.39 kB / 0.5288 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.4948, allocations: 23.05 kB / 0.5288 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/0.5109, allocations: 3.006 MB / 0.5318 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.5109, allocations: 43.39 kB / 0.5318 GB, free: 8.504 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.706e-06/0.5109, allocations: 4 kB / 0.5318 GB, free: 8.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002441/0.5112, allocations: 79.69 kB / 0.5319 GB, free: 8.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5112, allocations: 52.41 kB / 0.532 GB, free: 8.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.5112, allocations: 97.02 kB / 0.532 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.5113, allocations: 25.7 kB / 0.5321 GB, free: 8.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.5113, allocations: 81.27 kB / 0.5321 GB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.5113, allocations: 22 kB / 0.5322 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.5113, allocations: 17.16 kB / 0.5322 GB, free: 8.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.5114, allocations: 316 kB / 0.5325 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/0.5114, allocations: 20.48 kB / 0.5325 GB, free: 7.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.5114, allocations: 10.59 kB / 0.5325 GB, free: 7.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.38e-05/0.5115, allocations: 38.02 kB / 0.5326 GB, free: 7.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5115, allocations: 1.438 kB / 0.5326 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.839e-05/0.5116, allocations: 67.58 kB / 0.5326 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5116, allocations: 12.06 kB / 0.5326 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5116, allocations: 1.094 kB / 0.5326 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5116, allocations: 64 / 0.5326 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.5116, allocations: 4 kB / 0.5326 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5116, allocations: 1.125 kB / 0.5326 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.5117, allocations: 1 kB / 0.5326 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.5117, allocations: 0 / 0.5326 GB, free: 7.777 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 6.191e-05/0.5117, allocations: 108 kB / 0.5327 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.5117, allocations: 12.2 kB / 0.5327 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.5119, allocations: 176.9 kB / 0.5329 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.5119, allocations: 185.2 kB / 0.5331 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/0.5119, allocations: 178 kB / 0.5333 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.512, allocations: 182.6 kB / 0.5334 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.5121, allocations: 380.6 kB / 0.5338 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/0.5122, allocations: 104.5 kB / 0.5339 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.5122, allocations: 108.6 kB / 0.534 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.541e-05/0.5122, allocations: 183.8 kB / 0.5342 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.5122, allocations: 182.9 kB / 0.5344 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-05/0.5123, allocations: 177.4 kB / 0.5345 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.469e-05/0.5123, allocations: 185.1 kB / 0.5347 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.5124, allocations: 315 kB / 0.535 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.5125, allocations: 107 kB / 0.5351 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.5125, allocations: 186.2 kB / 0.5353 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.5126, allocations: 101 kB / 0.5354 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.5126, allocations: 184 kB / 0.5356 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.5127, allocations: 105.7 kB / 0.5357 GB, free: 4.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.5127, allocations: 105.6 kB / 0.5358 GB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5127, allocations: 0 / 0.5358 GB, free: 4.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003143/0.5159, allocations: 0.6105 MB / 0.5363 GB, free: 4.363 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.005057/0.5209, allocations: 1.037 MB / 0.5374 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.521, allocations: 20.09 kB / 0.5374 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.521, allocations: 0 / 0.5374 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.521, allocations: 1.094 kB / 0.5374 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.5215, allocations: 493.2 kB / 0.5379 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.5218, allocations: 238 kB / 0.5381 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.5222, allocations: 0.6792 MB / 0.5387 GB, free: 18.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.5222, allocations: 13.72 kB / 0.5388 GB, free: 18.55 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5222, allocations: 1.125 kB / 0.5388 GB, free: 18.55 MB / 398.1 MB Notification: Performance of Templates: time 0.0261/0.5483, allocations: 12.98 MB / 0.5514 GB, free: 12.13 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6918:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6919:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6973:39: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6974:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.6459932270227] Failed to read output from testmodel.py, exit status != 0: 0.5569409149466082 0.5726908230000001 0.077518586 Calling exit ...