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.0008359/0.0008358, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009623/0.0009621, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.518/1.518, allocations: 205.4 MB / 222.7 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.044/0.044, allocations: 9.065 MB / 280.1 MB, free: 12.48 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.0004492/0.0004492, allocations: 12 kB / 339.8 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.0944, allocations: 49.2 MB / 389 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.3405/0.4349, allocations: 119.9 MB / 0.4969 GB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.4087/0.8437, allocations: 104 MB / 0.5985 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.8444, allocations: 6.469 kB / 0.5985 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.8481, allocations: 1.089 MB / 0.5996 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.8519, allocations: 1.332 MB / 0.6009 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07288/0.9247, allocations: 22.41 MB / 0.6227 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.9272, allocations: 1.592 MB / 0.6243 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.9274, allocations: 83.81 kB / 0.6244 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.9285, allocations: 0.5197 MB / 0.6249 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.9289, allocations: 365.3 kB / 0.6252 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.929, allocations: 19.66 kB / 0.6253 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05488/0.9838, allocations: 27.62 MB / 0.6522 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.9842, allocations: 96.14 kB / 0.6523 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.9848, allocations: 144.8 kB / 0.6525 GB, free: 17.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02073/1.005, allocations: 8.495 MB / 0.6608 GB, free: 12.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.006, allocations: 6.938 kB / 0.6608 GB, free: 12.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.535e-06/1.006, allocations: 0.875 kB / 0.6608 GB, free: 12.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/1.006, allocations: 0 / 0.6608 GB, free: 12.55 MB / 462.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.007391/1.013, allocations: 2.494 MB / 0.6632 GB, free: 10.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.013, allocations: 11.12 kB / 0.6632 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/1.014, allocations: 98.06 kB / 0.6633 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/1.014, allocations: 321.8 kB / 0.6636 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/1.014, allocations: 32.36 kB / 0.6636 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/1.014, allocations: 38.48 kB / 0.6637 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.015, allocations: 0.6093 MB / 0.6643 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/1.015, allocations: 0.9844 kB / 0.6643 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/1.015, allocations: 15.56 kB / 0.6643 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/1.015, allocations: 17.36 kB / 0.6643 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.017, allocations: 0.5778 MB / 0.6649 GB, free: 8.777 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/1.019, allocations: 2.555 MB / 0.6674 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.02, allocations: 0.5211 MB / 0.6679 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/1.02, allocations: 346.5 kB / 0.6682 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4938/1.514, allocations: 135.8 MB / 0.8008 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.514, allocations: 40 kB / 0.8009 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.885e-06/1.514, allocations: 0 / 0.8009 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005647/1.52, allocations: 2.394 MB / 0.8032 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/1.52, allocations: 57.19 kB / 0.8033 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/1.52, allocations: 255 kB / 0.8035 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/1.52, allocations: 33.42 kB / 0.8035 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/1.52, allocations: 184.4 kB / 0.8037 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.52, allocations: 265.9 kB / 0.804 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/1.52, allocations: 11.23 kB / 0.804 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/1.521, allocations: 356.3 kB / 0.8043 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/1.521, allocations: 282.7 kB / 0.8046 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/1.522, allocations: 404.7 kB / 0.805 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/1.522, allocations: 336.4 kB / 0.8053 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.522, allocations: 0 / 0.8053 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001325/1.523, allocations: 0.8084 MB / 0.8061 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.523, allocations: 6.875 kB / 0.8061 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.523, allocations: 3.281 kB / 0.8061 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/1.524, allocations: 64.67 kB / 0.8061 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/1.524, allocations: 109.8 kB / 0.8063 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08004/1.604, allocations: 22.02 MB / 0.8278 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/1.605, allocations: 52.53 kB / 0.8278 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/1.605, allocations: 20.31 kB / 0.8278 GB, free: 150 MB / 0.5762 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.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003051/1.605, allocations: 196.8 kB / 0.828 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/1.605, allocations: 39.91 kB / 0.828 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/1.607, allocations: 1.579 MB / 0.8296 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.607, allocations: 13.98 kB / 0.8296 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.607, allocations: 0 / 0.8296 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/1.608, allocations: 1.161 MB / 0.8307 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/1.61, allocations: 1.621 MB / 0.8323 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.61, allocations: 0 / 0.8323 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/1.611, allocations: 89.14 kB / 0.8324 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/1.611, allocations: 47.86 kB / 0.8325 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/1.611, allocations: 18.19 kB / 0.8325 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007692/1.612, allocations: 1.334 MB / 0.8338 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.612, allocations: 0 / 0.8338 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.613, allocations: 1.214 MB / 0.835 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.614, allocations: 144.4 kB / 0.8351 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/1.614, allocations: 13 kB / 0.8351 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/1.614, allocations: 42.59 kB / 0.8351 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.614, allocations: 46.67 kB / 0.8352 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.614, allocations: 17.3 kB / 0.8352 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002156/1.614, allocations: 240.7 kB / 0.8354 GB, free: 147 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.614, allocations: 0 / 0.8354 GB, free: 147 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009058/1.623, allocations: 3.179 MB / 0.8385 GB, free: 146.9 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01437/1.638, allocations: 4.03 MB / 0.8425 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001746/1.64, allocations: 0.956 MB / 0.8434 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.64, allocations: 3.531 kB / 0.8434 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006417/1.64, allocations: 485.6 kB / 0.8439 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.642, allocations: 343.9 kB / 0.8442 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/1.643, allocations: 1.427 MB / 0.8456 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.644, allocations: 0.8516 MB / 0.8464 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/1.644, allocations: 41.12 kB / 0.8465 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/1.644, allocations: 0 / 0.8465 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.1032/1.747, allocations: 76.06 MB / 0.9207 GB, free: 71.48 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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