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.0008062/0.0008059, allocations: 99.83 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.0009083/0.0009082, allocations: 174.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.582/1.582, allocations: 205.4 MB / 222.7 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.0453/0.0453, allocations: 9.07 MB / 280.1 MB, free: 12.26 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.0004902/0.0004902, allocations: 20 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 49.19 MB / 388.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.401/0.5033, allocations: 182.6 MB / 0.5581 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4291/0.9325, allocations: 132.3 MB / 0.6874 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.9336, allocations: 6.719 kB / 0.6874 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.9362, allocations: 1.046 MB / 0.6884 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.939, allocations: 1.261 MB / 0.6896 GB, free: 7.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09338/1.032, allocations: 29.73 MB / 0.7186 GB, free: 3.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003342/1.036, allocations: 2.201 MB / 0.7208 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/1.036, allocations: 158 kB / 0.7209 GB, free: 1.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/1.038, allocations: 0.6948 MB / 0.7216 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/1.038, allocations: 0.506 MB / 0.7221 GB, free: 452 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/1.038, allocations: 24 kB / 0.7221 GB, free: 428 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08013/1.118, allocations: 35.11 MB / 0.7564 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/1.119, allocations: 135.1 kB / 0.7566 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/1.119, allocations: 189.4 kB / 0.7567 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.031/1.15, allocations: 11.45 MB / 0.7679 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.15, allocations: 4 kB / 0.7679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.246e-06/1.15, allocations: 0 / 0.7679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.15, allocations: 0 / 0.7679 GB, free: 3.945 MB / 0.4981 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.007932/1.158, allocations: 3.24 MB / 0.7711 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.158, allocations: 12.03 kB / 0.7711 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006886/1.159, allocations: 115.1 kB / 0.7712 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/1.16, allocations: 405.8 kB / 0.7716 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/1.16, allocations: 42.55 kB / 0.7716 GB, free: 60 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/1.16, allocations: 48 kB / 0.7717 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.161, allocations: 0.8247 MB / 0.7725 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.161, allocations: 7.938 kB / 0.7725 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/1.161, allocations: 24 kB / 0.7725 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/1.162, allocations: 23.5 kB / 0.7725 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/1.163, allocations: 0.7855 MB / 0.7733 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/1.166, allocations: 3.428 MB / 0.7767 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/1.168, allocations: 0.7059 MB / 0.7773 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/1.168, allocations: 494.9 kB / 0.7778 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5619/1.73, allocations: 181.1 MB / 0.9547 GB, free: 28.26 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.731, allocations: 38.81 kB / 0.9547 GB, free: 28.22 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=109): time 3.977e-06/1.731, allocations: 3.844 kB / 0.9547 GB, free: 28.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117): time 0.008012/1.739, allocations: 3.513 MB / 0.9581 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.739, allocations: 62.44 kB / 0.9582 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/1.739, allocations: 307.5 kB / 0.9585 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/1.739, allocations: 37.36 kB / 0.9585 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.739, allocations: 224.7 kB / 0.9587 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.739, allocations: 384.8 kB / 0.9591 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/1.739, allocations: 10.28 kB / 0.9591 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.74, allocations: 375.3 kB / 0.9595 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/1.74, allocations: 410 kB / 0.9599 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/1.741, allocations: 0.5492 MB / 0.9604 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/1.742, allocations: 471.8 kB / 0.9609 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.742, allocations: 1.219 kB / 0.9609 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001747/1.743, allocations: 1.154 MB / 0.962 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.743, allocations: 11.95 kB / 0.962 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.743, allocations: 4 kB / 0.962 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/1.744, allocations: 108.1 kB / 0.9621 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/1.745, allocations: 218 kB / 0.9623 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3925/2.137, allocations: 46.3 MB / 1.008 GB, free: 364.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/2.138, allocations: 79.98 kB / 1.008 GB, free: 364.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/2.138, allocations: 27.08 kB / 1.008 GB, free: 364.2 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.0003787/2.138, allocations: 225.6 kB / 1.008 GB, free: 364.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/2.139, allocations: 57.81 kB / 1.008 GB, free: 364.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/2.142, allocations: 2.426 MB / 1.01 GB, free: 363.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/2.142, allocations: 19.78 kB / 1.01 GB, free: 363.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/2.142, allocations: 0 / 1.01 GB, free: 363.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002403/2.145, allocations: 1.691 MB / 1.012 GB, free: 363.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/2.148, allocations: 2.492 MB / 1.014 GB, free: 362.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.148, allocations: 1.094 kB / 1.014 GB, free: 362.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/2.149, allocations: 128.5 kB / 1.014 GB, free: 362.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/2.149, allocations: 217.4 kB / 1.015 GB, free: 362.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/2.149, allocations: 23.77 kB / 1.015 GB, free: 362.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/2.152, allocations: 3.792 MB / 1.018 GB, free: 358.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/2.152, allocations: 0.8594 kB / 1.018 GB, free: 358.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/2.155, allocations: 2.021 MB / 1.02 GB, free: 357.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/2.155, allocations: 148.8 kB / 1.021 GB, free: 357.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/2.155, allocations: 17.52 kB / 1.021 GB, free: 357.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/2.156, allocations: 67.7 kB / 1.021 GB, free: 357.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/2.156, allocations: 72.34 kB / 1.021 GB, free: 357.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/2.156, allocations: 21.41 kB / 1.021 GB, free: 357.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003427/2.156, allocations: 247.2 kB / 1.021 GB, free: 357.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/2.156, allocations: 1.125 kB / 1.021 GB, free: 357.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01501/2.171, allocations: 4.818 MB / 1.026 GB, free: 357.4 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.02266/2.194, allocations: 5.955 MB / 1.031 GB, free: 356.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002763/2.197, allocations: 1.553 MB / 1.033 GB, free: 355.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/2.197, allocations: 0 / 1.033 GB, free: 355.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/2.198, allocations: 0.8477 MB / 1.034 GB, free: 355.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/2.2, allocations: 465.4 kB / 1.034 GB, free: 355.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/2.203, allocations: 2.114 MB / 1.036 GB, free: 354.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/2.203, allocations: 0.9267 MB / 1.037 GB, free: 353.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/2.203, allocations: 51.78 kB / 1.037 GB, free: 353.4 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/2.203, allocations: 3.438 kB / 1.037 GB, free: 353.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.1638/2.367, allocations: 129.2 MB / 1.163 GB, free: 230.4 MB / 0.6544 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.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