Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.0007982, allocations: 102.6 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.0008971/0.0008971, allocations: 175.5 kB / 16.58 MB, free: 6.402 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.513/1.513, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04452/0.04452, allocations: 9.073 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.0005005/0.0005006, allocations: 12 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09375, allocations: 49.19 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3397/0.4335, allocations: 119.7 MB / 0.4968 GB, free: 500 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.4093/0.8429, allocations: 103.8 MB / 0.5982 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007739/0.8437, allocations: 7.344 kB / 0.5982 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.8468, allocations: 1.072 MB / 0.5992 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.8506, allocations: 1.325 MB / 0.6005 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07301/0.9236, allocations: 22.34 MB / 0.6223 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.9259, allocations: 1.576 MB / 0.6239 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.9261, allocations: 92.09 kB / 0.6239 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01843/0.9445, allocations: 10.56 MB / 0.6343 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.945, allocations: 363.1 kB / 0.6346 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.9451, allocations: 17.25 kB / 0.6346 GB, free: 8.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05457/0.9996, allocations: 27.24 MB / 0.6612 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003056/1, allocations: 101.5 kB / 0.6613 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/1, allocations: 138.9 kB / 0.6614 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02089/1.021, allocations: 8.498 MB / 0.6697 GB, free: 4.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.021, allocations: 0 / 0.6697 GB, free: 4.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.515e-06/1.021, allocations: 4 kB / 0.6698 GB, free: 4.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/1.021, allocations: 0 / 0.6698 GB, free: 4.859 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.006314/1.028, allocations: 2.499 MB / 0.6722 GB, free: 2.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.028, allocations: 8.031 kB / 0.6722 GB, free: 2.402 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005321/1.028, allocations: 86.22 kB / 0.6723 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/1.029, allocations: 326.3 kB / 0.6726 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/1.029, allocations: 34.48 kB / 0.6726 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/1.029, allocations: 38.52 kB / 0.6727 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.03, allocations: 0.615 MB / 0.6733 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.03, allocations: 5.641 kB / 0.6733 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/1.03, allocations: 13.25 kB / 0.6733 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/1.03, allocations: 17.91 kB / 0.6733 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/1.031, allocations: 0.568 MB / 0.6739 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/1.034, allocations: 2.465 MB / 0.6763 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009473/1.035, allocations: 0.502 MB / 0.6767 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/1.035, allocations: 349.7 kB / 0.6771 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4145/1.45, allocations: 135.8 MB / 0.8097 GB, free: 278.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.45, allocations: 36.94 kB / 0.8097 GB, free: 278 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 2.986e-06/1.45, allocations: 0 / 0.8097 GB, free: 278 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005945/1.456, allocations: 2.407 MB / 0.8121 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/1.456, allocations: 54.78 kB / 0.8121 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/1.456, allocations: 257.4 kB / 0.8124 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/1.456, allocations: 31.67 kB / 0.8124 GB, free: 277.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.456, allocations: 198.4 kB / 0.8126 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/1.456, allocations: 262.6 kB / 0.8129 GB, free: 277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.456, allocations: 8 kB / 0.8129 GB, free: 277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/1.456, allocations: 356.7 kB / 0.8132 GB, free: 276.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/1.457, allocations: 286.7 kB / 0.8135 GB, free: 276.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/1.457, allocations: 405 kB / 0.8139 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/1.458, allocations: 336.3 kB / 0.8142 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.458, allocations: 1.094 kB / 0.8142 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001351/1.459, allocations: 0.8245 MB / 0.815 GB, free: 276 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.459, allocations: 6.875 kB / 0.815 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.459, allocations: 4.562 kB / 0.815 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/1.46, allocations: 71.39 kB / 0.8151 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/1.46, allocations: 144.5 kB / 0.8152 GB, free: 275.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07948/1.54, allocations: 23.84 MB / 0.8385 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/1.54, allocations: 62.72 kB / 0.8386 GB, free: 259.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/1.54, allocations: 20 kB / 0.8386 GB, free: 259.4 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.0002857/1.541, allocations: 180 kB / 0.8387 GB, free: 259.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/1.541, allocations: 47.39 kB / 0.8388 GB, free: 259.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.542, allocations: 1.741 MB / 0.8405 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.542, allocations: 13.88 kB / 0.8405 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.542, allocations: 0 / 0.8405 GB, free: 257.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.544, allocations: 1.325 MB / 0.8418 GB, free: 256 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.545, allocations: 1.773 MB / 0.8435 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/1.545, allocations: 0 / 0.8435 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/1.546, allocations: 87.88 kB / 0.8436 GB, free: 254.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/1.546, allocations: 171.5 kB / 0.8438 GB, free: 253.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.546, allocations: 15.98 kB / 0.8438 GB, free: 253.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/1.547, allocations: 2.475 MB / 0.8462 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.547, allocations: 0 / 0.8462 GB, free: 251.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/1.549, allocations: 1.418 MB / 0.8476 GB, free: 249.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.549, allocations: 132.5 kB / 0.8477 GB, free: 249.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/1.549, allocations: 15.98 kB / 0.8477 GB, free: 249.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/1.549, allocations: 47.88 kB / 0.8478 GB, free: 249.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.55, allocations: 47.2 kB / 0.8478 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/1.55, allocations: 15.98 kB / 0.8478 GB, free: 249.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002089/1.55, allocations: 219.1 kB / 0.8481 GB, free: 249.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.55, allocations: 0 / 0.8481 GB, free: 249.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01166/1.561, allocations: 3.183 MB / 0.8512 GB, free: 246.5 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.0129/1.574, allocations: 4.023 MB / 0.8551 GB, free: 243 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001872/1.576, allocations: 1.037 MB / 0.8561 GB, free: 241.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.576, allocations: 4 kB / 0.8561 GB, free: 241.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/1.577, allocations: 0.5175 MB / 0.8566 GB, free: 241.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.579, allocations: 352.4 kB / 0.857 GB, free: 241 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.58, allocations: 1.47 MB / 0.8584 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/1.58, allocations: 0.8526 MB / 0.8592 GB, free: 238.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.254e-05/1.581, allocations: 43.44 kB / 0.8593 GB, free: 238.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.91e-07/1.581, allocations: 0 / 0.8593 GB, free: 238.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1047/1.685, allocations: 81.89 MB / 0.9392 GB, free: 156.6 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModelCalcHelperMain.o] Error 1