Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006629/0.006629, allocations: 99.77 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 190.5 kB / 16.79 MB, free: 6.254 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.516/1.516, allocations: 205.1 MB / 222.7 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04283/0.04283, allocations: 9.086 MB / 279.1 MB, free: 12.25 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.001261/0.001261, allocations: 59.92 kB / 338 MB, free: 25.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 48.17 MB / 386.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3869/0.4896, allocations: 144.1 MB / 0.5179 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4489/0.9386, allocations: 99.23 MB / 0.6148 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007044/0.9393, allocations: 6.188 kB / 0.6148 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.9428, allocations: 1.173 MB / 0.6159 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004894/0.9478, allocations: 1.476 MB / 0.6174 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0891/1.037, allocations: 25.11 MB / 0.6419 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/1.04, allocations: 1.83 MB / 0.6437 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/1.04, allocations: 91 kB / 0.6438 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01894/1.059, allocations: 9.371 MB / 0.6529 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/1.059, allocations: 394 kB / 0.6533 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/1.06, allocations: 21.25 kB / 0.6533 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07112/1.131, allocations: 32.3 MB / 0.6849 GB, free: 5.781 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002993/1.131, allocations: 103.9 kB / 0.685 GB, free: 5.711 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007621/1.132, allocations: 288.4 kB / 0.6852 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02453/1.156, allocations: 8.778 MB / 0.6938 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.156, allocations: 0 / 0.6938 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.57e-06/1.156, allocations: 0 / 0.6938 GB, free: 14.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/1.156, allocations: 3.938 kB / 0.6938 GB, free: 14.32 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008523/1.165, allocations: 2.663 MB / 0.6964 GB, free: 11.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.165, allocations: 12.02 kB / 0.6964 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/1.166, allocations: 83.34 kB / 0.6965 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/1.166, allocations: 328.2 kB / 0.6968 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/1.166, allocations: 32.66 kB / 0.6968 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/1.166, allocations: 32 kB / 0.6969 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/1.167, allocations: 0.5844 MB / 0.6974 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.167, allocations: 0 / 0.6974 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/1.167, allocations: 12 kB / 0.6975 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/1.167, allocations: 21.25 kB / 0.6975 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/1.169, allocations: 0.5213 MB / 0.698 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/1.171, allocations: 2.492 MB / 0.7004 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.172, allocations: 484.4 kB / 0.7009 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/1.173, allocations: 339.9 kB / 0.7012 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.402/1.575, allocations: 113.4 MB / 0.812 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.575, allocations: 36.34 kB / 0.812 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.945e-06/1.575, allocations: 0 / 0.812 GB, free: 305.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.006608/1.582, allocations: 2.429 MB / 0.8144 GB, free: 305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/1.582, allocations: 56.45 kB / 0.8144 GB, free: 305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/1.582, allocations: 257.3 kB / 0.8147 GB, free: 304.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/1.582, allocations: 33.73 kB / 0.8147 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/1.582, allocations: 191.6 kB / 0.8149 GB, free: 304.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/1.582, allocations: 266.6 kB / 0.8151 GB, free: 304.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.583, allocations: 100.8 kB / 0.8152 GB, free: 304.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/1.583, allocations: 353.3 kB / 0.8156 GB, free: 304.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/1.583, allocations: 277.5 kB / 0.8158 GB, free: 304 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/1.584, allocations: 398.9 kB / 0.8162 GB, free: 303.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/1.585, allocations: 0.7126 MB / 0.8169 GB, free: 303.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.585, allocations: 1.5 kB / 0.8169 GB, free: 303.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001714/1.587, allocations: 0.8224 MB / 0.8177 GB, free: 303 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.587, allocations: 8.781 kB / 0.8177 GB, free: 303 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.587, allocations: 3.438 kB / 0.8177 GB, free: 303 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/1.587, allocations: 80.31 kB / 0.8178 GB, free: 303 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/1.588, allocations: 108.9 kB / 0.8179 GB, free: 303 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04607/1.634, allocations: 13.3 MB / 0.8309 GB, free: 296 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/1.634, allocations: 42.16 kB / 0.8309 GB, free: 296 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/1.634, allocations: 19.89 kB / 0.831 GB, free: 296 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000265/1.635, allocations: 186.7 kB / 0.8311 GB, free: 295.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/1.635, allocations: 42.94 kB / 0.8312 GB, free: 295.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/1.637, allocations: 1.736 MB / 0.8329 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/1.637, allocations: 22.19 kB / 0.8329 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.637, allocations: 0 / 0.8329 GB, free: 294.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.638, allocations: 1.261 MB / 0.8341 GB, free: 293.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/1.64, allocations: 1.747 MB / 0.8358 GB, free: 292.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.64, allocations: 7.75 kB / 0.8358 GB, free: 292.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/1.64, allocations: 82.91 kB / 0.8359 GB, free: 292.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/1.641, allocations: 116.8 kB / 0.836 GB, free: 292.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/1.641, allocations: 7.969 kB / 0.836 GB, free: 292.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/1.642, allocations: 1.982 MB / 0.838 GB, free: 290.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.642, allocations: 0 / 0.838 GB, free: 290.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/1.644, allocations: 1.43 MB / 0.8394 GB, free: 289.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/1.644, allocations: 112.7 kB / 0.8395 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/1.644, allocations: 12.16 kB / 0.8395 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/1.644, allocations: 45.67 kB / 0.8395 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.644, allocations: 47.62 kB / 0.8396 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/1.644, allocations: 18.52 kB / 0.8396 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001805/1.644, allocations: 220.3 kB / 0.8398 GB, free: 289.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.644, allocations: 7.875 kB / 0.8398 GB, free: 289.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008273/1.653, allocations: 2.982 MB / 0.8427 GB, free: 288.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/1.667, allocations: 3.851 MB / 0.8465 GB, free: 285.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001823/1.668, allocations: 1.042 MB / 0.8475 GB, free: 284.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.668, allocations: 0 / 0.8475 GB, free: 284.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007217/1.669, allocations: 0.558 MB / 0.848 GB, free: 283.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/1.671, allocations: 384.1 kB / 0.8484 GB, free: 283.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/1.672, allocations: 1.465 MB / 0.8498 GB, free: 282 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/1.673, allocations: 0.8548 MB / 0.8507 GB, free: 281.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/1.673, allocations: 47.42 kB / 0.8507 GB, free: 281.1 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/1.673, allocations: 0 / 0.8507 GB, free: 281.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.08823/1.761, allocations: 74.55 MB / 0.9235 GB, free: 206.6 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.MediaTestModels.ButaneTestModel_pTCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pTCalcHelperMain.o] Error 1