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.001403/0.001403, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001517/0.001517, allocations: 212.5 kB / 22.99 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.05139/0.05139, allocations: 9.148 MB / 322.3 MB, free: 10.24 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.002078/0.002078, allocations: 67.89 kB / 447.8 MB, free: 124 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.132, allocations: 54.93 MB / 0.4909 GB, free: 9.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02274/0.1547, allocations: 15.4 MB / 0.506 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007423/0.1622, allocations: 5.152 MB / 0.511 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.1622, allocations: 0 / 0.511 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008225/0.163, allocations: 223.9 kB / 0.5112 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.1631, allocations: 31.83 kB / 0.5112 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2788/0.4419, allocations: 4.239 MB / 0.5154 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.442, allocations: 49.39 kB / 0.5154 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.442, allocations: 1.406 kB / 0.5154 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4421, allocations: 35.12 kB / 0.5154 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/0.4422, allocations: 10.17 kB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.4422, allocations: 0.9375 kB / 0.5155 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008481/0.4507, allocations: 4.67 MB / 0.52 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.4507, allocations: 7.125 kB / 0.52 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.4507, allocations: 13.98 kB / 0.52 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005078/0.4558, allocations: 2.297 MB / 0.5223 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4558, allocations: 3.281 kB / 0.5223 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4558, allocations: 0 / 0.5223 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.4558, allocations: 0.8438 kB / 0.5223 GB, free: 11.06 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.001335/0.4571, allocations: 0.556 MB / 0.5228 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4572, allocations: 9.812 kB / 0.5228 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.4572, allocations: 10.33 kB / 0.5228 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.4573, allocations: 106.7 kB / 0.523 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4573, allocations: 1 kB / 0.523 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.4573, allocations: 3.844 kB / 0.523 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.586e-05/0.4574, allocations: 43.81 kB / 0.523 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4574, allocations: 0 / 0.523 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4574, allocations: 5.188 kB / 0.523 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4574, allocations: 1.547 kB / 0.523 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.4575, allocations: 16.81 kB / 0.523 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.4576, allocations: 107.5 kB / 0.5231 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.4576, allocations: 30 kB / 0.5232 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.4577, allocations: 19.7 kB / 0.5232 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.4725, allocations: 3.024 MB / 0.5261 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4726, allocations: 36.66 kB / 0.5262 GB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.275e-06/0.4726, allocations: 0 / 0.5262 GB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002071/0.4728, allocations: 79.14 kB / 0.5262 GB, free: 10.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.4728, allocations: 52.56 kB / 0.5263 GB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.4729, allocations: 99.39 kB / 0.5264 GB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.4729, allocations: 31.39 kB / 0.5264 GB, free: 9.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.4729, allocations: 81.36 kB / 0.5265 GB, free: 9.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.4729, allocations: 23.72 kB / 0.5265 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.4729, allocations: 13.38 kB / 0.5265 GB, free: 9.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.473, allocations: 319.2 kB / 0.5268 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.473, allocations: 10 kB / 0.5268 GB, free: 9.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.473, allocations: 17.5 kB / 0.5269 GB, free: 9.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.338e-05/0.4731, allocations: 35.55 kB / 0.5269 GB, free: 9.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4731, allocations: 0 / 0.5269 GB, free: 9.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.712e-05/0.4731, allocations: 58.16 kB / 0.5269 GB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4732, allocations: 8.719 kB / 0.527 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4732, allocations: 5.938 kB / 0.527 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4732, allocations: 1.094 kB / 0.527 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.4732, allocations: 0.875 kB / 0.527 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.4732, allocations: 6.625 kB / 0.527 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.4732, allocations: 0.6562 kB / 0.527 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.4732, allocations: 1.438 kB / 0.527 GB, free: 9.5 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.218e-05/0.4733, allocations: 110.9 kB / 0.5271 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.4733, allocations: 9.266 kB / 0.5271 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.4734, allocations: 173.4 kB / 0.5272 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.4734, allocations: 184.1 kB / 0.5274 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.4735, allocations: 185.5 kB / 0.5276 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.844e-05/0.4735, allocations: 181.9 kB / 0.5278 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.4736, allocations: 366.3 kB / 0.5281 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.4736, allocations: 104.4 kB / 0.5282 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.4736, allocations: 108.3 kB / 0.5283 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.72e-05/0.4737, allocations: 178 kB / 0.5285 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.4737, allocations: 184.9 kB / 0.5287 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.694e-05/0.4737, allocations: 177.6 kB / 0.5288 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.088e-05/0.4738, allocations: 186.2 kB / 0.529 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.077e-05/0.4738, allocations: 301.8 kB / 0.5293 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.4739, allocations: 118 kB / 0.5294 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.4739, allocations: 184.4 kB / 0.5296 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.222e-05/0.474, allocations: 106.3 kB / 0.5297 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.474, allocations: 179.4 kB / 0.5299 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.474, allocations: 107.5 kB / 0.53 GB, free: 6.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.4741, allocations: 101.1 kB / 0.5301 GB, free: 6.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4741, allocations: 0 / 0.5301 GB, free: 6.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002435/0.4765, allocations: 0.6094 MB / 0.5307 GB, free: 6.172 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.002522/0.479, allocations: 1.04 MB / 0.5317 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.274e-05/0.4791, allocations: 19.42 kB / 0.5317 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4791, allocations: 0 / 0.5317 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-06/0.4791, allocations: 3.562 kB / 0.5317 GB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.4796, allocations: 492.6 kB / 0.5322 GB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.4799, allocations: 232 kB / 0.5324 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.4799, allocations: 67.3 kB / 0.5325 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.4799, allocations: 10.06 kB / 0.5325 GB, free: 5.094 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4799, allocations: 0.9062 kB / 0.5325 GB, free: 5.094 MB / 382.1 MB Notification: Performance of Templates: time 0.02205/0.502, allocations: 13 MB / 0.5452 GB, free: 284 kB / 382.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 -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_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.48001206619665] Failed to read output from testmodel.py, exit status != 0: 0.509361004922539 0.522614277 0.063575429 Calling exit ...