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.000884/0.0008835, allocations: 97.78 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.00118/0.00118, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.847/1.847, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04377/0.04377, allocations: 9.075 MB / 280.5 MB, free: 12.15 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.0005503/0.0005503, allocations: 16.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 49.2 MB / 389.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.4085/0.5211, allocations: 128.2 MB / 0.5056 GB, free: 7.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4958/1.017, allocations: 110.5 MB / 0.6135 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/1.018, allocations: 5.438 kB / 0.6135 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003471/1.021, allocations: 1.118 MB / 0.6146 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/1.026, allocations: 1.399 MB / 0.616 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08934/1.115, allocations: 24.54 MB / 0.64 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002922/1.118, allocations: 1.761 MB / 0.6417 GB, free: 408 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/1.118, allocations: 93 kB / 0.6418 GB, free: 384 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02008/1.138, allocations: 8.204 MB / 0.6498 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/1.139, allocations: 365.1 kB / 0.6501 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/1.139, allocations: 19.44 kB / 0.6502 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07335/1.212, allocations: 30 MB / 0.6794 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003275/1.213, allocations: 97.56 kB / 0.6795 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007283/1.213, allocations: 310.8 kB / 0.6798 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02547/1.239, allocations: 8.43 MB / 0.6881 GB, free: 6.328 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/1.239, allocations: 0 / 0.6881 GB, free: 6.328 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.729e-06/1.239, allocations: 3.938 kB / 0.6881 GB, free: 6.324 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/1.239, allocations: 1.531 kB / 0.6881 GB, free: 6.324 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.01105/1.25, allocations: 2.486 MB / 0.6905 GB, free: 3.883 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/1.25, allocations: 8.031 kB / 0.6905 GB, free: 3.875 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/1.251, allocations: 87.3 kB / 0.6906 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/1.251, allocations: 342.4 kB / 0.6909 GB, free: 3.469 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/1.251, allocations: 32.22 kB / 0.6909 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/1.252, allocations: 34.81 kB / 0.691 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.253, allocations: 0.6033 MB / 0.6916 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/1.253, allocations: 7.875 kB / 0.6916 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/1.253, allocations: 16.28 kB / 0.6916 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.253, allocations: 18.17 kB / 0.6916 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/1.255, allocations: 0.5803 MB / 0.6922 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/1.258, allocations: 2.515 MB / 0.6946 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.259, allocations: 0.5072 MB / 0.6951 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007082/1.26, allocations: 364.1 kB / 0.6955 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5083/1.768, allocations: 135.8 MB / 0.8281 GB, free: 264.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.826e-05/1.768, allocations: 39.84 kB / 0.8281 GB, free: 264.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 4.288e-06/1.768, allocations: 0 / 0.8281 GB, free: 264.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006455/1.775, allocations: 2.405 MB / 0.8305 GB, free: 264.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/1.775, allocations: 58.06 kB / 0.8305 GB, free: 264 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/1.775, allocations: 261 kB / 0.8308 GB, free: 263.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.775, allocations: 29.7 kB / 0.8308 GB, free: 263.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/1.775, allocations: 185.9 kB / 0.831 GB, free: 263.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/1.775, allocations: 273.1 kB / 0.8312 GB, free: 263.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/1.776, allocations: 62.52 kB / 0.8313 GB, free: 263.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.776, allocations: 357.4 kB / 0.8316 GB, free: 263.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/1.776, allocations: 284.5 kB / 0.8319 GB, free: 262.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/1.777, allocations: 417.8 kB / 0.8323 GB, free: 262.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/1.778, allocations: 0.7388 MB / 0.833 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.778, allocations: 0 / 0.833 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001469/1.779, allocations: 0.8267 MB / 0.8338 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.78, allocations: 7.562 kB / 0.8339 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.78, allocations: 7.656 kB / 0.8339 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/1.78, allocations: 63.3 kB / 0.8339 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/1.78, allocations: 140.8 kB / 0.8341 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09204/1.872, allocations: 25.26 MB / 0.8587 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/1.873, allocations: 63.86 kB / 0.8588 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.873, allocations: 16.69 kB / 0.8588 GB, free: 242.2 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.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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.0003437/1.874, allocations: 194.3 kB / 0.859 GB, free: 242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/1.874, allocations: 43.47 kB / 0.859 GB, free: 241.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/1.875, allocations: 1.602 MB / 0.8606 GB, free: 240.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.875, allocations: 13.34 kB / 0.8606 GB, free: 240.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/1.875, allocations: 0 / 0.8606 GB, free: 240.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/1.877, allocations: 1.209 MB / 0.8618 GB, free: 238.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.879, allocations: 1.671 MB / 0.8634 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.879, allocations: 0 / 0.8634 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/1.879, allocations: 87.88 kB / 0.8635 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/1.879, allocations: 105.7 kB / 0.8636 GB, free: 237 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/1.88, allocations: 15.92 kB / 0.8636 GB, free: 237 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/1.881, allocations: 1.908 MB / 0.8655 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.881, allocations: 160 / 0.8655 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/1.882, allocations: 1.295 MB / 0.8667 GB, free: 233.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/1.883, allocations: 132.5 kB / 0.8669 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/1.883, allocations: 15.94 kB / 0.8669 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/1.883, allocations: 47.88 kB / 0.8669 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.883, allocations: 43.94 kB / 0.867 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.883, allocations: 15.98 kB / 0.867 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002491/1.883, allocations: 247 kB / 0.8672 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/1.883, allocations: 0 / 0.8672 GB, free: 233.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01249/1.896, allocations: 3.18 MB / 0.8703 GB, free: 230.4 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 (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 Backend phase and start with SimCode phase: time 0.01745/1.913, allocations: 4.168 MB / 0.8744 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.916, allocations: 1.001 MB / 0.8754 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.916, allocations: 7.875 kB / 0.8754 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006548/1.916, allocations: 0.4915 MB / 0.8759 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.918, allocations: 383.6 kB / 0.8762 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.92, allocations: 1.477 MB / 0.8777 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/1.92, allocations: 0.8486 MB / 0.8785 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/1.92, allocations: 43.44 kB / 0.8785 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/1.92, allocations: 0 / 0.8785 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.109/2.029, allocations: 79.83 MB / 0.9565 GB, free: 142.5 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.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