Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008378, allocations: 99.59 kB / 15.71 MB, free: 452 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.0009299/0.0009301, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.554/1.554, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04357/0.04357, allocations: 9.067 MB / 280.1 MB, free: 12.49 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.0004919/0.0004919, allocations: 16 kB / 339.8 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09827, allocations: 49.19 MB / 388.9 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3131/0.4114, allocations: 119.3 MB / 0.4963 GB, free: 1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3554/0.7669, allocations: 102.9 MB / 0.5968 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.7677, allocations: 6.531 kB / 0.5968 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.7708, allocations: 1.027 MB / 0.5978 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.7755, allocations: 1.278 MB / 0.599 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09157/0.8671, allocations: 22.23 MB / 0.6207 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.8691, allocations: 1.509 MB / 0.6222 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.8693, allocations: 94.81 kB / 0.6223 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.8856, allocations: 8.581 MB / 0.6307 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008771/0.8865, allocations: 362.4 kB / 0.631 GB, free: 9.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.8867, allocations: 19.47 kB / 0.631 GB, free: 9.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06672/0.9534, allocations: 26.68 MB / 0.6571 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.9538, allocations: 97.61 kB / 0.6572 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.9543, allocations: 142.8 kB / 0.6573 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02502/0.9794, allocations: 8.604 MB / 0.6657 GB, free: 6.852 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.9794, allocations: 0 / 0.6657 GB, free: 6.852 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.9794, allocations: 0 / 0.6657 GB, free: 6.852 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.9795, allocations: 0 / 0.6657 GB, free: 6.852 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.007314/0.9868, allocations: 2.503 MB / 0.6682 GB, free: 4.398 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9869, allocations: 8.031 kB / 0.6682 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/0.9875, allocations: 87.31 kB / 0.6683 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.988, allocations: 330.5 kB / 0.6686 GB, free: 3.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.9881, allocations: 27.03 kB / 0.6686 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.9882, allocations: 42.41 kB / 0.6687 GB, free: 3.953 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.9895, allocations: 0.6137 MB / 0.6692 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.9896, allocations: 4.734 kB / 0.6693 GB, free: 3.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.9896, allocations: 14.94 kB / 0.6693 GB, free: 3.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.9897, allocations: 17.69 kB / 0.6693 GB, free: 3.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.991, allocations: 0.5742 MB / 0.6698 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.9938, allocations: 2.506 MB / 0.6723 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.9949, allocations: 0.513 MB / 0.6728 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.9954, allocations: 346.9 kB / 0.6731 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4479/1.443, allocations: 135.8 MB / 0.8058 GB, free: 279.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/1.443, allocations: 42.56 kB / 0.8058 GB, free: 279.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.865e-06/1.443, allocations: 0 / 0.8058 GB, free: 279.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006169/1.45, allocations: 2.397 MB / 0.8081 GB, free: 279.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.45, allocations: 58.16 kB / 0.8082 GB, free: 279 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/1.45, allocations: 255 kB / 0.8084 GB, free: 278.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/1.45, allocations: 35.31 kB / 0.8085 GB, free: 278.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/1.45, allocations: 182.8 kB / 0.8086 GB, free: 278.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.45, allocations: 271.5 kB / 0.8089 GB, free: 278.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/1.45, allocations: 5.094 kB / 0.8089 GB, free: 278.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.45, allocations: 353 kB / 0.8092 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/1.451, allocations: 291.3 kB / 0.8095 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000578/1.452, allocations: 416.2 kB / 0.8099 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/1.452, allocations: 336 kB / 0.8102 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.452, allocations: 4.156 kB / 0.8102 GB, free: 277.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001389/1.453, allocations: 0.8104 MB / 0.811 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.454, allocations: 6.375 kB / 0.811 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.454, allocations: 6.156 kB / 0.811 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/1.454, allocations: 63.27 kB / 0.8111 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/1.454, allocations: 140.7 kB / 0.8112 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07968/1.534, allocations: 25.28 MB / 0.8359 GB, free: 259.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/1.535, allocations: 58.72 kB / 0.836 GB, free: 259.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/1.535, allocations: 23.94 kB / 0.836 GB, free: 259.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 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.0003196/1.535, allocations: 185.8 kB / 0.8362 GB, free: 259.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/1.535, allocations: 43.53 kB / 0.8362 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.537, allocations: 1.606 MB / 0.8378 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.537, allocations: 10.52 kB / 0.8378 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.537, allocations: 0 / 0.8378 GB, free: 257.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/1.538, allocations: 1.208 MB / 0.839 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/1.54, allocations: 1.669 MB / 0.8406 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.54, allocations: 3.984 kB / 0.8406 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/1.54, allocations: 83.89 kB / 0.8407 GB, free: 254.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/1.541, allocations: 111.4 kB / 0.8408 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.541, allocations: 15.95 kB / 0.8408 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/1.541, allocations: 1.9 MB / 0.8427 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.542, allocations: 4.031 kB / 0.8427 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/1.543, allocations: 1.288 MB / 0.8439 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/1.543, allocations: 136.5 kB / 0.8441 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/1.543, allocations: 8 kB / 0.8441 GB, free: 251.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/1.544, allocations: 51.88 kB / 0.8441 GB, free: 251 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/1.544, allocations: 51.25 kB / 0.8442 GB, free: 251 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.544, allocations: 11.98 kB / 0.8442 GB, free: 251 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001985/1.544, allocations: 251 kB / 0.8444 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.544, allocations: 0 / 0.8444 GB, free: 250.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00856/1.552, allocations: 3.177 MB / 0.8475 GB, free: 248 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 (38): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.01794/1.57, allocations: 4.17 MB / 0.8516 GB, free: 244.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.573, allocations: 1.004 MB / 0.8526 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.573, allocations: 0 / 0.8526 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/1.573, allocations: 0.4953 MB / 0.8531 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.575, allocations: 323.4 kB / 0.8534 GB, free: 242.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/1.577, allocations: 1.443 MB / 0.8548 GB, free: 241 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.577, allocations: 0.8446 MB / 0.8556 GB, free: 240.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.577, allocations: 39.44 kB / 0.8556 GB, free: 240.1 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/1.577, allocations: 4 kB / 0.8556 GB, free: 240 MB / 0.5762 GB Notification: Performance of Templates: time 0.1014/1.678, allocations: 79.35 MB / 0.9331 GB, free: 160.6 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.HeliumTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModelCalcHelperMain.o] Error 1