Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.551/1.551, allocations: 289.8 MB / 297.1 MB, free: 6.727 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 177.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 0.6256 GB, free: 7.449 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009629/0.000963, allocations: 83.11 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.588e-06, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.7546, allocations: 116.3 MB / 0.9726 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.13/5.884, allocations: 2.395 GB / 3.367 GB, free: 70.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/5.885, allocations: 93.94 kB / 3.367 GB, free: 69.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.768/15.65, allocations: 2.677 GB / 6.045 GB, free: 106.9 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.00128/15.65, allocations: 169.2 kB / 6.045 GB, free: 106.9 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02542/15.68, allocations: 6.141 MB / 6.051 GB, free: 105.3 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/15.68, allocations: 6.594 kB / 6.051 GB, free: 105.3 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/15.69, allocations: 1.536 MB / 6.052 GB, free: 104.9 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02188/15.71, allocations: 7.566 MB / 6.06 GB, free: 104 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/15.71, allocations: 151.4 kB / 6.06 GB, free: 104 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/15.72, allocations: 297.6 kB / 6.06 GB, free: 104 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01359/15.73, allocations: 5.55 MB / 6.066 GB, free: 104 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/15.75, allocations: 6.055 MB / 6.072 GB, free: 103.5 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/15.75, allocations: 6.281 kB / 6.072 GB, free: 103.5 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007095/15.75, allocations: 7.344 kB / 6.072 GB, free: 103.5 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/15.75, allocations: 228.1 kB / 6.072 GB, free: 103.5 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/15.8, allocations: 28.56 MB / 6.1 GB, free: 92.73 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/15.81, allocations: 2.58 MB / 6.102 GB, free: 92.7 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/15.81, allocations: 2.532 MB / 6.105 GB, free: 92.66 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/15.81, allocations: 1.087 MB / 6.106 GB, free: 91.53 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003424/15.82, allocations: 2.35 MB / 6.108 GB, free: 91.37 MB / 1.026 GB Notification: Performance of pre-optimization done (n=326): time 6.583e-06/15.82, allocations: 2.875 kB / 6.108 GB, free: 91.37 MB / 1.026 GB Notification: Performance of matching and sorting (n=330): time 0.03511/15.85, allocations: 11.47 MB / 6.119 GB, free: 88.42 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/15.85, allocations: 307.7 kB / 6.12 GB, free: 88.1 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007798/15.86, allocations: 4.245 MB / 6.124 GB, free: 87.81 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001195/15.86, allocations: 33.2 kB / 6.124 GB, free: 87.78 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/15.86, allocations: 1.78 MB / 6.125 GB, free: 86.88 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002683/15.87, allocations: 1.096 MB / 6.127 GB, free: 86.14 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/15.87, allocations: 2.875 kB / 6.127 GB, free: 86.14 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002573/15.87, allocations: 443.5 kB / 6.127 GB, free: 85.83 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/15.87, allocations: 1.795 MB / 6.129 GB, free: 85.82 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/15.87, allocations: 2.688 MB / 6.131 GB, free: 84.94 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/15.88, allocations: 2.395 MB / 6.134 GB, free: 84.88 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/15.88, allocations: 3.781 kB / 6.134 GB, free: 84.88 MB / 1.026 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009788/15.89, allocations: 5.07 MB / 6.139 GB, free: 84.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001303/15.89, allocations: 6.339 MB / 6.145 GB, free: 77.72 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/15.89, allocations: 15.38 kB / 6.145 GB, free: 77.72 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/15.89, allocations: 226 kB / 6.145 GB, free: 77.7 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/15.89, allocations: 0.7307 MB / 6.146 GB, free: 77.7 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/15.9, allocations: 3.36 MB / 6.149 GB, free: 75.32 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007776/15.9, allocations: 489.2 kB / 6.149 GB, free: 75.29 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/15.9, allocations: 134.5 kB / 6.15 GB, free: 75.29 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/15.9, allocations: 3.969 kB / 6.15 GB, free: 75.29 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00809/15.91, allocations: 4.511 MB / 6.154 GB, free: 75.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/15.91, allocations: 13.19 kB / 6.154 GB, free: 75.18 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/15.91, allocations: 235 kB / 6.154 GB, free: 75.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/15.92, allocations: 0.724 MB / 6.155 GB, free: 75.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/15.92, allocations: 3.928 MB / 6.159 GB, free: 72.61 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007845/15.93, allocations: 470.1 kB / 6.159 GB, free: 72.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/15.93, allocations: 136.6 kB / 6.159 GB, free: 72.57 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (399): * Single equations (assignments): 393 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001287/15.93, allocations: 214.4 kB / 6.16 GB, free: 72.43 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/15.93, allocations: 496.7 kB / 6.16 GB, free: 72.18 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009024/15.94, allocations: 4.835 MB / 6.165 GB, free: 71.96 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/15.94, allocations: 34.91 kB / 6.165 GB, free: 71.96 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/15.94, allocations: 0 / 6.165 GB, free: 71.96 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006041/15.95, allocations: 4.029 MB / 6.169 GB, free: 71.7 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/15.97, allocations: 11.56 MB / 6.18 GB, free: 70.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/15.97, allocations: 5.688 kB / 6.18 GB, free: 70.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003847/15.98, allocations: 0.7075 MB / 6.181 GB, free: 70.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/15.98, allocations: 182.3 kB / 6.181 GB, free: 70.78 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000538/15.98, allocations: 56.59 kB / 6.181 GB, free: 70.78 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/15.98, allocations: 3.252 MB / 6.184 GB, free: 68.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/15.98, allocations: 7.062 kB / 6.184 GB, free: 68.4 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01259/15.99, allocations: 8.211 MB / 6.192 GB, free: 66.99 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005538/16, allocations: 1.223 MB / 6.193 GB, free: 66.64 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002392/16, allocations: 32.83 kB / 6.193 GB, free: 66.64 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006977/16.01, allocations: 413.2 kB / 6.194 GB, free: 66.62 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008756/16.01, allocations: 177.1 kB / 6.194 GB, free: 66.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004897/16.01, allocations: 125.5 kB / 6.194 GB, free: 66.61 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.007084/16.02, allocations: 3.29 MB / 6.197 GB, free: 66.43 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02135/16.04, allocations: 2.904 MB / 6.2 GB, free: 66.36 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007328/16.05, allocations: 3.448 MB / 6.203 GB, free: 65.15 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01541/16.06, allocations: 7.31 MB / 6.211 GB, free: 64.62 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/16.06, allocations: 1.062 kB / 6.211 GB, free: 64.62 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004662/16.07, allocations: 2.319 MB / 6.213 GB, free: 64.48 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01799/16.08, allocations: 2.817 MB / 6.216 GB, free: 64.42 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/16.12, allocations: 11.76 MB / 6.227 GB, free: 62.34 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007071/16.12, allocations: 5.106 MB / 6.232 GB, free: 61.48 MB / 1.026 GB Notification: Performance of SimCode: time 1.302e-06/16.12, allocations: 0 / 6.232 GB, free: 61.48 MB / 1.026 GB Notification: Performance of Templates: time 0.262/16.39, allocations: 145.2 MB / 6.374 GB, free: 26.24 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)