Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 98.88 kB / 16.02 MB, free: 72 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.001863/0.001863, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.834/1.834, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04417/0.04417, allocations: 9.073 MB / 280.5 MB, free: 12.39 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.0005365/0.0005365, allocations: 12.22 kB / 340.4 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 49.19 MB / 389.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4649/0.5837, allocations: 198 MB / 0.5738 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.49/1.074, allocations: 144.2 MB / 0.7146 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.075, allocations: 6.625 kB / 0.7146 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004872/1.08, allocations: 1.578 MB / 0.7162 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007072/1.087, allocations: 2.251 MB / 0.7184 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1242/1.211, allocations: 33.27 MB / 0.7509 GB, free: 6.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004807/1.216, allocations: 2.603 MB / 0.7534 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/1.216, allocations: 162.7 kB / 0.7536 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/1.218, allocations: 0.6806 MB / 0.7542 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007887/1.219, allocations: 0.5407 MB / 0.7548 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/1.219, allocations: 28 kB / 0.7548 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5401/1.759, allocations: 41.41 MB / 0.7952 GB, free: 32.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000651/1.76, allocations: 134.4 kB / 0.7953 GB, free: 32.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/1.761, allocations: 419.9 kB / 0.7957 GB, free: 32.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.042/1.803, allocations: 11.19 MB / 0.8067 GB, free: 32.28 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.803, allocations: 2.781 kB / 0.8067 GB, free: 32.28 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.858e-06/1.803, allocations: 1.312 kB / 0.8067 GB, free: 32.28 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.803, allocations: 0 / 0.8067 GB, free: 32.28 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.01608/1.819, allocations: 3.235 MB / 0.8098 GB, free: 30.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.819, allocations: 6.844 kB / 0.8098 GB, free: 30.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/1.82, allocations: 119.5 kB / 0.81 GB, free: 30.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/1.821, allocations: 403.4 kB / 0.8103 GB, free: 30.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/1.821, allocations: 41.81 kB / 0.8104 GB, free: 30.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/1.821, allocations: 45.31 kB / 0.8104 GB, free: 30.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/1.823, allocations: 0.8357 MB / 0.8112 GB, free: 30.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/1.823, allocations: 3.719 kB / 0.8112 GB, free: 30.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/1.823, allocations: 20.12 kB / 0.8113 GB, free: 30.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/1.823, allocations: 24.56 kB / 0.8113 GB, free: 30.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.825, allocations: 0.7878 MB / 0.8121 GB, free: 30.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/1.828, allocations: 3.43 MB / 0.8154 GB, free: 27.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/1.83, allocations: 0.7046 MB / 0.8161 GB, free: 27.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000858/1.831, allocations: 0.4901 MB / 0.8166 GB, free: 27.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3285/2.159, allocations: 181.1 MB / 0.9934 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/2.159, allocations: 38.62 kB / 0.9935 GB, free: 11.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=109): time 3.958e-06/2.159, allocations: 0 / 0.9935 GB, free: 11.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=117): time 0.009653/2.169, allocations: 3.523 MB / 0.9969 GB, free: 8.391 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/2.169, allocations: 55.97 kB / 0.997 GB, free: 8.324 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/2.169, allocations: 312.4 kB / 0.9973 GB, free: 8.062 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/2.169, allocations: 33.7 kB / 0.9973 GB, free: 8.031 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/2.17, allocations: 231.8 kB / 0.9975 GB, free: 7.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/2.17, allocations: 384 kB / 0.9979 GB, free: 7.516 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/2.17, allocations: 82.84 kB / 0.998 GB, free: 7.457 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001683/2.17, allocations: 373.5 kB / 0.9983 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/2.171, allocations: 405.8 kB / 0.9987 GB, free: 6.863 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008282/2.172, allocations: 0.556 MB / 0.9992 GB, free: 6.438 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/2.173, allocations: 1.015 MB / 1 GB, free: 5.758 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.173, allocations: 0 / 1 GB, free: 5.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002133/2.175, allocations: 1.162 MB / 1.001 GB, free: 4.961 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/2.175, allocations: 11.38 kB / 1.001 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/2.176, allocations: 4 kB / 1.001 GB, free: 4.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/2.176, allocations: 104.8 kB / 1.001 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/2.177, allocations: 218.1 kB / 1.002 GB, free: 4.668 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.463/2.64, allocations: 46.29 MB / 1.047 GB, free: 367.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009147/2.641, allocations: 78.2 kB / 1.047 GB, free: 367.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/2.641, allocations: 27.58 kB / 1.047 GB, free: 367.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005373/2.642, allocations: 217.6 kB / 1.047 GB, free: 367.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/2.642, allocations: 58.06 kB / 1.047 GB, free: 367.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/2.645, allocations: 2.433 MB / 1.05 GB, free: 365.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/2.645, allocations: 20.28 kB / 1.05 GB, free: 365.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/2.645, allocations: 0 / 1.05 GB, free: 365.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002095/2.647, allocations: 1.677 MB / 1.051 GB, free: 363.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/2.651, allocations: 2.505 MB / 1.054 GB, free: 361.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/2.651, allocations: 0 / 1.054 GB, free: 361.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/2.651, allocations: 127.9 kB / 1.054 GB, free: 361.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/2.652, allocations: 234.8 kB / 1.054 GB, free: 360.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/2.652, allocations: 15.94 kB / 1.054 GB, free: 360.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/2.654, allocations: 3.786 MB / 1.058 GB, free: 356.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.654, allocations: 3.984 kB / 1.058 GB, free: 356.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/2.657, allocations: 2.027 MB / 1.06 GB, free: 354.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/2.657, allocations: 156.2 kB / 1.06 GB, free: 354.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/2.657, allocations: 12 kB / 1.06 GB, free: 354.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/2.658, allocations: 68.55 kB / 1.06 GB, free: 354.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/2.658, allocations: 68.45 kB / 1.06 GB, free: 354.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/2.658, allocations: 23.92 kB / 1.06 GB, free: 354.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002638/2.658, allocations: 251.2 kB / 1.06 GB, free: 354.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/2.658, allocations: 0 / 1.06 GB, free: 354.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01865/2.677, allocations: 4.821 MB / 1.065 GB, free: 349.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03632/2.713, allocations: 5.942 MB / 1.071 GB, free: 344.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003593/2.717, allocations: 1.554 MB / 1.072 GB, free: 343.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/2.717, allocations: 0 / 1.072 GB, free: 343.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/2.718, allocations: 0.8486 MB / 1.073 GB, free: 342.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/2.721, allocations: 0.5138 MB / 1.074 GB, free: 341.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/2.725, allocations: 2.173 MB / 1.076 GB, free: 339.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/2.725, allocations: 0.9334 MB / 1.077 GB, free: 338.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/2.725, allocations: 51.44 kB / 1.077 GB, free: 338.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/2.725, allocations: 4 kB / 1.077 GB, free: 338.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1903/2.916, allocations: 129.7 MB / 1.203 GB, free: 208.7 MB / 0.67 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.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.R134aTestModel2CalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2CalcHelperMain.o] Error 1