Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006242/0.006243, allocations: 99.8 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.00108/0.001079, allocations: 192.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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04332/0.04332, allocations: 9.077 MB / 279.1 MB, free: 12.27 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.001269/0.001269, allocations: 63.89 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 48.18 MB / 386.2 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3992/0.5033, allocations: 130.5 MB / 0.5046 GB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4148/0.9182, allocations: 113 MB / 0.6149 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.9189, allocations: 7.656 kB / 0.6149 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.9225, allocations: 1.187 MB / 0.616 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.9262, allocations: 1.474 MB / 0.6175 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08359/1.01, allocations: 24.87 MB / 0.6417 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002594/1.012, allocations: 1.835 MB / 0.6435 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/1.013, allocations: 101.8 kB / 0.6436 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009237/1.014, allocations: 0.5161 MB / 0.6441 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/1.014, allocations: 395.3 kB / 0.6445 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/1.014, allocations: 22.72 kB / 0.6445 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06832/1.082, allocations: 31.15 MB / 0.675 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/1.083, allocations: 105.9 kB / 0.6751 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000755/1.084, allocations: 286.4 kB / 0.6753 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02354/1.107, allocations: 8.369 MB / 0.6835 GB, free: 8.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.107, allocations: 0 / 0.6835 GB, free: 8.055 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/1.107, allocations: 4 kB / 0.6835 GB, free: 8.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/1.107, allocations: 4 kB / 0.6835 GB, free: 8.047 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.009757/1.117, allocations: 2.567 MB / 0.686 GB, free: 5.555 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.117, allocations: 12.02 kB / 0.686 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/1.118, allocations: 87.34 kB / 0.6861 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/1.118, allocations: 340.8 kB / 0.6864 GB, free: 5.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/1.118, allocations: 23.41 kB / 0.6865 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/1.118, allocations: 34.94 kB / 0.6865 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.12, allocations: 0.601 MB / 0.6871 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.12, allocations: 0 / 0.6871 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/1.12, allocations: 13.12 kB / 0.6871 GB, free: 4.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/1.12, allocations: 19.91 kB / 0.6871 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.121, allocations: 0.5565 MB / 0.6877 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/1.124, allocations: 2.539 MB / 0.6901 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.125, allocations: 0.5108 MB / 0.6906 GB, free: 1.031 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/1.126, allocations: 330.3 kB / 0.6909 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5699/1.695, allocations: 139 MB / 0.8267 GB, free: 146 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.696, allocations: 38.78 kB / 0.8267 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.746e-06/1.696, allocations: 0 / 0.8267 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.00557/1.701, allocations: 2.332 MB / 0.829 GB, free: 145.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/1.701, allocations: 57.19 kB / 0.829 GB, free: 145.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/1.701, allocations: 256.9 kB / 0.8293 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/1.701, allocations: 29.7 kB / 0.8293 GB, free: 145.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/1.702, allocations: 177 kB / 0.8295 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.702, allocations: 273.7 kB / 0.8297 GB, free: 145 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.702, allocations: 97.91 kB / 0.8298 GB, free: 145 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/1.702, allocations: 358.9 kB / 0.8302 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/1.702, allocations: 270.1 kB / 0.8304 GB, free: 144.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/1.703, allocations: 396.2 kB / 0.8308 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/1.704, allocations: 0.6957 MB / 0.8315 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.704, allocations: 2.625 kB / 0.8315 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001321/1.705, allocations: 0.7922 MB / 0.8323 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.705, allocations: 9.812 kB / 0.8323 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.705, allocations: 3.281 kB / 0.8323 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/1.706, allocations: 60.58 kB / 0.8323 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/1.706, allocations: 102.8 kB / 0.8324 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09119/1.797, allocations: 22.06 MB / 0.854 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/1.798, allocations: 52.86 kB / 0.854 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/1.798, allocations: 22.12 kB / 0.8541 GB, free: 135.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003112/1.798, allocations: 190.8 kB / 0.8542 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.583e-05/1.798, allocations: 39.56 kB / 0.8543 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/1.8, allocations: 1.543 MB / 0.8558 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.8, allocations: 19.23 kB / 0.8558 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.8, allocations: 1.031 kB / 0.8558 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/1.802, allocations: 1.141 MB / 0.8569 GB, free: 134.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/1.804, allocations: 1.587 MB / 0.8585 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.804, allocations: 3.531 kB / 0.8585 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/1.804, allocations: 86.36 kB / 0.8585 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.804, allocations: 45.42 kB / 0.8586 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/1.804, allocations: 15.52 kB / 0.8586 GB, free: 134.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007689/1.805, allocations: 1.323 MB / 0.8599 GB, free: 133 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.805, allocations: 0 / 0.8599 GB, free: 133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/1.807, allocations: 1.181 MB / 0.861 GB, free: 132.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.807, allocations: 111.8 kB / 0.8612 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/1.807, allocations: 14.3 kB / 0.8612 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/1.807, allocations: 46.38 kB / 0.8612 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.807, allocations: 39.55 kB / 0.8613 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/1.807, allocations: 16.55 kB / 0.8613 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002247/1.808, allocations: 237.6 kB / 0.8615 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.403e-06/1.808, allocations: 2.438 kB / 0.8615 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009802/1.817, allocations: 3.194 MB / 0.8646 GB, free: 132.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.h) * Number of discrete variables: 9 ($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 (40): * 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: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01679/1.834, allocations: 4.024 MB / 0.8685 GB, free: 132 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.836, allocations: 0.9503 MB / 0.8695 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.836, allocations: 0 / 0.8695 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007774/1.837, allocations: 499.9 kB / 0.8699 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/1.839, allocations: 386.2 kB / 0.8703 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/1.841, allocations: 1.403 MB / 0.8717 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/1.841, allocations: 0.8539 MB / 0.8725 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.841, allocations: 42.72 kB / 0.8726 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/1.841, allocations: 0 / 0.8726 GB, free: 129.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.102/1.943, allocations: 76.55 MB / 0.9473 GB, free: 57.29 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.PentaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModelCalcHelperMain.o] Error 1