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.001893/0.001893, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002349/0.002349, allocations: 215.8 kB / 23.01 MB, free: 4.566 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.05134/0.05134, allocations: 9.139 MB / 322.3 MB, free: 10.46 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.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 0.002004/0.002004, allocations: 67.89 kB / 447.8 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 54.94 MB / 0.491 GB, free: 9.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02323/0.1332, allocations: 18.24 MB / 0.5088 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2419/0.3751, allocations: 11.12 MB / 0.5197 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.3752, allocations: 0 / 0.5197 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.3752, allocations: 14.48 kB / 0.5197 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008427/0.3761, allocations: 366.1 kB / 0.52 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01436/0.3905, allocations: 5.587 MB / 0.5255 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.3907, allocations: 146.6 kB / 0.5256 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.3908, allocations: 7.375 kB / 0.5256 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3911, allocations: 97.92 kB / 0.5257 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3912, allocations: 51.83 kB / 0.5258 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3912, allocations: 5.469 kB / 0.5258 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.4061, allocations: 8.57 MB / 0.5342 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.4061, allocations: 11.8 kB / 0.5342 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.4062, allocations: 49.59 kB / 0.5342 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009941/0.4162, allocations: 3.42 MB / 0.5376 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4162, allocations: 0 / 0.5376 GB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4162, allocations: 1.156 kB / 0.5376 GB, free: 5.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.4162, allocations: 0 / 0.5376 GB, free: 5.516 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.002191/0.4184, allocations: 0.7609 MB / 0.5383 GB, free: 4.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4184, allocations: 9.656 kB / 0.5383 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.4187, allocations: 29.44 kB / 0.5383 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.4188, allocations: 139.8 kB / 0.5385 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4189, allocations: 9.531 kB / 0.5385 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4189, allocations: 2.188 kB / 0.5385 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.4192, allocations: 94.19 kB / 0.5386 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4192, allocations: 0 / 0.5386 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4192, allocations: 6.938 kB / 0.5386 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.4192, allocations: 4.969 kB / 0.5386 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.4196, allocations: 107.3 kB / 0.5387 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.42, allocations: 292.1 kB / 0.539 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.4204, allocations: 103.1 kB / 0.5391 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.4206, allocations: 62.92 kB / 0.5391 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01679/0.4374, allocations: 4.588 MB / 0.5436 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4374, allocations: 36 kB / 0.5436 GB, free: 2.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.4374, allocations: 3.938 kB / 0.5436 GB, free: 2.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008919/0.4383, allocations: 221 kB / 0.5439 GB, free: 2.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.4383, allocations: 52.72 kB / 0.5439 GB, free: 2.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4385, allocations: 133.3 kB / 0.544 GB, free: 2.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.4385, allocations: 26.8 kB / 0.5441 GB, free: 2.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.4385, allocations: 94.75 kB / 0.5441 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.4385, allocations: 30.39 kB / 0.5442 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.4386, allocations: 28.59 kB / 0.5442 GB, free: 2.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.4386, allocations: 324.5 kB / 0.5445 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.4388, allocations: 46.11 kB / 0.5446 GB, free: 1.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4389, allocations: 52.36 kB / 0.5446 GB, free: 1.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.4393, allocations: 112.8 kB / 0.5447 GB, free: 1.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4393, allocations: 0 / 0.5447 GB, free: 1.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003781/0.4396, allocations: 149 kB / 0.5449 GB, free: 1.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.4397, allocations: 9.234 kB / 0.5449 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4397, allocations: 3.656 kB / 0.5449 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4397, allocations: 5.75 kB / 0.5449 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.4398, allocations: 27.62 kB / 0.5449 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4398, allocations: 1.281 kB / 0.5449 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.44, allocations: 11.83 kB / 0.5449 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.44, allocations: 6.812 kB / 0.5449 GB, free: 1.699 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: 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 5.962e-05/0.44, allocations: 120.3 kB / 0.545 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.4401, allocations: 13.61 kB / 0.545 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.4407, allocations: 413 kB / 0.5454 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4407, allocations: 6.859 kB / 0.5454 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4408, allocations: 0 / 0.5454 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4408, allocations: 1.594 kB / 0.5454 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.441, allocations: 266.6 kB / 0.5457 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.441, allocations: 0 / 0.5457 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.4411, allocations: 36.09 kB / 0.5457 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4411, allocations: 0 / 0.5457 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4411, allocations: 12.69 kB / 0.5457 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4411, allocations: 5.094 kB / 0.5458 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4411, allocations: 0 / 0.5458 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.4417, allocations: 448.4 kB / 0.5462 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.4418, allocations: 32.2 kB / 0.5462 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4418, allocations: 0 / 0.5462 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4419, allocations: 21.19 kB / 0.5462 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.442, allocations: 7.453 kB / 0.5462 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.442, allocations: 6.438 kB / 0.5462 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.442, allocations: 104.8 kB / 0.5463 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.442, allocations: 4 kB / 0.5463 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001586/0.4436, allocations: 462.1 kB / 0.5468 GB, free: 0.5273 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: 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.001772/0.4454, allocations: 0.7123 MB / 0.5475 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005057/0.4459, allocations: 201.7 kB / 0.5477 GB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4459, allocations: 6.281 kB / 0.5477 GB, free: 144 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4461, allocations: 141.2 kB / 0.5478 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.4465, allocations: 33.34 kB / 0.5479 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.4472, allocations: 415 kB / 0.5482 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4475, allocations: 0.7215 MB / 0.549 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.4476, allocations: 16.56 kB / 0.549 GB, free: 15.04 MB / 398.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4476, allocations: 3.938 kB / 0.549 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Templates: time 0.01727/0.4649, allocations: 9.538 MB / 0.5583 GB, free: 8.254 MB / 398.1 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 -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.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_' f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValuesFunctions.cpp:4389:25: error: use of undeclared identifier 'MM_' 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_' _omcQ_24cse1_P_liq_ = tmp455.liq_; ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.cpp:209:3: error: use of undeclared identifier '_omcQ_24cse1_P_vap_' _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: 4.446803531027399] Failed to read output from testmodel.py, exit status != 0: 0.4728925549425185 0.489179629 0.06955082500000001 Calling exit ...