Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009738, allocations: 92.39 kB / 16.02 MB, free: 80 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.001333/0.001333, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.769/1.769, allocations: 205.4 MB / 223.1 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04431/0.04431, allocations: 9.079 MB / 280.5 MB, free: 12.15 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.0005278/0.0005278, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 49.19 MB / 389.6 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.5018/0.6151, allocations: 196.3 MB / 0.5721 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5346/1.15, allocations: 142.3 MB / 0.7111 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/1.151, allocations: 6.906 kB / 0.7111 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003135/1.154, allocations: 1.151 MB / 0.7122 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004121/1.158, allocations: 1.412 MB / 0.7136 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.118/1.276, allocations: 32.76 MB / 0.7456 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005757/1.282, allocations: 2.56 MB / 0.7481 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/1.283, allocations: 154.8 kB / 0.7482 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/1.285, allocations: 0.7 MB / 0.7489 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/1.287, allocations: 0.5365 MB / 0.7494 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/1.287, allocations: 28 kB / 0.7495 GB, free: 8.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08447/1.372, allocations: 39.37 MB / 0.7879 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004132/1.372, allocations: 143.3 kB / 0.788 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008971/1.373, allocations: 412 kB / 0.7884 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.441/1.814, allocations: 11.2 MB / 0.7994 GB, free: 36.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.814, allocations: 2 kB / 0.7994 GB, free: 36.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.075e-06/1.814, allocations: 7.656 kB / 0.7994 GB, free: 36.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.814, allocations: 0 / 0.7994 GB, free: 36.12 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.0177/1.832, allocations: 3.231 MB / 0.8025 GB, free: 34.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.832, allocations: 9.594 kB / 0.8025 GB, free: 34.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/1.833, allocations: 117.2 kB / 0.8026 GB, free: 34.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/1.833, allocations: 405.1 kB / 0.803 GB, free: 34.17 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/1.833, allocations: 43.28 kB / 0.8031 GB, free: 34.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/1.833, allocations: 48.56 kB / 0.8031 GB, free: 34.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.835, allocations: 0.8379 MB / 0.8039 GB, free: 34.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.835, allocations: 0 / 0.8039 GB, free: 34.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/1.835, allocations: 21.06 kB / 0.804 GB, free: 34.06 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/1.835, allocations: 24.22 kB / 0.804 GB, free: 34.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/1.837, allocations: 0.7904 MB / 0.8048 GB, free: 34.06 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/1.84, allocations: 3.435 MB / 0.8081 GB, free: 31.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/1.842, allocations: 0.7058 MB / 0.8088 GB, free: 31.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/1.843, allocations: 498.5 kB / 0.8093 GB, free: 31.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3519/2.194, allocations: 181.1 MB / 0.9861 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.882e-05/2.195, allocations: 38.36 kB / 0.9862 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=109): time 4.669e-06/2.195, allocations: 2.625 kB / 0.9862 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117): time 0.01079/2.205, allocations: 3.524 MB / 0.9896 GB, free: 360 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/2.205, allocations: 59.97 kB / 0.9897 GB, free: 288 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/2.206, allocations: 314 kB / 0.99 GB, free: 20 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/2.206, allocations: 36.14 kB / 0.99 GB, free: 15.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/2.206, allocations: 229.5 kB / 0.9902 GB, free: 15.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/2.207, allocations: 376.2 kB / 0.9906 GB, free: 15.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/2.207, allocations: 87.47 kB / 0.9907 GB, free: 15.42 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002001/2.207, allocations: 368.7 kB / 0.991 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008115/2.208, allocations: 418 kB / 0.9914 GB, free: 14.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/2.209, allocations: 0.5475 MB / 0.9919 GB, free: 14.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/2.211, allocations: 1.01 MB / 0.9929 GB, free: 13.72 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/2.211, allocations: 0 / 0.9929 GB, free: 13.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00246/2.213, allocations: 1.165 MB / 0.9941 GB, free: 12.92 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/2.213, allocations: 8.469 kB / 0.9941 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/2.213, allocations: 4 kB / 0.9941 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/2.214, allocations: 111.1 kB / 0.9942 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/2.215, allocations: 216.5 kB / 0.9944 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6438/2.859, allocations: 46.3 MB / 1.04 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/2.86, allocations: 82.75 kB / 1.04 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/2.86, allocations: 28.14 kB / 1.04 GB, free: 187.1 MB / 0.67 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.0004897/2.86, allocations: 224.5 kB / 1.04 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/2.861, allocations: 57.97 kB / 1.04 GB, free: 186.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/2.864, allocations: 2.426 MB / 1.042 GB, free: 186.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-05/2.864, allocations: 21.05 kB / 1.042 GB, free: 186.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/2.864, allocations: 0 / 1.042 GB, free: 186.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002326/2.867, allocations: 1.69 MB / 1.044 GB, free: 186.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/2.871, allocations: 2.493 MB / 1.046 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/2.871, allocations: 3.641 kB / 1.046 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/2.871, allocations: 126 kB / 1.047 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/2.872, allocations: 224.6 kB / 1.047 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/2.872, allocations: 14.81 kB / 1.047 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/2.874, allocations: 3.809 MB / 1.051 GB, free: 182.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.874, allocations: 0.875 kB / 1.051 GB, free: 182.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/2.877, allocations: 2.017 MB / 1.052 GB, free: 182 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/2.878, allocations: 159.1 kB / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/2.878, allocations: 10.53 kB / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/2.878, allocations: 66.39 kB / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/2.878, allocations: 67.81 kB / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/2.879, allocations: 19.84 kB / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002969/2.879, allocations: 253.9 kB / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/2.879, allocations: 0 / 1.053 GB, free: 181.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0215/2.9, allocations: 4.827 MB / 1.058 GB, free: 181.6 MB / 0.67 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.04255/2.943, allocations: 5.962 MB / 1.064 GB, free: 180.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003542/2.947, allocations: 1.562 MB / 1.065 GB, free: 180 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/2.947, allocations: 0 / 1.065 GB, free: 180 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/2.948, allocations: 0.8386 MB / 1.066 GB, free: 179.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/2.951, allocations: 0.5174 MB / 1.066 GB, free: 179.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/2.955, allocations: 2.167 MB / 1.069 GB, free: 178.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/2.955, allocations: 0.9346 MB / 1.069 GB, free: 177.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/2.956, allocations: 56.69 kB / 1.07 GB, free: 177.9 MB / 0.67 GB Notification: Performance of SimCode: time 2.144e-06/2.956, allocations: 0 / 1.07 GB, free: 177.9 MB / 0.67 GB Notification: Performance of Templates: time 0.1932/3.149, allocations: 129.7 MB / 1.196 GB, free: 55.8 MB / 0.67 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.EthanolTestModel2CalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2CalcHelperMain.o] Error 1