Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 90.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 177.6 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04608/0.04608, allocations: 9.073 MB / 280.5 MB, free: 12.14 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005778/0.0005778, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1257, allocations: 49.18 MB / 389.6 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02216/0.1479, allocations: 18.88 MB / 408.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00976/0.1577, allocations: 9.558 MB / 418 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.1579, allocations: 0 / 418 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1592, allocations: 390.3 kB / 418.4 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000718/0.1599, allocations: 230.7 kB / 418.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01247/0.1724, allocations: 3.847 MB / 422.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005706/0.173, allocations: 389.8 kB / 422.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.173, allocations: 24.39 kB / 422.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.1734, allocations: 171.1 kB / 423 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1735, allocations: 99.53 kB / 423.1 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1736, allocations: 4 kB / 423.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.288/0.4615, allocations: 6.746 MB / 429.9 MB, free: 19.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.4617, allocations: 19.67 kB / 429.9 MB, free: 19.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.4621, allocations: 142.8 kB / 430 MB, free: 19.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00612/0.4682, allocations: 1.824 MB / 431.9 MB, free: 19.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4682, allocations: 0 / 431.9 MB, free: 19.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4682, allocations: 3 kB / 431.9 MB, free: 19.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.4682, allocations: 0 / 431.9 MB, free: 19.62 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003003/0.4712, allocations: 0.8024 MB / 432.7 MB, free: 19.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.4713, allocations: 9.312 kB / 432.7 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/0.4717, allocations: 58.88 kB / 432.7 MB, free: 19.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.472, allocations: 192.7 kB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.472, allocations: 6.531 kB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.472, allocations: 2.969 kB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.4725, allocations: 235.2 kB / 433.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4725, allocations: 1.875 kB / 433.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.4726, allocations: 4.312 kB / 433.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.4726, allocations: 11.44 kB / 433.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.4731, allocations: 229.1 kB / 433.4 MB, free: 18.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.4736, allocations: 351.1 kB / 433.8 MB, free: 18.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.4747, allocations: 356.4 kB / 434.1 MB, free: 18.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.4751, allocations: 260.2 kB / 434.4 MB, free: 18.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05067/0.5258, allocations: 27.88 MB / 462.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.5259, allocations: 35.22 kB / 462.3 MB, free: 10 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.286e-06/0.5259, allocations: 0 / 462.3 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.001379/0.5273, allocations: 0.6985 MB / 463 MB, free: 9.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.5274, allocations: 51.41 kB / 463 MB, free: 9.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.5275, allocations: 115.1 kB / 463.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.5276, allocations: 28.7 kB / 463.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.5276, allocations: 86.39 kB / 463.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.5278, allocations: 224.1 kB / 463.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.5279, allocations: 43.11 kB / 463.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5281, allocations: 341 kB / 463.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.5283, allocations: 177.7 kB / 464 MB, free: 9.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.5286, allocations: 181.9 kB / 464.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.5293, allocations: 438.1 kB / 464.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5293, allocations: 0 / 464.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007194/0.53, allocations: 488.3 kB / 465.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.53, allocations: 7.719 kB / 465.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5301, allocations: 6.406 kB / 465.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5301, allocations: 1.344 kB / 465.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.5303, allocations: 36.14 kB / 465.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5303, allocations: 1.438 kB / 465.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.5305, allocations: 34 kB / 465.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.5305, allocations: 9.172 kB / 465.2 MB, free: 9.012 MB / 334.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: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0001733/0.5307, allocations: 132.1 kB / 465.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.5308, allocations: 23.91 kB / 465.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.532, allocations: 0.7805 MB / 466.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.532, allocations: 19.3 kB / 466.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.532, allocations: 0 / 466.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.532, allocations: 0 / 466.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.5324, allocations: 435.8 kB / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5324, allocations: 0 / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5326, allocations: 27.03 kB / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5326, allocations: 1.375 kB / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.5326, allocations: 9.062 kB / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5326, allocations: 0 / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5326, allocations: 1.375 kB / 466.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.5335, allocations: 0.527 MB / 467.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5336, allocations: 126.4 kB / 467.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.5336, allocations: 5.672 kB / 467.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.5337, allocations: 15.2 kB / 467.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.5338, allocations: 15.52 kB / 467.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5338, allocations: 0 / 467.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.5339, allocations: 91.03 kB / 467.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5339, allocations: 0 / 467.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003576/0.5375, allocations: 0.7048 MB / 468.1 MB, free: 8.094 MB / 334.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: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003862/0.5414, allocations: 1.035 MB / 469.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007826/0.5422, allocations: 452.2 kB / 469.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5422, allocations: 0 / 469.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.5425, allocations: 251.5 kB / 469.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5438, allocations: 232 kB / 470 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.5448, allocations: 0.6895 MB / 470.7 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.5452, allocations: 0.7504 MB / 471.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.5452, allocations: 23.95 kB / 471.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5452, allocations: 1.312 kB / 471.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of Templates: time 0.03104/0.5763, allocations: 16.39 MB / 487.9 MB, free: 9.219 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile clang++ -std=c++14 NOTFOUND -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.setSatCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSatCalcHelperMain.o] Error 1