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.0008539/0.0008538, allocations: 100.5 kB / 15.71 MB, free: 452 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.0008978/0.0008974, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.545/1.545, allocations: 205.4 MB / 222.8 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04149/0.04149, allocations: 9.06 MB / 280.1 MB, free: 12.27 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.0004842/0.0004842, allocations: 12 kB / 339.7 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09681, allocations: 49.21 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4169/0.5137, allocations: 184.2 MB / 0.5597 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3882/0.902, allocations: 134.3 MB / 0.6909 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.9029, allocations: 3.188 kB / 0.6909 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.9064, allocations: 1.44 MB / 0.6923 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005051/0.9115, allocations: 2.035 MB / 0.6943 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09239/1.004, allocations: 29.91 MB / 0.7235 GB, free: 164 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00315/1.007, allocations: 2.244 MB / 0.7257 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/1.007, allocations: 147.6 kB / 0.7259 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/1.009, allocations: 0.6904 MB / 0.7265 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006707/1.01, allocations: 0.5108 MB / 0.727 GB, free: 12.65 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/1.01, allocations: 28 kB / 0.7271 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07516/1.085, allocations: 36.77 MB / 0.763 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003307/1.085, allocations: 133.2 kB / 0.7631 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000445/1.086, allocations: 189.4 kB / 0.7633 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0279/1.114, allocations: 11.43 MB / 0.7744 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.114, allocations: 0 / 0.7744 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.977e-06/1.114, allocations: 0 / 0.7744 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.114, allocations: 4 kB / 0.7744 GB, free: 14.68 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.01073/1.124, allocations: 3.24 MB / 0.7776 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.124, allocations: 8.031 kB / 0.7776 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/1.125, allocations: 132.4 kB / 0.7777 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/1.126, allocations: 395.1 kB / 0.7781 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/1.126, allocations: 41 kB / 0.7782 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/1.126, allocations: 52 kB / 0.7782 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/1.128, allocations: 0.8307 MB / 0.779 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/1.128, allocations: 5.703 kB / 0.779 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/1.128, allocations: 20 kB / 0.779 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/1.128, allocations: 19.98 kB / 0.7791 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/1.129, allocations: 0.7973 MB / 0.7798 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/1.133, allocations: 3.428 MB / 0.7832 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/1.134, allocations: 0.692 MB / 0.7839 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/1.135, allocations: 499 kB / 0.7843 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6103/1.746, allocations: 181.1 MB / 0.9612 GB, free: 20.49 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/1.746, allocations: 40.44 kB / 0.9612 GB, free: 20.45 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=109): time 3.477e-06/1.746, allocations: 2 kB / 0.9612 GB, free: 20.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117): time 0.008751/1.754, allocations: 3.52 MB / 0.9647 GB, free: 19.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.754, allocations: 62.94 kB / 0.9647 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/1.755, allocations: 305.2 kB / 0.965 GB, free: 19.28 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/1.755, allocations: 40.27 kB / 0.965 GB, free: 19.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.755, allocations: 227.8 kB / 0.9653 GB, free: 19.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/1.755, allocations: 382.4 kB / 0.9656 GB, free: 18.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/1.755, allocations: 11.5 kB / 0.9656 GB, free: 18.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.756, allocations: 370.2 kB / 0.966 GB, free: 18.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000662/1.756, allocations: 409 kB / 0.9664 GB, free: 18.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/1.757, allocations: 0.5505 MB / 0.9669 GB, free: 18.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/1.758, allocations: 473.5 kB / 0.9674 GB, free: 17.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.758, allocations: 0 / 0.9674 GB, free: 17.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001926/1.76, allocations: 1.158 MB / 0.9685 GB, free: 17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.76, allocations: 8 kB / 0.9685 GB, free: 17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.76, allocations: 4 kB / 0.9685 GB, free: 16.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/1.76, allocations: 114.9 kB / 0.9686 GB, free: 16.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008878/1.761, allocations: 201.3 kB / 0.9688 GB, free: 16.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5154/2.276, allocations: 46.29 MB / 1.014 GB, free: 181.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/2.277, allocations: 83.39 kB / 1.014 GB, free: 181.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/2.277, allocations: 23.88 kB / 1.014 GB, free: 181.1 MB / 0.6544 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 (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,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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 initialization (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000372/2.278, allocations: 226.2 kB / 1.014 GB, free: 181 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/2.278, allocations: 57.62 kB / 1.014 GB, free: 181 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/2.281, allocations: 2.426 MB / 1.017 GB, free: 180.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/2.281, allocations: 23.64 kB / 1.017 GB, free: 180.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.281, allocations: 2.781 kB / 1.017 GB, free: 180.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002115/2.283, allocations: 1.681 MB / 1.018 GB, free: 180.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/2.286, allocations: 2.499 MB / 1.021 GB, free: 179.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/2.286, allocations: 3.75 kB / 1.021 GB, free: 179.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/2.287, allocations: 125 kB / 1.021 GB, free: 179.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005352/2.287, allocations: 219.8 kB / 1.021 GB, free: 179.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/2.287, allocations: 17.89 kB / 1.021 GB, free: 179.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/2.29, allocations: 3.784 MB / 1.025 GB, free: 176.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.29, allocations: 0 / 1.025 GB, free: 176.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/2.293, allocations: 2.028 MB / 1.027 GB, free: 176.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/2.293, allocations: 151.3 kB / 1.027 GB, free: 176 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/2.293, allocations: 13.31 kB / 1.027 GB, free: 176 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/2.293, allocations: 66.88 kB / 1.027 GB, free: 176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/2.294, allocations: 75.08 kB / 1.027 GB, free: 176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/2.294, allocations: 20.33 kB / 1.027 GB, free: 176 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003163/2.294, allocations: 249.7 kB / 1.027 GB, free: 175.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/2.294, allocations: 1.5 kB / 1.027 GB, free: 175.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01202/2.306, allocations: 4.824 MB / 1.032 GB, free: 175.8 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02357/2.33, allocations: 5.947 MB / 1.038 GB, free: 175.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002875/2.333, allocations: 1.543 MB / 1.039 GB, free: 174.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/2.333, allocations: 2.656 kB / 1.039 GB, free: 174.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/2.334, allocations: 0.842 MB / 1.04 GB, free: 174.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/2.336, allocations: 485.8 kB / 1.041 GB, free: 174.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/2.338, allocations: 2.1 MB / 1.043 GB, free: 173.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/2.339, allocations: 0.9321 MB / 1.044 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/2.339, allocations: 54.03 kB / 1.044 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/2.339, allocations: 0 / 1.044 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1577/2.497, allocations: 129.2 MB / 1.17 GB, free: 74.11 MB / 0.6544 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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