Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 98.56 kB / 16.02 MB, free: 76 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.001228/0.001228, allocations: 184.1 kB / 16.92 MB, free: 6.918 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.783/1.783, allocations: 205.4 MB / 223.1 MB, free: 5.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04855/0.04855, allocations: 9.071 MB / 280.5 MB, free: 12.38 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.0005179/0.0005179, allocations: 12.22 kB / 340.4 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 49.21 MB / 389.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.4174/0.5312, allocations: 128.8 MB / 0.5063 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4774/1.009, allocations: 111.5 MB / 0.6152 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/1.01, allocations: 9.625 kB / 0.6152 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003857/1.013, allocations: 1.175 MB / 0.6163 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004704/1.018, allocations: 1.471 MB / 0.6178 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08841/1.107, allocations: 25.15 MB / 0.6423 GB, free: 456 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/1.109, allocations: 1.847 MB / 0.6441 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/1.11, allocations: 93.61 kB / 0.6442 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02104/1.131, allocations: 9.36 MB / 0.6533 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/1.131, allocations: 383.7 kB / 0.6537 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/1.132, allocations: 20.16 kB / 0.6537 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07141/1.203, allocations: 31.45 MB / 0.6844 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000354/1.203, allocations: 95.64 kB / 0.6845 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008354/1.204, allocations: 311.1 kB / 0.6848 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0231/1.227, allocations: 8.429 MB / 0.6931 GB, free: 3.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/1.227, allocations: 8 kB / 0.6931 GB, free: 3.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.717e-06/1.227, allocations: 0 / 0.6931 GB, free: 3.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/1.227, allocations: 0 / 0.6931 GB, free: 3.488 MB / 478.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.009212/1.237, allocations: 2.483 MB / 0.6955 GB, free: 1.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.237, allocations: 8.031 kB / 0.6955 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/1.237, allocations: 97.23 kB / 0.6956 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/1.238, allocations: 337.2 kB / 0.6959 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/1.238, allocations: 28.22 kB / 0.6959 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/1.238, allocations: 35.56 kB / 0.696 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.239, allocations: 0.6126 MB / 0.6966 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.239, allocations: 3.938 kB / 0.6966 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/1.239, allocations: 15.94 kB / 0.6966 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/1.239, allocations: 10.58 kB / 0.6966 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.241, allocations: 0.5695 MB / 0.6972 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/1.244, allocations: 2.479 MB / 0.6996 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.245, allocations: 0.4918 MB / 0.7001 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/1.245, allocations: 353.2 kB / 0.7004 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5374/1.783, allocations: 135.8 MB / 0.833 GB, free: 262.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.556e-05/1.783, allocations: 38.75 kB / 0.8331 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 8.146e-06/1.783, allocations: 0 / 0.8331 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006556/1.789, allocations: 2.417 MB / 0.8354 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.79, allocations: 55.38 kB / 0.8355 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/1.79, allocations: 266.5 kB / 0.8357 GB, free: 261.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/1.79, allocations: 33.45 kB / 0.8358 GB, free: 261.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.79, allocations: 188.6 kB / 0.836 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.79, allocations: 266.3 kB / 0.8362 GB, free: 260.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/1.79, allocations: 57.44 kB / 0.8363 GB, free: 260.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.79, allocations: 354.6 kB / 0.8366 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/1.791, allocations: 283.1 kB / 0.8369 GB, free: 260.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/1.791, allocations: 410.7 kB / 0.8373 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/1.792, allocations: 0.7199 MB / 0.838 GB, free: 259.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.792, allocations: 0 / 0.838 GB, free: 259.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001409/1.794, allocations: 0.8254 MB / 0.8388 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.794, allocations: 11.86 kB / 0.8388 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.794, allocations: 3.938 kB / 0.8388 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/1.794, allocations: 65.39 kB / 0.8388 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/1.795, allocations: 144 kB / 0.839 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09459/1.89, allocations: 25.09 MB / 0.8635 GB, free: 239.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/1.89, allocations: 51.97 kB / 0.8635 GB, free: 239.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/1.89, allocations: 12 kB / 0.8635 GB, free: 239.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003008/1.89, allocations: 202.3 kB / 0.8637 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/1.891, allocations: 43.44 kB / 0.8638 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/1.892, allocations: 1.741 MB / 0.8655 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.893, allocations: 10.11 kB / 0.8655 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.893, allocations: 0 / 0.8655 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/1.894, allocations: 1.327 MB / 0.8668 GB, free: 235.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/1.896, allocations: 1.774 MB / 0.8685 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.896, allocations: 3.938 kB / 0.8685 GB, free: 233.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/1.896, allocations: 87.88 kB / 0.8686 GB, free: 233.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/1.897, allocations: 179.4 kB / 0.8688 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.897, allocations: 7.984 kB / 0.8688 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/1.898, allocations: 2.467 MB / 0.8712 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.898, allocations: 0 / 0.8712 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/1.9, allocations: 1.425 MB / 0.8726 GB, free: 229.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1.9, allocations: 137.5 kB / 0.8727 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/1.9, allocations: 8 kB / 0.8727 GB, free: 229.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/1.901, allocations: 51.88 kB / 0.8728 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.901, allocations: 35.94 kB / 0.8728 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/1.901, allocations: 15.98 kB / 0.8728 GB, free: 229.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002033/1.901, allocations: 223.1 kB / 0.873 GB, free: 229 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.403e-06/1.901, allocations: 4 kB / 0.873 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00999/1.911, allocations: 3.189 MB / 0.8762 GB, free: 226.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$cse8.phase,$cse9.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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01686/1.928, allocations: 4.142 MB / 0.8802 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.93, allocations: 1.038 MB / 0.8812 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.93, allocations: 6.234 kB / 0.8812 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000711/1.931, allocations: 0.5188 MB / 0.8817 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.933, allocations: 410.2 kB / 0.8821 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/1.935, allocations: 1.503 MB / 0.8836 GB, free: 219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/1.935, allocations: 0.8488 MB / 0.8844 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/1.935, allocations: 47.44 kB / 0.8845 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/1.935, allocations: 1.531 kB / 0.8845 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.108/2.043, allocations: 82.51 MB / 0.965 GB, free: 135.5 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModelCalcHelperMain.o] Error 1