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.0008239/0.000824, allocations: 98.72 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.0009268/0.0009267, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.861/1.861, allocations: 205.4 MB / 223.1 MB, free: 5.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0455/0.0455, allocations: 9.075 MB / 280.5 MB, free: 12.38 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.0005154/0.0005154, allocations: 20.2 kB / 340.4 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 49.19 MB / 389.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.4119/0.5281, allocations: 128.7 MB / 0.5061 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.5069/1.035, allocations: 111.5 MB / 0.615 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/1.036, allocations: 7.875 kB / 0.615 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003727/1.04, allocations: 1.18 MB / 0.6162 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004688/1.044, allocations: 1.461 MB / 0.6176 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08997/1.134, allocations: 24.97 MB / 0.642 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002629/1.137, allocations: 1.825 MB / 0.6438 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/1.137, allocations: 93.47 kB / 0.6438 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0185/1.156, allocations: 8.412 MB / 0.6521 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/1.157, allocations: 385.7 kB / 0.6524 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/1.157, allocations: 18 kB / 0.6524 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07134/1.228, allocations: 31.06 MB / 0.6828 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/1.229, allocations: 100.6 kB / 0.6829 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/1.23, allocations: 306.4 kB / 0.6832 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02595/1.256, allocations: 8.39 MB / 0.6914 GB, free: 5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.256, allocations: 4 kB / 0.6914 GB, free: 4.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.147e-06/1.256, allocations: 0 / 0.6914 GB, free: 4.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/1.256, allocations: 0 / 0.6914 GB, free: 4.996 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.008535/1.264, allocations: 2.48 MB / 0.6938 GB, free: 2.562 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/1.264, allocations: 10.22 kB / 0.6938 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/1.265, allocations: 91.25 kB / 0.6939 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/1.266, allocations: 333.4 kB / 0.6942 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/1.266, allocations: 33.53 kB / 0.6942 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/1.266, allocations: 35.38 kB / 0.6943 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.267, allocations: 0.6107 MB / 0.6949 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.267, allocations: 3.984 kB / 0.6949 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/1.267, allocations: 19.67 kB / 0.6949 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/1.267, allocations: 11.91 kB / 0.6949 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.269, allocations: 0.5793 MB / 0.6955 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/1.271, allocations: 2.554 MB / 0.698 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/1.273, allocations: 0.5292 MB / 0.6985 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/1.273, allocations: 346.7 kB / 0.6988 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5044/1.778, allocations: 135.8 MB / 0.8314 GB, free: 263.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.699e-05/1.778, allocations: 39.56 kB / 0.8315 GB, free: 263.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 5.69e-06/1.778, allocations: 0 / 0.8315 GB, free: 263.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006125/1.784, allocations: 2.405 MB / 0.8338 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.784, allocations: 59.12 kB / 0.8339 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/1.784, allocations: 255.9 kB / 0.8341 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.784, allocations: 29.64 kB / 0.8341 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/1.784, allocations: 188 kB / 0.8343 GB, free: 262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.785, allocations: 267.5 kB / 0.8346 GB, free: 261.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/1.785, allocations: 65.42 kB / 0.8346 GB, free: 261.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/1.785, allocations: 346.7 kB / 0.835 GB, free: 261.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/1.785, allocations: 286.3 kB / 0.8352 GB, free: 261.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/1.786, allocations: 411.4 kB / 0.8356 GB, free: 261 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/1.787, allocations: 0.7267 MB / 0.8363 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.787, allocations: 3.969 kB / 0.8363 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001335/1.788, allocations: 0.8097 MB / 0.8371 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.788, allocations: 13.41 kB / 0.8371 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.788, allocations: 3.938 kB / 0.8372 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/1.788, allocations: 67.05 kB / 0.8372 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/1.789, allocations: 105.8 kB / 0.8373 GB, free: 260.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09095/1.88, allocations: 22.58 MB / 0.8594 GB, free: 243 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/1.88, allocations: 63.86 kB / 0.8594 GB, free: 242.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/1.88, allocations: 16 kB / 0.8594 GB, free: 242.9 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.0003047/1.881, allocations: 193.7 kB / 0.8596 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/1.881, allocations: 43.44 kB / 0.8597 GB, free: 242.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.883, allocations: 1.568 MB / 0.8612 GB, free: 241 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/1.883, allocations: 14.03 kB / 0.8612 GB, free: 241 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.883, allocations: 0 / 0.8612 GB, free: 241 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.884, allocations: 1.167 MB / 0.8623 GB, free: 239.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.886, allocations: 1.628 MB / 0.8639 GB, free: 238.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.886, allocations: 0 / 0.8639 GB, free: 238.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/1.886, allocations: 83.89 kB / 0.864 GB, free: 238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/1.886, allocations: 56.73 kB / 0.8641 GB, free: 238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.886, allocations: 12.67 kB / 0.8641 GB, free: 237.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000799/1.887, allocations: 1.333 MB / 0.8654 GB, free: 236.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.887, allocations: 0 / 0.8654 GB, free: 236.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.889, allocations: 1.215 MB / 0.8666 GB, free: 235.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/1.889, allocations: 136.6 kB / 0.8667 GB, free: 235.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/1.889, allocations: 15.94 kB / 0.8667 GB, free: 235.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/1.889, allocations: 51.8 kB / 0.8668 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.89, allocations: 47.88 kB / 0.8668 GB, free: 235 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/1.89, allocations: 8 kB / 0.8668 GB, free: 235 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002167/1.89, allocations: 247 kB / 0.8671 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.563e-06/1.89, allocations: 0 / 0.8671 GB, free: 234.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009513/1.899, allocations: 3.183 MB / 0.8702 GB, free: 232 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.01646/1.916, allocations: 4.097 MB / 0.8742 GB, free: 228.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.918, allocations: 0.9629 MB / 0.8751 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.918, allocations: 0 / 0.8751 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/1.918, allocations: 0.4995 MB / 0.8756 GB, free: 226.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.92, allocations: 392.6 kB / 0.876 GB, free: 226.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/1.922, allocations: 1.446 MB / 0.8774 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/1.922, allocations: 0.8488 MB / 0.8782 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/1.923, allocations: 43.44 kB / 0.8783 GB, free: 224 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/1.923, allocations: 0 / 0.8783 GB, free: 224 MB / 0.5762 GB Notification: Performance of Templates: time 0.1074/2.03, allocations: 76.59 MB / 0.953 GB, free: 147.4 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