Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009019/0.0009021, allocations: 99.05 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.001006/0.001006, allocations: 177.3 kB / 16.58 MB, free: 6.879 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.517/1.517, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04313/0.04313, allocations: 9.067 MB / 280.1 MB, free: 12.25 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.0005178/0.0005178, allocations: 20 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 49.19 MB / 389 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3401/0.4487, allocations: 120 MB / 0.497 GB, free: 272 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3892/0.838, allocations: 103.8 MB / 0.5984 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007712/0.8388, allocations: 6.281 kB / 0.5984 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.8418, allocations: 1.073 MB / 0.5995 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.8453, allocations: 1.325 MB / 0.6007 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0653/0.9106, allocations: 22.63 MB / 0.6228 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002595/0.9132, allocations: 1.575 MB / 0.6244 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.9134, allocations: 89.16 kB / 0.6245 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/0.9316, allocations: 9.771 MB / 0.634 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.9322, allocations: 362 kB / 0.6344 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.9322, allocations: 24.44 kB / 0.6344 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06094/0.9932, allocations: 27.91 MB / 0.6616 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.9935, allocations: 89.27 kB / 0.6617 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.9939, allocations: 149 kB / 0.6619 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0206/1.015, allocations: 8.61 MB / 0.6703 GB, free: 4.043 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/1.015, allocations: 0 / 0.6703 GB, free: 4.043 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.006e-06/1.015, allocations: 0 / 0.6703 GB, free: 4.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/1.015, allocations: 8 kB / 0.6703 GB, free: 4.035 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.008169/1.023, allocations: 2.49 MB / 0.6727 GB, free: 1.594 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.023, allocations: 12.03 kB / 0.6727 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/1.023, allocations: 84.69 kB / 0.6728 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/1.024, allocations: 327.8 kB / 0.6731 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/1.024, allocations: 30.48 kB / 0.6731 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/1.024, allocations: 33.66 kB / 0.6732 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/1.025, allocations: 0.6128 MB / 0.6738 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.025, allocations: 4 kB / 0.6738 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/1.025, allocations: 13.5 kB / 0.6738 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/1.025, allocations: 23.95 kB / 0.6738 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.027, allocations: 0.5679 MB / 0.6744 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/1.029, allocations: 2.471 MB / 0.6768 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/1.03, allocations: 0.493 MB / 0.6773 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/1.031, allocations: 350.2 kB / 0.6776 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4354/1.466, allocations: 135.8 MB / 0.8102 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/1.466, allocations: 43.06 kB / 0.8103 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.266e-06/1.466, allocations: 0 / 0.8103 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005855/1.472, allocations: 2.395 MB / 0.8126 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.472, allocations: 54.28 kB / 0.8127 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/1.472, allocations: 264.2 kB / 0.8129 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.472, allocations: 33.73 kB / 0.8129 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.473, allocations: 190.9 kB / 0.8131 GB, free: 276.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.473, allocations: 259.3 kB / 0.8134 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/1.473, allocations: 6.844 kB / 0.8134 GB, free: 276.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/1.473, allocations: 358.3 kB / 0.8137 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/1.473, allocations: 289.5 kB / 0.814 GB, free: 275.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/1.474, allocations: 405.5 kB / 0.8144 GB, free: 275.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/1.474, allocations: 337.5 kB / 0.8147 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.474, allocations: 1.5 kB / 0.8147 GB, free: 275.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001311/1.476, allocations: 0.8196 MB / 0.8155 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.476, allocations: 6.375 kB / 0.8155 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.476, allocations: 3.156 kB / 0.8155 GB, free: 275.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/1.476, allocations: 71.14 kB / 0.8156 GB, free: 275 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/1.477, allocations: 152.5 kB / 0.8157 GB, free: 275 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07985/1.557, allocations: 25.07 MB / 0.8402 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/1.557, allocations: 63.91 kB / 0.8403 GB, free: 257.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/1.557, allocations: 19.92 kB / 0.8403 GB, free: 257.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 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.0003732/1.558, allocations: 188.8 kB / 0.8405 GB, free: 257 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/1.558, allocations: 47.39 kB / 0.8405 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/1.56, allocations: 1.739 MB / 0.8422 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.56, allocations: 18.58 kB / 0.8422 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.56, allocations: 0 / 0.8422 GB, free: 255.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/1.561, allocations: 1.32 MB / 0.8435 GB, free: 253.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1.563, allocations: 1.775 MB / 0.8452 GB, free: 251.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.563, allocations: 3.938 kB / 0.8453 GB, free: 251.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/1.563, allocations: 83.94 kB / 0.8453 GB, free: 251.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003359/1.563, allocations: 176.1 kB / 0.8455 GB, free: 251.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/1.563, allocations: 7.938 kB / 0.8455 GB, free: 251.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/1.564, allocations: 2.476 MB / 0.8479 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.564, allocations: 0 / 0.8479 GB, free: 248.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.566, allocations: 1.426 MB / 0.8493 GB, free: 247.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/1.566, allocations: 136.5 kB / 0.8494 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/1.566, allocations: 4 kB / 0.8495 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/1.566, allocations: 47.94 kB / 0.8495 GB, free: 247.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/1.567, allocations: 43.92 kB / 0.8495 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/1.567, allocations: 15.98 kB / 0.8496 GB, free: 247.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000173/1.567, allocations: 219.1 kB / 0.8498 GB, free: 247 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.567, allocations: 0 / 0.8498 GB, free: 247 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008421/1.575, allocations: 3.188 MB / 0.8529 GB, free: 244.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * 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: 3 * 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: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/1.589, allocations: 4.154 MB / 0.8569 GB, free: 240.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001872/1.59, allocations: 1.031 MB / 0.8579 GB, free: 239.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.59, allocations: 0 / 0.8579 GB, free: 239.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006254/1.591, allocations: 0.5227 MB / 0.8585 GB, free: 239 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/1.593, allocations: 348.2 kB / 0.8588 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/1.594, allocations: 1.466 MB / 0.8602 GB, free: 237.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.595, allocations: 0.8487 MB / 0.861 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/1.595, allocations: 39.44 kB / 0.8611 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.595, allocations: 0 / 0.8611 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1021/1.697, allocations: 81.99 MB / 0.9412 GB, free: 154.2 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModelCalcHelperMain.o] Error 1