Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001414/0.001414, allocations: 177.3 kB / 361.1 MB, free: 7.062 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.727/1.727, allocations: 205.1 MB / 0.6195 GB, free: 10.25 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.0009968/0.0009968, allocations: 91.92 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.276e-06, allocations: 0 / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8551, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/6.266, allocations: 2.394 GB / 3.357 GB, free: 123.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/6.267, allocations: 92.75 kB / 3.358 GB, free: 123.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 10.14/16.41, allocations: 2.677 GB / 6.035 GB, free: 64.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001685/16.41, allocations: 164.5 kB / 6.035 GB, free: 64.03 MB / 1.01 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.03181/16.44, allocations: 6.14 MB / 6.041 GB, free: 57.87 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/16.44, allocations: 12.52 kB / 6.041 GB, free: 57.86 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/16.45, allocations: 1.533 MB / 6.043 GB, free: 56.32 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0245/16.48, allocations: 7.566 MB / 6.05 GB, free: 48.82 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/16.48, allocations: 152 kB / 6.05 GB, free: 48.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/16.48, allocations: 292 kB / 6.05 GB, free: 48.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01689/16.5, allocations: 5.548 MB / 6.056 GB, free: 42.83 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02278/16.52, allocations: 6.057 MB / 6.062 GB, free: 36.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004228/16.52, allocations: 7.906 kB / 6.062 GB, free: 36.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002478/16.53, allocations: 4 kB / 6.062 GB, free: 36.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/16.53, allocations: 241.4 kB / 6.062 GB, free: 36.38 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06187/16.59, allocations: 28.54 MB / 6.09 GB, free: 6.621 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/16.59, allocations: 2.59 MB / 6.092 GB, free: 4.039 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/16.6, allocations: 2.527 MB / 6.095 GB, free: 1.504 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/16.6, allocations: 1.093 MB / 6.096 GB, free: 196 kB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6224/17.22, allocations: 2.348 MB / 6.098 GB, free: 196.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=326): time 9.007e-06/17.22, allocations: 0 / 6.098 GB, free: 196.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=330): time 0.04488/17.27, allocations: 11.48 MB / 6.109 GB, free: 193.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/17.27, allocations: 293.1 kB / 6.11 GB, free: 193.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/17.28, allocations: 4.249 MB / 6.114 GB, free: 193.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/17.28, allocations: 31.61 kB / 6.114 GB, free: 193.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003712/17.28, allocations: 1.768 MB / 6.116 GB, free: 192.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003463/17.29, allocations: 1.1 MB / 6.117 GB, free: 192.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008753/17.29, allocations: 0 / 6.117 GB, free: 192.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004826/17.29, allocations: 448.9 kB / 6.117 GB, free: 191.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/17.29, allocations: 1.796 MB / 6.119 GB, free: 191.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004589/17.3, allocations: 2.69 MB / 6.121 GB, free: 190.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005285/17.3, allocations: 2.39 MB / 6.124 GB, free: 190.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.962e-05/17.3, allocations: 3.094 kB / 6.124 GB, free: 190.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.01341/17.31, allocations: 5.074 MB / 6.129 GB, free: 190.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001743/17.32, allocations: 6.334 MB / 6.135 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-05/17.32, allocations: 15.81 kB / 6.135 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/17.32, allocations: 225.7 kB / 6.135 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/17.32, allocations: 0.7364 MB / 6.136 GB, free: 183.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/17.33, allocations: 3.367 MB / 6.139 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008431/17.33, allocations: 486.5 kB / 6.14 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/17.33, allocations: 140.9 kB / 6.14 GB, free: 181.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/17.33, allocations: 5.594 kB / 6.14 GB, free: 181.2 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/17.35, allocations: 4.508 MB / 6.144 GB, free: 181.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.241e-05/17.35, allocations: 17.41 kB / 6.144 GB, free: 181.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/17.35, allocations: 214.9 kB / 6.144 GB, free: 181.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/17.35, allocations: 0.727 MB / 6.145 GB, free: 181.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/17.36, allocations: 3.932 MB / 6.149 GB, free: 178.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008517/17.37, allocations: 476.9 kB / 6.149 GB, free: 178.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/17.37, allocations: 129.2 kB / 6.15 GB, free: 178.5 MB / 1.01 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.002273/17.37, allocations: 215.9 kB / 6.15 GB, free: 178.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002672/17.37, allocations: 0.4883 MB / 6.15 GB, free: 178.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/17.38, allocations: 4.833 MB / 6.155 GB, free: 177.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/17.38, allocations: 32.81 kB / 6.155 GB, free: 177.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/17.38, allocations: 4.125 kB / 6.155 GB, free: 177.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00751/17.39, allocations: 4.031 MB / 6.159 GB, free: 177.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/17.43, allocations: 11.56 MB / 6.17 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/17.43, allocations: 10.59 kB / 6.17 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004232/17.43, allocations: 0.7117 MB / 6.171 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006473/17.43, allocations: 181 kB / 6.171 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006988/17.43, allocations: 50.03 kB / 6.171 GB, free: 176.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/17.44, allocations: 3.247 MB / 6.174 GB, free: 174.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/17.44, allocations: 7.375 kB / 6.174 GB, free: 174.4 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01571/17.45, allocations: 8.22 MB / 6.182 GB, free: 173 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006179/17.46, allocations: 1.222 MB / 6.184 GB, free: 172.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003017/17.46, allocations: 35 kB / 6.184 GB, free: 172.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007512/17.47, allocations: 414.2 kB / 6.184 GB, free: 172.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006538/17.47, allocations: 182.5 kB / 6.184 GB, free: 172.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007012/17.47, allocations: 128.9 kB / 6.184 GB, free: 172.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.01039/17.48, allocations: 3.285 MB / 6.187 GB, free: 172.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02403/17.5, allocations: 2.908 MB / 6.19 GB, free: 172.4 MB / 1.01 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.008223/17.51, allocations: 3.439 MB / 6.194 GB, free: 171.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01754/17.53, allocations: 7.306 MB / 6.201 GB, free: 170.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.359e-05/17.53, allocations: 5.219 kB / 6.201 GB, free: 170.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/17.54, allocations: 2.316 MB / 6.203 GB, free: 170.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02019/17.56, allocations: 2.82 MB / 6.206 GB, free: 170.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05193/17.61, allocations: 11.76 MB / 6.217 GB, free: 168.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0152/17.62, allocations: 5.099 MB / 6.222 GB, free: 167.7 MB / 1.01 GB Notification: Performance of SimCode: time 2.184e-06/17.62, allocations: 0 / 6.222 GB, free: 167.7 MB / 1.01 GB Notification: Performance of Templates: time 0.3013/17.92, allocations: 145.2 MB / 6.364 GB, free: 157.6 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)