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.00142/0.00142, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001575/0.001575, allocations: 222.6 kB / 23 MB, free: 4.914 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.05193/0.05193, allocations: 9.135 MB / 322.3 MB, free: 10.34 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.002025/0.002025, allocations: 68.03 kB / 447.8 MB, free: 392 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 54.95 MB / 0.4909 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02187/0.1263, allocations: 16.48 MB / 0.507 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2252/0.3515, allocations: 9.85 MB / 0.5166 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3516, allocations: 4.094 kB / 0.5166 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.798e-05/0.3517, allocations: 12.88 kB / 0.5167 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000751/0.3524, allocations: 302.4 kB / 0.5169 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.365, allocations: 5.482 MB / 0.5223 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.3652, allocations: 146.6 kB / 0.5224 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.3653, allocations: 4.422 kB / 0.5224 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.3656, allocations: 97.94 kB / 0.5225 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.3657, allocations: 46.3 kB / 0.5226 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3657, allocations: 6.719 kB / 0.5226 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.3767, allocations: 5.496 MB / 0.528 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3768, allocations: 11.67 kB / 0.528 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.559e-05/0.3769, allocations: 39.5 kB / 0.528 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007905/0.3848, allocations: 2.841 MB / 0.5308 GB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3848, allocations: 1.469 kB / 0.5308 GB, free: 6.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3848, allocations: 0 / 0.5308 GB, free: 6.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3848, allocations: 0 / 0.5308 GB, free: 6.703 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.001826/0.3866, allocations: 0.7531 MB / 0.5315 GB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3867, allocations: 13.97 kB / 0.5315 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.3869, allocations: 20.14 kB / 0.5315 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3871, allocations: 140.8 kB / 0.5317 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3871, allocations: 12.92 kB / 0.5317 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3872, allocations: 3.844 kB / 0.5317 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.3875, allocations: 96.23 kB / 0.5318 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3875, allocations: 0.5625 kB / 0.5318 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3875, allocations: 4.5 kB / 0.5318 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3875, allocations: 5 kB / 0.5318 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.388, allocations: 102.8 kB / 0.5319 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.3884, allocations: 265.4 kB / 0.5322 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3887, allocations: 98.36 kB / 0.5322 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3889, allocations: 66.8 kB / 0.5323 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01667/0.4056, allocations: 4.604 MB / 0.5368 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4056, allocations: 39.28 kB / 0.5368 GB, free: 4.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.4056, allocations: 1.219 kB / 0.5368 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008702/0.4065, allocations: 212.4 kB / 0.537 GB, free: 4.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.4065, allocations: 57.69 kB / 0.5371 GB, free: 4.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.4066, allocations: 139.7 kB / 0.5372 GB, free: 4.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4066, allocations: 26.83 kB / 0.5373 GB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.4067, allocations: 95 kB / 0.5373 GB, free: 4.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.4067, allocations: 29.25 kB / 0.5374 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.4067, allocations: 31.84 kB / 0.5374 GB, free: 4.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.4068, allocations: 317.7 kB / 0.5377 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.407, allocations: 46.58 kB / 0.5378 GB, free: 4.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.4071, allocations: 54.14 kB / 0.5378 GB, free: 4.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.4075, allocations: 109.3 kB / 0.5379 GB, free: 4.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4075, allocations: 0 / 0.5379 GB, free: 4.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003891/0.4078, allocations: 148.9 kB / 0.5381 GB, free: 3.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4079, allocations: 5.969 kB / 0.5381 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4079, allocations: 3.984 kB / 0.5381 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4079, allocations: 1.031 kB / 0.5381 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.408, allocations: 30.81 kB / 0.5381 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.408, allocations: 5.062 kB / 0.5381 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.4082, allocations: 17.27 kB / 0.5381 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4082, allocations: 5.094 kB / 0.5381 GB, free: 3.965 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 6.026e-05/0.4082, allocations: 117.6 kB / 0.5382 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4083, allocations: 9.547 kB / 0.5382 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.409, allocations: 408.1 kB / 0.5386 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.409, allocations: 2.031 kB / 0.5386 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.409, allocations: 7.875 kB / 0.5386 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.409, allocations: 4.75 kB / 0.5386 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.4092, allocations: 225.7 kB / 0.5389 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.4092, allocations: 0 / 0.5389 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4094, allocations: 31.03 kB / 0.5389 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4094, allocations: 1.375 kB / 0.5389 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4094, allocations: 5 kB / 0.5389 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4094, allocations: 0 / 0.5389 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4094, allocations: 1.375 kB / 0.5389 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.41, allocations: 457 kB / 0.5393 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.41, allocations: 29.95 kB / 0.5394 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.41, allocations: 1.375 kB / 0.5394 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.4102, allocations: 19.22 kB / 0.5394 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.4102, allocations: 12.05 kB / 0.5394 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4102, allocations: 9.547 kB / 0.5394 GB, free: 3.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.4103, allocations: 107.4 kB / 0.5395 GB, free: 3.242 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4103, allocations: 0 / 0.5395 GB, free: 3.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001572/0.4119, allocations: 460.9 kB / 0.5399 GB, free: 3.133 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.001752/0.4136, allocations: 0.7082 MB / 0.5406 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.4141, allocations: 206.1 kB / 0.5408 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4141, allocations: 1.438 kB / 0.5408 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.4144, allocations: 151.3 kB / 0.541 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.4148, allocations: 26.84 kB / 0.541 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.4153, allocations: 409.2 kB / 0.5414 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.69e-05/0.4154, allocations: 113.2 kB / 0.5415 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.4154, allocations: 19.16 kB / 0.5415 GB, free: 2.445 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4154, allocations: 0 / 0.5415 GB, free: 2.445 MB / 382.1 MB Notification: Performance of Templates: time 0.01513/0.4305, allocations: 9.585 MB / 0.5509 GB, free: 13.5 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 -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.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.322892875876278] Failed to read output from testmodel.py, exit status != 0: 0.43790093809366226 0.453439958 0.065428214 Calling exit ...