Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008323, allocations: 92 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.001209/0.001209, allocations: 183.7 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.865/1.865, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04488/0.04488, allocations: 9.065 MB / 280.5 MB, free: 12.14 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.0008085/0.0008085, allocations: 16.2 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1276, allocations: 49.19 MB / 389.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.421/0.5486, allocations: 127.6 MB / 0.5051 GB, free: 8.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.5053/1.054, allocations: 110 MB / 0.6125 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008127/1.055, allocations: 7.375 kB / 0.6125 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002496/1.057, allocations: 0.8529 MB / 0.6133 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/1.061, allocations: 0.9452 MB / 0.6143 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08777/1.149, allocations: 24.57 MB / 0.6383 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002618/1.152, allocations: 1.793 MB / 0.64 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/1.152, allocations: 88.98 kB / 0.6401 GB, free: 0.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01981/1.172, allocations: 11.31 MB / 0.6511 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/1.173, allocations: 379.1 kB / 0.6515 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/1.173, allocations: 18.38 kB / 0.6515 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06282/1.235, allocations: 29.54 MB / 0.6804 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/1.236, allocations: 98.92 kB / 0.6805 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007085/1.236, allocations: 304.2 kB / 0.6807 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02314/1.26, allocations: 8.409 MB / 0.689 GB, free: 4.781 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.26, allocations: 0 / 0.689 GB, free: 4.781 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.168e-06/1.26, allocations: 0 / 0.689 GB, free: 4.781 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/1.26, allocations: 0 / 0.689 GB, free: 4.781 MB / 478.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.01158/1.271, allocations: 2.491 MB / 0.6914 GB, free: 2.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/1.271, allocations: 8.031 kB / 0.6914 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/1.272, allocations: 95.23 kB / 0.6915 GB, free: 2.238 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/1.273, allocations: 337.7 kB / 0.6918 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/1.273, allocations: 28.34 kB / 0.6918 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/1.273, allocations: 36.5 kB / 0.6919 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.274, allocations: 0.6055 MB / 0.6925 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.274, allocations: 4 kB / 0.6925 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/1.274, allocations: 19.06 kB / 0.6925 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/1.274, allocations: 11.62 kB / 0.6925 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/1.276, allocations: 0.5753 MB / 0.6931 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/1.279, allocations: 2.563 MB / 0.6956 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.28, allocations: 0.5191 MB / 0.6961 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/1.281, allocations: 351.1 kB / 0.6964 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4916/1.772, allocations: 135.8 MB / 0.829 GB, free: 263.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/1.772, allocations: 39.5 kB / 0.8291 GB, free: 263.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 4.849e-06/1.772, allocations: 3.125 kB / 0.8291 GB, free: 263.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006208/1.779, allocations: 2.402 MB / 0.8314 GB, free: 262.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.779, allocations: 55.38 kB / 0.8315 GB, free: 262.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.779, allocations: 257.6 kB / 0.8317 GB, free: 262.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/1.779, allocations: 30.77 kB / 0.8317 GB, free: 262.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.779, allocations: 184.3 kB / 0.8319 GB, free: 262.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/1.779, allocations: 266.3 kB / 0.8322 GB, free: 262.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/1.779, allocations: 64.72 kB / 0.8322 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/1.779, allocations: 361.4 kB / 0.8326 GB, free: 261.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/1.78, allocations: 282.3 kB / 0.8328 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/1.78, allocations: 408.4 kB / 0.8332 GB, free: 261.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.781, allocations: 0.7218 MB / 0.8339 GB, free: 261 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.781, allocations: 0 / 0.8339 GB, free: 261 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00134/1.783, allocations: 0.83 MB / 0.8347 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.783, allocations: 3.969 kB / 0.8347 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.783, allocations: 3.969 kB / 0.8347 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/1.783, allocations: 63.86 kB / 0.8348 GB, free: 260.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.783, allocations: 102.5 kB / 0.8349 GB, free: 260.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09206/1.875, allocations: 22.6 MB / 0.857 GB, free: 243.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/1.876, allocations: 59.88 kB / 0.857 GB, free: 243.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/1.876, allocations: 20 kB / 0.8571 GB, free: 243.4 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.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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/1.876, allocations: 187.9 kB / 0.8572 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/1.876, allocations: 43.44 kB / 0.8573 GB, free: 243.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/1.878, allocations: 1.581 MB / 0.8588 GB, free: 241.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.878, allocations: 13.23 kB / 0.8588 GB, free: 241.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.878, allocations: 4 kB / 0.8588 GB, free: 241.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/1.879, allocations: 1.16 MB / 0.86 GB, free: 240.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/1.881, allocations: 1.627 MB / 0.8616 GB, free: 238.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.881, allocations: 0 / 0.8616 GB, free: 238.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/1.882, allocations: 83.94 kB / 0.8616 GB, free: 238.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002406/1.882, allocations: 52.69 kB / 0.8617 GB, free: 238.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/1.882, allocations: 15.98 kB / 0.8617 GB, free: 238.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007664/1.883, allocations: 1.333 MB / 0.863 GB, free: 237 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.883, allocations: 0 / 0.863 GB, free: 237 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/1.884, allocations: 1.215 MB / 0.8642 GB, free: 235.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/1.885, allocations: 140.5 kB / 0.8643 GB, free: 235.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/1.885, allocations: 12 kB / 0.8643 GB, free: 235.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.885, allocations: 51.86 kB / 0.8644 GB, free: 235.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/1.885, allocations: 39.94 kB / 0.8644 GB, free: 235.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/1.885, allocations: 12 kB / 0.8644 GB, free: 235.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002036/1.885, allocations: 243 kB / 0.8647 GB, free: 235.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.885, allocations: 4 kB / 0.8647 GB, free: 235.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009497/1.895, allocations: 3.189 MB / 0.8678 GB, free: 232.5 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01681/1.912, allocations: 4.117 MB / 0.8718 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.913, allocations: 0.9567 MB / 0.8727 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.913, allocations: 0 / 0.8727 GB, free: 227.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006636/1.914, allocations: 0.4917 MB / 0.8732 GB, free: 227.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.916, allocations: 375.8 kB / 0.8736 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/1.918, allocations: 1.456 MB / 0.875 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.918, allocations: 0.8526 MB / 0.8758 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.918, allocations: 39.44 kB / 0.8759 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.074e-06/1.918, allocations: 0 / 0.8759 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1096/2.028, allocations: 76.61 MB / 0.9507 GB, free: 147.9 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.EthanolTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModelCalcHelperMain.o] Error 1