Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009526, allocations: 92.78 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.001235/0.001235, allocations: 181.3 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.723/1.723, allocations: 205.4 MB / 223.1 MB, free: 5.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04815/0.04815, allocations: 9.063 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.0005158/0.0005158, allocations: 12.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 49.2 MB / 389.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.4393/0.5598, allocations: 142.3 MB / 0.5194 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5047/1.065, allocations: 98.11 MB / 0.6152 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009853/1.066, allocations: 7.844 kB / 0.6152 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004466/1.07, allocations: 1.173 MB / 0.6163 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005118/1.075, allocations: 1.466 MB / 0.6178 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09458/1.17, allocations: 25.16 MB / 0.6424 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003321/1.173, allocations: 1.83 MB / 0.6441 GB, free: 156 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003093/1.174, allocations: 92.86 kB / 0.6442 GB, free: 136 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01863/1.192, allocations: 9.41 MB / 0.6534 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/1.193, allocations: 381.8 kB / 0.6538 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-05/1.193, allocations: 19.78 kB / 0.6538 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06202/1.255, allocations: 28.19 MB / 0.6813 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003849/1.255, allocations: 103.7 kB / 0.6814 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007871/1.256, allocations: 307.2 kB / 0.6817 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02055/1.277, allocations: 7.425 MB / 0.689 GB, free: 6.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.277, allocations: 4 kB / 0.689 GB, free: 6.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.136e-06/1.277, allocations: 0 / 0.689 GB, free: 6.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/1.277, allocations: 0 / 0.689 GB, free: 6.797 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.007074/1.284, allocations: 2.201 MB / 0.6911 GB, free: 4.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/1.284, allocations: 8.031 kB / 0.6911 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000536/1.285, allocations: 86.81 kB / 0.6912 GB, free: 4.551 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/1.285, allocations: 337.5 kB / 0.6915 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/1.285, allocations: 29.34 kB / 0.6916 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/1.285, allocations: 29.31 kB / 0.6916 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.286, allocations: 0.604 MB / 0.6922 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.286, allocations: 3.094 kB / 0.6922 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/1.286, allocations: 15.94 kB / 0.6922 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.286, allocations: 15.83 kB / 0.6922 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/1.288, allocations: 0.556 MB / 0.6928 GB, free: 3.355 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/1.29, allocations: 2.497 MB / 0.6952 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.291, allocations: 0.5126 MB / 0.6957 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/1.292, allocations: 349.3 kB / 0.696 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5745/1.867, allocations: 119.3 MB / 0.8125 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/1.867, allocations: 33.31 kB / 0.8125 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 5.731e-06/1.867, allocations: 2.375 kB / 0.8125 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.007147/1.874, allocations: 2.477 MB / 0.815 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/1.874, allocations: 54.47 kB / 0.815 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/1.874, allocations: 258 kB / 0.8153 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/1.874, allocations: 32.08 kB / 0.8153 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.874, allocations: 188.8 kB / 0.8155 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/1.875, allocations: 263.6 kB / 0.8157 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/1.875, allocations: 63.28 kB / 0.8158 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.875, allocations: 353.2 kB / 0.8161 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/1.875, allocations: 288.2 kB / 0.8164 GB, free: 138.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/1.876, allocations: 408.5 kB / 0.8168 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.877, allocations: 0.719 MB / 0.8175 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.877, allocations: 2.75 kB / 0.8175 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001717/1.879, allocations: 0.8311 MB / 0.8183 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.879, allocations: 6.531 kB / 0.8183 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.879, allocations: 4.156 kB / 0.8183 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/1.88, allocations: 113 kB / 0.8184 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/1.88, allocations: 112.7 kB / 0.8185 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09557/1.976, allocations: 24.64 MB / 0.8426 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/1.976, allocations: 54.7 kB / 0.8426 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/1.977, allocations: 19.16 kB / 0.8427 GB, free: 128.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 2} * Without analytic Jacobian (size): 0 systems 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.000317/1.977, allocations: 198.2 kB / 0.8428 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/1.977, allocations: 45.28 kB / 0.8429 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/1.979, allocations: 1.723 MB / 0.8446 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.979, allocations: 9.016 kB / 0.8446 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/1.979, allocations: 0 / 0.8446 GB, free: 128 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/1.981, allocations: 1.301 MB / 0.8459 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/1.983, allocations: 1.768 MB / 0.8476 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.983, allocations: 0 / 0.8476 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/1.984, allocations: 83.56 kB / 0.8477 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/1.984, allocations: 207 kB / 0.8479 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.984, allocations: 10.62 kB / 0.8479 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.985, allocations: 2.492 MB / 0.8503 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.986, allocations: 160 / 0.8503 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.988, allocations: 1.497 MB / 0.8518 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/1.988, allocations: 140 kB / 0.8519 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/1.988, allocations: 4.188 kB / 0.8519 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/1.988, allocations: 47.62 kB / 0.8519 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.988, allocations: 50.11 kB / 0.852 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.988, allocations: 15.56 kB / 0.852 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002245/1.989, allocations: 221.8 kB / 0.8522 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.989, allocations: 0 / 0.8522 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009323/1.998, allocations: 2.899 MB / 0.855 GB, free: 124.3 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: 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 (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01747/2.015, allocations: 3.732 MB / 0.8587 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002684/2.018, allocations: 1.02 MB / 0.8597 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/2.018, allocations: 0 / 0.8597 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008327/2.019, allocations: 0.5275 MB / 0.8602 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/2.021, allocations: 373.5 kB / 0.8606 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/2.023, allocations: 1.491 MB / 0.862 GB, free: 122.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/2.024, allocations: 0.8653 MB / 0.8629 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/2.024, allocations: 38.38 kB / 0.8629 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/2.024, allocations: 2.625 kB / 0.8629 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1112/2.135, allocations: 77.49 MB / 0.9386 GB, free: 49.18 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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.ButaneTestModel_dT_component_phCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_phCalcHelperMain.o] Error 1