Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.265/2.265, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 185.2 kB / 360.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001308, allocations: 87.02 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.369e-05/1.391e-05, allocations: 4 kB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6745/0.6745, allocations: 115.2 MB / 0.9628 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.358/6.032, allocations: 2.374 GB / 3.337 GB, free: 77.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/6.033, allocations: 87.16 kB / 3.337 GB, free: 77.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 11.64/17.67, allocations: 2.421 GB / 5.758 GB, free: 96.55 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001323/17.67, allocations: 150 kB / 5.758 GB, free: 96.53 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02733/17.7, allocations: 5.658 MB / 5.764 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/17.7, allocations: 12.09 kB / 5.764 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/17.72, allocations: 1.441 MB / 5.765 GB, free: 94.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02765/17.74, allocations: 7.207 MB / 5.772 GB, free: 93.33 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/17.75, allocations: 147.3 kB / 5.773 GB, free: 93.33 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/17.75, allocations: 278.5 kB / 5.773 GB, free: 93.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02396/17.77, allocations: 5.397 MB / 5.778 GB, free: 93.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/17.8, allocations: 5.84 MB / 5.784 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/17.8, allocations: 3.875 kB / 5.784 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008594/17.8, allocations: 3.844 kB / 5.784 GB, free: 92.91 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/17.8, allocations: 224.7 kB / 5.784 GB, free: 92.9 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06609/17.86, allocations: 27.06 MB / 5.81 GB, free: 82.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006841/17.87, allocations: 2.495 MB / 5.813 GB, free: 82.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/17.88, allocations: 2.421 MB / 5.815 GB, free: 82.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/17.88, allocations: 1.109 MB / 5.816 GB, free: 81.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006647/17.88, allocations: 2.308 MB / 5.819 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 8.295e-06/17.88, allocations: 0 / 5.819 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.04564/17.93, allocations: 11.15 MB / 5.829 GB, free: 78.85 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/17.93, allocations: 196 kB / 5.83 GB, free: 78.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/17.94, allocations: 3.944 MB / 5.834 GB, free: 78.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/17.94, allocations: 33.48 kB / 5.834 GB, free: 78.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00284/17.95, allocations: 1.668 MB / 5.835 GB, free: 77.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003412/17.95, allocations: 1.047 MB / 5.836 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/17.95, allocations: 3.094 kB / 5.836 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003339/17.95, allocations: 439.2 kB / 5.837 GB, free: 76.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/17.95, allocations: 1.731 MB / 5.838 GB, free: 76.47 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005752/17.96, allocations: 2.527 MB / 5.841 GB, free: 75.71 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007377/17.97, allocations: 2.366 MB / 5.843 GB, free: 75.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/17.97, allocations: 3.656 kB / 5.843 GB, free: 75.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.01615/17.98, allocations: 4.824 MB / 5.848 GB, free: 75.31 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001448/17.99, allocations: 5.76 MB / 5.853 GB, free: 69.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.324e-05/17.99, allocations: 14.66 kB / 5.853 GB, free: 69.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000786/17.99, allocations: 115.1 kB / 5.854 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007174/17.99, allocations: 0.7057 MB / 5.854 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/18, allocations: 2.615 MB / 5.857 GB, free: 67.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/18.01, allocations: 431.1 kB / 5.857 GB, free: 67.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/18.01, allocations: 127.8 kB / 5.857 GB, free: 67.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/18.01, allocations: 7.562 kB / 5.857 GB, free: 67.54 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01358/18.02, allocations: 4.34 MB / 5.862 GB, free: 67.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.893e-05/18.02, allocations: 11.5 kB / 5.862 GB, free: 67.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/18.02, allocations: 123.6 kB / 5.862 GB, free: 67.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006701/18.03, allocations: 0.678 MB / 5.862 GB, free: 67.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/18.03, allocations: 1.999 MB / 5.864 GB, free: 66.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/18.04, allocations: 421.2 kB / 5.865 GB, free: 66.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/18.04, allocations: 127.5 kB / 5.865 GB, free: 66.13 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001504/18.05, allocations: 251.4 kB / 5.865 GB, free: 65.96 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001973/18.05, allocations: 450 kB / 5.866 GB, free: 65.73 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/18.07, allocations: 4.663 MB / 5.87 GB, free: 65.53 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/18.07, allocations: 30.06 kB / 5.87 GB, free: 65.53 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/18.07, allocations: 9.297 kB / 5.87 GB, free: 65.53 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0142/18.08, allocations: 3.944 MB / 5.874 GB, free: 65.28 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03784/18.12, allocations: 11.31 MB / 5.885 GB, free: 64.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/18.12, allocations: 7.219 kB / 5.885 GB, free: 64.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007166/18.13, allocations: 0.6779 MB / 5.886 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006745/18.13, allocations: 111.3 kB / 5.886 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008667/18.13, allocations: 56.06 kB / 5.886 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/18.13, allocations: 2.575 MB / 5.888 GB, free: 62.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/18.13, allocations: 10.09 kB / 5.888 GB, free: 62.36 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02132/18.15, allocations: 7.9 MB / 5.896 GB, free: 61.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005774/18.16, allocations: 1.171 MB / 5.897 GB, free: 60.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002543/18.16, allocations: 33.16 kB / 5.897 GB, free: 60.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009172/18.17, allocations: 400.5 kB / 5.898 GB, free: 60.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/18.17, allocations: 161.1 kB / 5.898 GB, free: 60.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000595/18.17, allocations: 128 kB / 5.898 GB, free: 60.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.008967/18.18, allocations: 3.069 MB / 5.901 GB, free: 60.15 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01868/18.2, allocations: 2.695 MB / 5.904 GB, free: 59.95 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006823/18.21, allocations: 3.085 MB / 5.907 GB, free: 58.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02013/18.23, allocations: 6.897 MB / 5.913 GB, free: 56.37 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.832e-05/18.23, allocations: 5.031 kB / 5.913 GB, free: 56.37 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006767/18.23, allocations: 2.291 MB / 5.916 GB, free: 55.51 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02588/18.26, allocations: 2.648 MB / 5.918 GB, free: 55.11 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04544/18.3, allocations: 11.32 MB / 5.929 GB, free: 51.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01369/18.32, allocations: 4.885 MB / 5.934 GB, free: 49.86 MB / 0.9948 GB Notification: Performance of SimCode: time 1.453e-06/18.32, allocations: 0 / 5.934 GB, free: 49.86 MB / 0.9948 GB Notification: Performance of Templates: time 0.8273/19.15, allocations: 135.3 MB / 6.066 GB, free: 196.1 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)