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.006975/0.006975, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001779/0.001779, allocations: 192 kB / 16.79 MB, free: 5.809 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.502/1.502, allocations: 205.1 MB / 222.6 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05259/0.05259, allocations: 9.086 MB / 279.1 MB, free: 12.41 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.001288/0.001288, allocations: 63.91 kB / 338 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09765, allocations: 48.17 MB / 386.2 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4641/0.5618, allocations: 200.4 MB / 0.5729 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4517/1.014, allocations: 145.9 MB / 0.7153 GB, free: 8.789 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/1.015, allocations: 11.19 kB / 0.7153 GB, free: 8.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/1.019, allocations: 1.588 MB / 0.7169 GB, free: 7.426 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006186/1.025, allocations: 2.252 MB / 0.7191 GB, free: 5.309 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1193/1.145, allocations: 33.2 MB / 0.7515 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003783/1.148, allocations: 2.608 MB / 0.754 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/1.149, allocations: 163.4 kB / 0.7542 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/1.15, allocations: 0.6884 MB / 0.7549 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007531/1.151, allocations: 0.5446 MB / 0.7554 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/1.151, allocations: 32 kB / 0.7554 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08454/1.236, allocations: 41.41 MB / 0.7959 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/1.236, allocations: 135.5 kB / 0.796 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009696/1.237, allocations: 410.3 kB / 0.7964 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.4077/1.645, allocations: 11.25 MB / 0.8074 GB, free: 44.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.645, allocations: 0 / 0.8074 GB, free: 44.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.585e-06/1.645, allocations: 0 / 0.8074 GB, free: 44.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.592e-05/1.645, allocations: 2.875 kB / 0.8074 GB, free: 44.75 MB / 0.545 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.01407/1.659, allocations: 3.343 MB / 0.8106 GB, free: 43.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.659, allocations: 8.125 kB / 0.8106 GB, free: 43.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000974/1.66, allocations: 120.7 kB / 0.8108 GB, free: 43.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/1.661, allocations: 405.9 kB / 0.8112 GB, free: 43.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/1.661, allocations: 41.34 kB / 0.8112 GB, free: 43.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/1.661, allocations: 49.94 kB / 0.8112 GB, free: 43.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/1.663, allocations: 0.8252 MB / 0.812 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/1.663, allocations: 2.969 kB / 0.812 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/1.663, allocations: 23.41 kB / 0.8121 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/1.663, allocations: 22.02 kB / 0.8121 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/1.665, allocations: 0.7579 MB / 0.8128 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/1.668, allocations: 3.411 MB / 0.8162 GB, free: 40.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/1.67, allocations: 0.6908 MB / 0.8168 GB, free: 40.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/1.671, allocations: 479.9 kB / 0.8173 GB, free: 40.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.342/2.013, allocations: 185.3 MB / 0.9983 GB, free: 18.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/2.013, allocations: 37.31 kB / 0.9983 GB, free: 18.27 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 3.316e-06/2.013, allocations: 0 / 0.9983 GB, free: 18.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117): time 0.01008/2.023, allocations: 3.419 MB / 1.002 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/2.023, allocations: 63.97 kB / 1.002 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/2.023, allocations: 305.6 kB / 1.002 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/2.023, allocations: 39.33 kB / 1.002 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/2.023, allocations: 230.1 kB / 1.002 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/2.024, allocations: 380.7 kB / 1.003 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/2.024, allocations: 132.9 kB / 1.003 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000159/2.024, allocations: 372.6 kB / 1.003 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/2.025, allocations: 396 kB / 1.003 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/2.025, allocations: 0.5321 MB / 1.004 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/2.027, allocations: 0.9797 MB / 1.005 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/2.027, allocations: 1.688 kB / 1.005 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002022/2.029, allocations: 1.127 MB / 1.006 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/2.029, allocations: 8 kB / 1.006 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/2.029, allocations: 7.953 kB / 1.006 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/2.029, allocations: 106.2 kB / 1.006 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/2.031, allocations: 212.6 kB / 1.006 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5896/2.62, allocations: 46.37 MB / 1.052 GB, free: 198.9 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/2.621, allocations: 71.41 kB / 1.052 GB, free: 198.9 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/2.621, allocations: 24.66 kB / 1.052 GB, free: 198.9 MB / 0.7013 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.0005187/2.622, allocations: 220.8 kB / 1.052 GB, free: 198.8 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/2.622, allocations: 59.44 kB / 1.052 GB, free: 198.8 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/2.625, allocations: 2.391 MB / 1.054 GB, free: 198.6 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/2.625, allocations: 17.08 kB / 1.054 GB, free: 198.6 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/2.625, allocations: 3.5 kB / 1.054 GB, free: 198.6 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00233/2.628, allocations: 1.651 MB / 1.056 GB, free: 198.2 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/2.632, allocations: 2.458 MB / 1.058 GB, free: 197.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/2.632, allocations: 1.094 kB / 1.058 GB, free: 197.8 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/2.632, allocations: 125.8 kB / 1.059 GB, free: 197.8 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/2.633, allocations: 211.6 kB / 1.059 GB, free: 197.8 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/2.633, allocations: 16.36 kB / 1.059 GB, free: 197.8 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/2.635, allocations: 3.781 MB / 1.062 GB, free: 194.3 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/2.635, allocations: 0 / 1.062 GB, free: 194.3 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/2.639, allocations: 1.975 MB / 1.064 GB, free: 194 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/2.639, allocations: 132.4 kB / 1.064 GB, free: 193.9 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/2.639, allocations: 15.97 kB / 1.064 GB, free: 193.9 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/2.64, allocations: 56.61 kB / 1.065 GB, free: 193.9 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/2.64, allocations: 63.25 kB / 1.065 GB, free: 193.9 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/2.64, allocations: 27.12 kB / 1.065 GB, free: 193.9 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0003718/2.64, allocations: 254.8 kB / 1.065 GB, free: 193.8 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.2e-07/2.64, allocations: 0 / 1.065 GB, free: 193.8 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.02176/2.662, allocations: 4.832 MB / 1.07 GB, free: 193.7 MB / 0.7013 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.03614/2.698, allocations: 5.95 MB / 1.075 GB, free: 192.8 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.003463/2.702, allocations: 1.525 MB / 1.077 GB, free: 192.5 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/2.702, allocations: 0 / 1.077 GB, free: 192.5 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/2.703, allocations: 0.8165 MB / 1.078 GB, free: 192.2 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/2.706, allocations: 0.5223 MB / 1.078 GB, free: 192.2 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/2.709, allocations: 2.069 MB / 1.08 GB, free: 191.2 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/2.71, allocations: 0.9366 MB / 1.081 GB, free: 190.4 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/2.71, allocations: 56.28 kB / 1.081 GB, free: 190.4 MB / 0.7013 GB Notification: Performance of SimCode: time 5.41e-07/2.71, allocations: 0 / 1.081 GB, free: 190.4 MB / 0.7013 GB Notification: Performance of Templates: time 0.1674/2.877, allocations: 129.7 MB / 1.208 GB, free: 86.38 MB / 0.7013 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