Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.0007389/0.0007389, allocations: 80.48 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.0007702/0.0007702, allocations: 173.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.8576/0.8576, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.0391/0.0391, allocations: 7.516 MB / 267.5 MB, free: 6.176 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.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 393 MB, free: 5.871 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.512e-05, allocations: 5.375 kB / 393 MB, free: 5.867 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01405/0.01407, allocations: 16.48 MB / 409.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007153/0.02122, allocations: 9.859 MB / 419.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.02133, allocations: 3.938 kB / 419.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.02137, allocations: 7.922 kB / 419.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.02211, allocations: 310.9 kB / 419.6 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.03225, allocations: 5.559 MB / 425.2 MB, free: 5.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.03245, allocations: 151.2 kB / 425.3 MB, free: 5.395 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.03249, allocations: 8 kB / 425.3 MB, free: 5.387 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.03277, allocations: 131.5 kB / 425.5 MB, free: 5.258 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.03284, allocations: 39.89 kB / 425.5 MB, free: 5.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.03286, allocations: 8 kB / 425.5 MB, free: 5.211 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007081/0.03994, allocations: 5.526 MB / 431.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.03997, allocations: 19.92 kB / 431.1 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.04003, allocations: 31.98 kB / 431.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.04558, allocations: 3.332 MB / 434.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.04558, allocations: 4 kB / 434.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04559, allocations: 0 / 434.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.04559, allocations: 4 kB / 434.4 MB, free: 12.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001259/0.04685, allocations: 0.7477 MB / 435.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.04689, allocations: 12.56 kB / 435.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.04705, allocations: 31.83 kB / 435.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.04727, allocations: 139.7 kB / 435.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.04728, allocations: 8 kB / 435.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.04729, allocations: 4 kB / 435.4 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.04751, allocations: 93.62 kB / 435.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.04752, allocations: 0 / 435.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.04753, allocations: 7.984 kB / 435.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.04754, allocations: 0 / 435.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.04775, allocations: 111.8 kB / 435.6 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.04808, allocations: 260.4 kB / 435.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.04835, allocations: 102.5 kB / 435.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.04846, allocations: 60.81 kB / 436 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008247/0.0567, allocations: 4.597 MB / 440.6 MB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.05673, allocations: 38.56 kB / 440.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.05673, allocations: 0 / 440.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005207/0.05725, allocations: 217.5 kB / 440.8 MB, free: 5.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.05728, allocations: 55.34 kB / 440.9 MB, free: 5.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.05736, allocations: 133.8 kB / 441 MB, free: 5.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.05738, allocations: 25.7 kB / 441.1 MB, free: 5.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.05742, allocations: 96.09 kB / 441.2 MB, free: 5.395 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.05745, allocations: 35.67 kB / 441.2 MB, free: 5.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.05748, allocations: 25.7 kB / 441.2 MB, free: 5.328 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.05756, allocations: 318.8 kB / 441.5 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.521e-05/0.05766, allocations: 47.95 kB / 441.6 MB, free: 4.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.05775, allocations: 55.88 kB / 441.6 MB, free: 4.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.05794, allocations: 104.8 kB / 441.7 MB, free: 4.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.05794, allocations: 0 / 441.7 MB, free: 4.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002303/0.05817, allocations: 149.5 kB / 441.9 MB, free: 4.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.05818, allocations: 7.469 kB / 441.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.05819, allocations: 0 / 441.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.0582, allocations: 0 / 441.9 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.05828, allocations: 31.97 kB / 441.9 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.05828, allocations: 7.938 kB / 441.9 MB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.05834, allocations: 19.94 kB / 441.9 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.05835, allocations: 3.984 kB / 441.9 MB, free: 4.582 MB / 410.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 prepare postOptimizeDAE: time 6.421e-05/0.05841, allocations: 122.4 kB / 442.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.05843, allocations: 15.89 kB / 442.1 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.05886, allocations: 407 kB / 442.5 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.05887, allocations: 7.984 kB / 442.5 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.05888, allocations: 3.938 kB / 442.5 MB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.05888, allocations: 0 / 442.5 MB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.05905, allocations: 221.5 kB / 442.7 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.05906, allocations: 0 / 442.7 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.05912, allocations: 31.97 kB / 442.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.05912, allocations: 0 / 442.7 MB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.05913, allocations: 7.984 kB / 442.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.05914, allocations: 0 / 442.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.05914, allocations: 0 / 442.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.05952, allocations: 456.6 kB / 443.2 MB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.05956, allocations: 31.83 kB / 443.2 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.05958, allocations: 0 / 443.2 MB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.05964, allocations: 15.98 kB / 443.2 MB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.05969, allocations: 15.97 kB / 443.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.0597, allocations: 3.938 kB / 443.3 MB, free: 3.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.05974, allocations: 109.5 kB / 443.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05974, allocations: 0 / 443.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008658/0.06061, allocations: 466.4 kB / 443.8 MB, free: 2.645 MB / 410.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001216/0.06183, allocations: 0.7655 MB / 444.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.06215, allocations: 207.8 kB / 444.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.06215, allocations: 0 / 444.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.06231, allocations: 155.8 kB / 444.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.06256, allocations: 32.08 kB / 445 MB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.06302, allocations: 395.6 kB / 445.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.06309, allocations: 107.2 kB / 445.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.06313, allocations: 20.48 kB / 445.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.06313, allocations: 0 / 445.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of Templates: time 0.1426/0.2058, allocations: 9.643 MB / 455.1 MB, free: 91.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4388:39: error: use of undeclared identifier 'MM_' 4388 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4389:25: error: use of undeclared identifier 'MM_' 4389 | f_.d_crit_ = division(MM_,9.411847733105218e-5,!_initial,"9.411847733105218e-5"); | ^ In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.cpp:33: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:208:3: error: use of undeclared identifier '_omcQ_24cse1_P_liq_' 208 | _omcQ_24cse1_P_liq_ = tmp455.liq_; | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:209:3: error: use of undeclared identifier '_omcQ_24cse1_P_vap_' 209 | _omcQ_24cse1_P_vap_ = tmp455.vap_; | ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.6206031730398536] Failed to read output from testmodel.py, exit status != 0: 0.2110321568325162 0.21723536599999996 0.17016015599999995 Calling exit ...