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.000799/0.000799, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008458/0.0008458, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.845/0.845, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] 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.02696/0.02696, allocations: 7.533 MB / 267.5 MB, free: 6.059 MB / 250.7 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 1.873e-06/1.873e-06, allocations: 0 / 393 MB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.756e-05, allocations: 6.219 kB / 393 MB, free: 5.879 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01363/0.01364, allocations: 15.36 MB / 408.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.01493, allocations: 1.667 MB / 410 MB, free: 4.781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.01496, allocations: 0 / 410 MB, free: 4.781 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.0154, allocations: 235.8 kB / 410.2 MB, free: 4.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.01543, allocations: 35.77 kB / 410.3 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.01986, allocations: 2.878 MB / 413.2 MB, free: 1.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.01993, allocations: 59.66 kB / 413.2 MB, free: 1.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.01997, allocations: 4 kB / 413.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.02004, allocations: 39.8 kB / 413.3 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.02006, allocations: 15.92 kB / 413.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.02007, allocations: 0 / 413.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.02339, allocations: 3.301 MB / 416.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.0234, allocations: 3.984 kB / 416.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.02342, allocations: 8 kB / 416.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.02561, allocations: 1.82 MB / 418.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.02561, allocations: 0 / 418.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.02562, allocations: 0 / 418.4 MB, free: 12.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.02562, allocations: 0 / 418.4 MB, free: 12.37 MB / 394.7 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.0004795/0.0261, allocations: 444.3 kB / 418.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.02613, allocations: 8.625 kB / 418.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.02616, allocations: 4 kB / 418.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.487e-05/0.02623, allocations: 113.1 kB / 419 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.02624, allocations: 0 / 419 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.02625, allocations: 11.88 kB / 419 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.789e-05/0.02633, allocations: 41.69 kB / 419 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.02633, allocations: 4 kB / 419 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.02634, allocations: 0 / 419 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.02635, allocations: 0 / 419 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.02636, allocations: 15.98 kB / 419 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.02647, allocations: 109.3 kB / 419.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.0265, allocations: 30.56 kB / 419.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.02652, allocations: 20.83 kB / 419.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.03748, allocations: 5.746 MB / 424.9 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.0375, allocations: 30.56 kB / 425 MB, free: 5.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.0375, allocations: 0 / 425 MB, free: 5.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001489/0.03765, allocations: 77.69 kB / 425 MB, free: 5.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.03768, allocations: 51.41 kB / 425.1 MB, free: 5.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.03773, allocations: 89.86 kB / 425.2 MB, free: 5.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.03774, allocations: 33.86 kB / 425.2 MB, free: 5.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.03776, allocations: 84.14 kB / 425.3 MB, free: 5.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.03779, allocations: 15.84 kB / 425.3 MB, free: 5.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.03781, allocations: 17.72 kB / 425.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.03788, allocations: 318.8 kB / 425.6 MB, free: 4.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.0379, allocations: 11.98 kB / 425.7 MB, free: 4.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.03791, allocations: 15.98 kB / 425.7 MB, free: 4.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.03795, allocations: 37.16 kB / 425.7 MB, free: 4.887 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.03795, allocations: 0 / 425.7 MB, free: 4.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.939e-05/0.038, allocations: 69.56 kB / 425.8 MB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.03801, allocations: 8.062 kB / 425.8 MB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.03801, allocations: 4 kB / 425.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.03803, allocations: 0 / 425.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.03803, allocations: 0 / 425.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.03803, allocations: 0 / 425.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.03804, allocations: 7.875 kB / 425.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.03805, allocations: 3.938 kB / 425.8 MB, free: 4.789 MB / 394.7 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.077e-05/0.03811, allocations: 114.5 kB / 425.9 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.03811, allocations: 7.922 kB / 425.9 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.03822, allocations: 175 kB / 426.1 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/0.03826, allocations: 180.2 kB / 426.3 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-05/0.0383, allocations: 188.2 kB / 426.4 MB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/0.03833, allocations: 176.3 kB / 426.6 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.03846, allocations: 368.8 kB / 427 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.03848, allocations: 105 kB / 427.1 MB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.0385, allocations: 105 kB / 427.2 MB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.832e-05/0.03854, allocations: 188.1 kB / 427.4 MB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.03858, allocations: 180.3 kB / 427.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.03861, allocations: 180.2 kB / 427.7 MB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002762/0.03889, allocations: 176.3 kB / 427.9 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.234e-05/0.03897, allocations: 311.8 kB / 428.2 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.039, allocations: 112.9 kB / 428.3 MB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.03905, allocations: 184.2 kB / 428.5 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.03909, allocations: 101 kB / 428.6 MB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.03913, allocations: 188.2 kB / 428.8 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.03915, allocations: 101 kB / 428.9 MB, free: 1.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.03919, allocations: 99.27 kB / 429 MB, free: 1.422 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03919, allocations: 0 / 429 MB, free: 1.422 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.03973, allocations: 394.8 kB / 429.3 MB, free: 1.035 MB / 394.7 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.001097/0.04083, allocations: 0.7761 MB / 430.1 MB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.863e-05/0.04089, allocations: 19.92 kB / 430.1 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.04089, allocations: 0 / 430.1 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.04089, allocations: 0 / 430.1 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.04122, allocations: 491.9 kB / 430.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.04144, allocations: 229.7 kB / 430.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.04148, allocations: 63.34 kB / 430.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/0.04149, allocations: 8.5 kB / 430.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.04149, allocations: 0 / 430.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of Templates: time 0.007559/0.04905, allocations: 9.405 MB / 440.3 MB, free: 5.992 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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_' 5063 | 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_' 5064 | 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: 2.5549094025045633] Failed to read output from testmodel.py, exit status != 0: 0.05412096809595823 0.21052965 0.18353474 Calling exit ...