Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005247/0.005247, allocations: 99.98 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.001203/0.001204, allocations: 193.1 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04292/0.04292, allocations: 9.085 MB / 279.1 MB, free: 12.26 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.001238/0.001238, allocations: 55.92 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 48.19 MB / 386.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3459/0.452, allocations: 130.4 MB / 0.5045 GB, free: 4.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4191/0.8711, allocations: 112.8 MB / 0.6146 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007824/0.8719, allocations: 7.469 kB / 0.6146 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.8755, allocations: 1.179 MB / 0.6158 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.8794, allocations: 1.461 MB / 0.6172 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08119/0.9606, allocations: 24.93 MB / 0.6415 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.9629, allocations: 1.819 MB / 0.6433 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.9632, allocations: 98.25 kB / 0.6434 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01719/0.9804, allocations: 8.404 MB / 0.6516 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.9809, allocations: 388.7 kB / 0.652 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.981, allocations: 22.75 kB / 0.652 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06734/1.048, allocations: 31.06 MB / 0.6823 GB, free: 8.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000289/1.049, allocations: 105.1 kB / 0.6824 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007595/1.049, allocations: 288.9 kB / 0.6827 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02204/1.071, allocations: 8.428 MB / 0.6909 GB, free: 1.211 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.072, allocations: 4 kB / 0.6909 GB, free: 1.207 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/1.072, allocations: 0 / 0.6909 GB, free: 1.207 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/1.072, allocations: 4 kB / 0.6909 GB, free: 1.203 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.006992/1.079, allocations: 2.568 MB / 0.6935 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.079, allocations: 12.03 kB / 0.6935 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005988/1.079, allocations: 87.34 kB / 0.6936 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/1.08, allocations: 331.3 kB / 0.6939 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/1.08, allocations: 28.66 kB / 0.6939 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/1.08, allocations: 39.94 kB / 0.6939 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/1.081, allocations: 0.5964 MB / 0.6945 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.081, allocations: 3.938 kB / 0.6945 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/1.081, allocations: 12 kB / 0.6945 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.081, allocations: 20.44 kB / 0.6945 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.082, allocations: 0.552 MB / 0.6951 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/1.085, allocations: 2.545 MB / 0.6976 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.086, allocations: 0.5083 MB / 0.6981 GB, free: 9.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/1.087, allocations: 334.3 kB / 0.6984 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4755/1.562, allocations: 139 MB / 0.8341 GB, free: 258.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/1.562, allocations: 42.66 kB / 0.8342 GB, free: 258.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.466e-06/1.562, allocations: 0 / 0.8342 GB, free: 258.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006159/1.569, allocations: 2.328 MB / 0.8364 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/1.569, allocations: 58.84 kB / 0.8365 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/1.569, allocations: 253.9 kB / 0.8367 GB, free: 257.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/1.569, allocations: 33.64 kB / 0.8368 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.569, allocations: 184.2 kB / 0.8369 GB, free: 257 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/1.569, allocations: 273.2 kB / 0.8372 GB, free: 256.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/1.569, allocations: 101.5 kB / 0.8373 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/1.569, allocations: 346.7 kB / 0.8376 GB, free: 256.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/1.57, allocations: 272.2 kB / 0.8379 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.57, allocations: 396.4 kB / 0.8383 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/1.571, allocations: 0.6959 MB / 0.8389 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.571, allocations: 3.562 kB / 0.8389 GB, free: 255.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001394/1.573, allocations: 0.7947 MB / 0.8397 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.573, allocations: 7.938 kB / 0.8397 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.573, allocations: 0 / 0.8397 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/1.573, allocations: 72.28 kB / 0.8398 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/1.574, allocations: 98.81 kB / 0.8399 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09138/1.665, allocations: 22.62 MB / 0.862 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/1.666, allocations: 55.86 kB / 0.862 GB, free: 234.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/1.666, allocations: 16 kB / 0.862 GB, free: 234.6 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.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.0003291/1.666, allocations: 186.4 kB / 0.8622 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.666, allocations: 47.45 kB / 0.8623 GB, free: 234.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/1.668, allocations: 1.537 MB / 0.8638 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.668, allocations: 19.66 kB / 0.8638 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.668, allocations: 0 / 0.8638 GB, free: 232.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/1.669, allocations: 1.145 MB / 0.8649 GB, free: 231.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.671, allocations: 1.585 MB / 0.8665 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.671, allocations: 0 / 0.8665 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/1.672, allocations: 83.88 kB / 0.8665 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000209/1.672, allocations: 52.69 kB / 0.8666 GB, free: 229.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/1.672, allocations: 11.98 kB / 0.8666 GB, free: 229.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008097/1.673, allocations: 1.33 MB / 0.8679 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.673, allocations: 0 / 0.8679 GB, free: 228.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/1.675, allocations: 1.176 MB / 0.869 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.675, allocations: 112.7 kB / 0.8692 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/1.675, allocations: 15.94 kB / 0.8692 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/1.675, allocations: 35.88 kB / 0.8692 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.675, allocations: 43.94 kB / 0.8692 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/1.675, allocations: 16.73 kB / 0.8693 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002565/1.675, allocations: 239 kB / 0.8695 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.7e-07/1.676, allocations: 4 kB / 0.8695 GB, free: 226.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009811/1.685, allocations: 3.189 MB / 0.8726 GB, free: 223.8 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 (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.01785/1.703, allocations: 4.117 MB / 0.8766 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001693/1.705, allocations: 0.945 MB / 0.8775 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.705, allocations: 0 / 0.8775 GB, free: 219.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007036/1.706, allocations: 499.5 kB / 0.878 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.707, allocations: 387.6 kB / 0.8784 GB, free: 218.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/1.709, allocations: 1.399 MB / 0.8798 GB, free: 216.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/1.709, allocations: 0.8527 MB / 0.8806 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/1.709, allocations: 43.44 kB / 0.8806 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/1.709, allocations: 0 / 0.8806 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1014/1.811, allocations: 76.6 MB / 0.9554 GB, free: 139.2 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.R134aTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModelCalcHelperMain.o] Error 1