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.0009395/0.0009392, allocations: 103 kB / 15.71 MB, free: 460 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.001182/0.001182, allocations: 177.8 kB / 16.58 MB, free: 6.109 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.533/1.533, allocations: 205.4 MB / 222.7 MB, free: 5.254 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04408/0.04408, allocations: 9.061 MB / 280.1 MB, free: 12.11 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.0004707/0.0004708, allocations: 16 kB / 339.8 MB, free: 25.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 49.21 MB / 389 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel): time 0.3629/0.4637, allocations: 119.8 MB / 0.4969 GB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3865/0.8501, allocations: 103.8 MB / 0.5982 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.8509, allocations: 6.844 kB / 0.5982 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.8538, allocations: 1.069 MB / 0.5993 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.8573, allocations: 1.33 MB / 0.6006 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07562/0.9329, allocations: 22.45 MB / 0.6225 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.9351, allocations: 1.578 MB / 0.6241 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.9353, allocations: 90.73 kB / 0.6241 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0163/0.9516, allocations: 8.806 MB / 0.6327 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.9522, allocations: 369.9 kB / 0.6331 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.9522, allocations: 19.81 kB / 0.6331 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05556/1.008, allocations: 27.58 MB / 0.66 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/1.008, allocations: 90.16 kB / 0.6601 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/1.009, allocations: 149.6 kB / 0.6603 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02095/1.029, allocations: 8.567 MB / 0.6686 GB, free: 5.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.03, allocations: 0 / 0.6686 GB, free: 5.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/1.03, allocations: 0 / 0.6686 GB, free: 5.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/1.03, allocations: 0 / 0.6686 GB, free: 5.516 MB / 462.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.006822/1.036, allocations: 2.49 MB / 0.6711 GB, free: 3.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.036, allocations: 8.031 kB / 0.6711 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005566/1.037, allocations: 88.67 kB / 0.6712 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/1.037, allocations: 332.9 kB / 0.6715 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/1.037, allocations: 30.17 kB / 0.6715 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/1.037, allocations: 33.66 kB / 0.6715 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/1.039, allocations: 0.6162 MB / 0.6721 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.039, allocations: 4 kB / 0.6721 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/1.039, allocations: 13.56 kB / 0.6722 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/1.039, allocations: 15.03 kB / 0.6722 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.04, allocations: 0.5771 MB / 0.6727 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/1.042, allocations: 2.55 MB / 0.6752 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.043, allocations: 0.5189 MB / 0.6757 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/1.044, allocations: 351.1 kB / 0.6761 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4385/1.482, allocations: 135.8 MB / 0.8087 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/1.482, allocations: 43.31 kB / 0.8087 GB, free: 278.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.004e-06/1.482, allocations: 0.6875 kB / 0.8087 GB, free: 278.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005635/1.488, allocations: 2.392 MB / 0.8111 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.488, allocations: 57.34 kB / 0.8111 GB, free: 277.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/1.488, allocations: 255.1 kB / 0.8114 GB, free: 277.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.488, allocations: 33.7 kB / 0.8114 GB, free: 277.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/1.488, allocations: 185 kB / 0.8116 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.489, allocations: 273 kB / 0.8118 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/1.489, allocations: 7.344 kB / 0.8118 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/1.489, allocations: 351.9 kB / 0.8122 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.489, allocations: 282.4 kB / 0.8125 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/1.49, allocations: 409.1 kB / 0.8128 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/1.49, allocations: 333.2 kB / 0.8132 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.49, allocations: 0 / 0.8132 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001354/1.492, allocations: 0.8132 MB / 0.814 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.492, allocations: 6.438 kB / 0.814 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.492, allocations: 3.312 kB / 0.814 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/1.492, allocations: 67.89 kB / 0.814 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/1.492, allocations: 106.1 kB / 0.8141 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07683/1.569, allocations: 22.59 MB / 0.8362 GB, free: 261.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/1.57, allocations: 55.86 kB / 0.8362 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/1.57, allocations: 20 kB / 0.8363 GB, free: 261.2 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.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002693/1.57, allocations: 185 kB / 0.8364 GB, free: 261 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/1.57, allocations: 51.39 kB / 0.8365 GB, free: 261 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/1.572, allocations: 1.582 MB / 0.838 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.572, allocations: 6.109 kB / 0.838 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.572, allocations: 4 kB / 0.838 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/1.573, allocations: 1.166 MB / 0.8392 GB, free: 258.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.575, allocations: 1.617 MB / 0.8408 GB, free: 256.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.575, allocations: 0 / 0.8408 GB, free: 256.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/1.575, allocations: 87.92 kB / 0.8408 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/1.575, allocations: 44.8 kB / 0.8409 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/1.575, allocations: 20.62 kB / 0.8409 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007127/1.576, allocations: 1.332 MB / 0.8422 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.576, allocations: 0 / 0.8422 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/1.577, allocations: 1.217 MB / 0.8434 GB, free: 253.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/1.577, allocations: 140.5 kB / 0.8435 GB, free: 253.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/1.577, allocations: 7.953 kB / 0.8435 GB, free: 253.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/1.578, allocations: 55.86 kB / 0.8436 GB, free: 253.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/1.578, allocations: 43.92 kB / 0.8436 GB, free: 253.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/1.578, allocations: 16 kB / 0.8436 GB, free: 253.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001928/1.578, allocations: 235 kB / 0.8439 GB, free: 253 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.578, allocations: 8 kB / 0.8439 GB, free: 253 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00963/1.588, allocations: 3.18 MB / 0.847 GB, free: 250.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01464/1.602, allocations: 4.11 MB / 0.851 GB, free: 246.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001577/1.604, allocations: 0.952 MB / 0.8519 GB, free: 245.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.604, allocations: 192 / 0.8519 GB, free: 245.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005875/1.605, allocations: 498.9 kB / 0.8524 GB, free: 245.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.606, allocations: 332.1 kB / 0.8527 GB, free: 244.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/1.608, allocations: 1.421 MB / 0.8541 GB, free: 243.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/1.608, allocations: 0.8525 MB / 0.8549 GB, free: 242.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/1.608, allocations: 43.42 kB / 0.855 GB, free: 242.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/1.608, allocations: 4 kB / 0.855 GB, free: 242.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.09513/1.703, allocations: 76.06 MB / 0.9293 GB, free: 166.4 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel.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.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