Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") translateModel(HelmholtzMedia.Examples.Parameter.setSat_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 96.14 kB / 15.87 MB, free: 16 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.001174/0.001174, allocations: 197.3 kB / 16.79 MB, free: 6.828 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.495/1.495, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04279/0.04279, allocations: 9.085 MB / 279.1 MB, free: 12.4 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.001306/0.001306, allocations: 59.92 kB / 338 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.111, allocations: 48.17 MB / 386.2 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.02318/0.1342, allocations: 19.17 MB / 405.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008969/0.1432, allocations: 7.622 MB / 412.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.1436, allocations: 3.938 kB / 412.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.1449, allocations: 395.2 kB / 413.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007553/0.1457, allocations: 230.7 kB / 413.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0127/0.1584, allocations: 3.542 MB / 417.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000507/0.1589, allocations: 354 kB / 417.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.159, allocations: 20.31 kB / 417.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.1593, allocations: 155.2 kB / 417.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1594, allocations: 83.55 kB / 417.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1594, allocations: 0 / 417.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.1718, allocations: 6.408 MB / 424.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.1719, allocations: 15.88 kB / 424.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002744/0.1722, allocations: 95.56 kB / 424.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.1759, allocations: 1.742 MB / 426 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1759, allocations: 0 / 426 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1759, allocations: 0 / 426 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1759, allocations: 0 / 426 MB, free: 1.754 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001302/0.1773, allocations: 0.7522 MB / 426.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1773, allocations: 12.03 kB / 426.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1774, allocations: 15.81 kB / 426.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1775, allocations: 182.7 kB / 426.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1775, allocations: 11.94 kB / 426.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1775, allocations: 0 / 426.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1778, allocations: 173 kB / 427.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1778, allocations: 0 / 427.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1778, allocations: 0 / 427.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1778, allocations: 3.984 kB / 427.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.178, allocations: 140.5 kB / 427.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.1783, allocations: 303.7 kB / 427.5 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2038/0.382, allocations: 205.6 kB / 427.7 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.3823, allocations: 187.3 kB / 427.9 MB, free: 47.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04632/0.4286, allocations: 28.59 MB / 456.5 MB, free: 21.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4287, allocations: 32.53 kB / 456.5 MB, free: 21.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=64): time 2.214e-06/0.4287, allocations: 4 kB / 456.5 MB, free: 21.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=64): time 0.0007759/0.4295, allocations: 0.5378 MB / 457.1 MB, free: 20.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4295, allocations: 54.69 kB / 457.1 MB, free: 20.74 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.4296, allocations: 93.89 kB / 457.2 MB, free: 20.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4296, allocations: 31.14 kB / 457.3 MB, free: 20.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.4296, allocations: 81.45 kB / 457.3 MB, free: 20.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4298, allocations: 205.1 kB / 457.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.4298, allocations: 37.7 kB / 457.6 MB, free: 20.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.43, allocations: 339.2 kB / 457.9 MB, free: 20 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4301, allocations: 133.2 kB / 458 MB, free: 19.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4302, allocations: 138.7 kB / 458.2 MB, free: 19.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4306, allocations: 332.4 kB / 458.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4306, allocations: 0 / 458.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003409/0.4309, allocations: 367.5 kB / 458.9 MB, free: 19.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.431, allocations: 5.344 kB / 458.9 MB, free: 19.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.431, allocations: 2.719 kB / 458.9 MB, free: 19.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.431, allocations: 1.406 kB / 458.9 MB, free: 19.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.431, allocations: 0 / 458.9 MB, free: 19.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.431, allocations: 4 kB / 458.9 MB, free: 19.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.4311, allocations: 28.66 kB / 458.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4311, allocations: 1.25 kB / 458.9 MB, free: 19.41 MB / 318.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.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * 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 9.13e-05/0.4312, allocations: 131.3 kB / 459 MB, free: 19.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.4312, allocations: 23.59 kB / 459 MB, free: 19.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.4317, allocations: 0.6968 MB / 459.7 MB, free: 18.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4318, allocations: 9.625 kB / 459.8 MB, free: 18.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4318, allocations: 1.812 kB / 459.8 MB, free: 18.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4318, allocations: 7.359 kB / 459.8 MB, free: 18.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.432, allocations: 287 kB / 460 MB, free: 18.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.432, allocations: 4.5 kB / 460 MB, free: 18.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.432, allocations: 0 / 460 MB, free: 18.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.432, allocations: 3.984 kB / 460.1 MB, free: 18.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.432, allocations: 3.938 kB / 460.1 MB, free: 18.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.432, allocations: 1.656 kB / 460.1 MB, free: 18.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.432, allocations: 2.156 kB / 460.1 MB, free: 18.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.4325, allocations: 321.5 kB / 460.4 MB, free: 18.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.4326, allocations: 102.4 kB / 460.5 MB, free: 18.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4326, allocations: 10.69 kB / 460.5 MB, free: 18.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.4327, allocations: 0 / 460.5 MB, free: 18.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.4327, allocations: 1.375 kB / 460.5 MB, free: 18.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.4327, allocations: 9.375 kB / 460.5 MB, free: 18.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.4328, allocations: 115.3 kB / 460.6 MB, free: 18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.4328, allocations: 0 / 460.6 MB, free: 18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002374/0.4352, allocations: 0.697 MB / 461.3 MB, free: 17.94 MB / 318.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: 6 (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 (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002283/0.4375, allocations: 1.016 MB / 462.3 MB, free: 17.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.4378, allocations: 302.1 kB / 462.6 MB, free: 17.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4378, allocations: 4 kB / 462.6 MB, free: 17.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.091e-05/0.4379, allocations: 139.1 kB / 462.8 MB, free: 17.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.439, allocations: 227.6 kB / 463 MB, free: 17.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/0.4395, allocations: 0.493 MB / 463.5 MB, free: 16.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.4397, allocations: 0.7359 MB / 464.2 MB, free: 16.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.4397, allocations: 15.09 kB / 464.2 MB, free: 16.1 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4397, allocations: 0 / 464.2 MB, free: 16.1 MB / 318.1 MB Notification: Performance of Templates: time 0.02004/0.4598, allocations: 15.81 MB / 480 MB, free: 0.7891 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.Parameter.setSat_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameterCalcHelperMain.o] Error 1