Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") [: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.282/2.282, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.00165/0.00165, allocations: 185.2 kB / 360.4 MB, free: 7.52 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.847/1.847, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001308/0.001307, allocations: 91.62 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.787e-06, allocations: 0 / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6484, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.358/6.007, allocations: 2.385 GB / 3.348 GB, free: 64.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/6.007, allocations: 95.11 kB / 3.348 GB, free: 64.6 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 55.11/61.12, allocations: 11.52 GB / 14.86 GB, free: 15.63 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.006405/61.12, allocations: 427.7 kB / 14.86 GB, free: 15.21 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3509 * Number of variables: 3509 Notification: Performance of Generate backend data structure: time 0.09154/61.21, allocations: 17 MB / 14.88 GB, free: 14.11 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/61.21, allocations: 8.531 kB / 14.88 GB, free: 14.1 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05413/61.27, allocations: 4.121 MB / 14.88 GB, free: 9.953 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.379/62.65, allocations: 35.85 MB / 14.92 GB, free: 151.3 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/62.65, allocations: 439.2 kB / 14.92 GB, free: 151.3 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009167/62.66, allocations: 0.8193 MB / 14.92 GB, free: 151.3 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07944/62.74, allocations: 22.07 MB / 14.94 GB, free: 151.3 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09619/62.83, allocations: 23.22 MB / 14.96 GB, free: 150.3 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001105/62.83, allocations: 43.92 kB / 14.96 GB, free: 150.3 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00796/62.84, allocations: 10.12 kB / 14.96 GB, free: 150.3 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008302/62.84, allocations: 0.6217 MB / 14.96 GB, free: 150.3 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.268/63.11, allocations: 101.8 MB / 15.06 GB, free: 119.3 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02493/63.14, allocations: 9.053 MB / 15.07 GB, free: 119.3 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02603/63.16, allocations: 9.71 MB / 15.08 GB, free: 119.2 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002663/63.16, allocations: 1.177 MB / 15.08 GB, free: 118 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02612/63.19, allocations: 8.385 MB / 15.09 GB, free: 117.8 MB / 1.104 GB Notification: Performance of pre-optimization done (n=796): time 1.859e-05/63.19, allocations: 0 / 15.09 GB, free: 117.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=809): time 0.1534/63.34, allocations: 37.17 MB / 15.13 GB, free: 110.7 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/63.34, allocations: 320.5 kB / 15.13 GB, free: 110.4 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04786/63.39, allocations: 15.17 MB / 15.14 GB, free: 109.8 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.003591/63.4, allocations: 44.77 kB / 15.14 GB, free: 109.7 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01761/63.41, allocations: 5.365 MB / 15.15 GB, free: 107.2 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.01871/63.43, allocations: 2.805 MB / 15.15 GB, free: 105.4 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002969/63.44, allocations: 0 / 15.15 GB, free: 105.4 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001532/63.44, allocations: 0.7141 MB / 15.15 GB, free: 105.1 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01916/63.46, allocations: 6.95 MB / 15.16 GB, free: 105 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02299/63.48, allocations: 9.692 MB / 15.17 GB, free: 102.5 MB / 1.104 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.1751/63.65, allocations: 27.94 MB / 15.2 GB, free: 102.1 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.817e-05/63.65, allocations: 12.34 kB / 15.2 GB, free: 102.1 MB / 1.104 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.05793/63.71, allocations: 17.25 MB / 15.21 GB, free: 101.3 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.006094/63.72, allocations: 29.31 MB / 15.24 GB, free: 70.83 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/63.72, allocations: 49.62 kB / 15.24 GB, free: 70.83 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/63.72, allocations: 92.31 kB / 15.24 GB, free: 70.83 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02224/63.74, allocations: 2.182 MB / 15.24 GB, free: 70.83 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/63.74, allocations: 1.325 MB / 15.24 GB, free: 69.66 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03392/63.78, allocations: 1.48 MB / 15.25 GB, free: 69.56 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003594/63.78, allocations: 353.5 kB / 15.25 GB, free: 69.56 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/63.78, allocations: 5 kB / 15.25 GB, free: 69.56 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05221/63.83, allocations: 15.95 MB / 15.26 GB, free: 69.4 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/63.83, allocations: 48.38 kB / 15.26 GB, free: 69.4 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001536/63.83, allocations: 93.94 kB / 15.26 GB, free: 69.4 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0219/63.85, allocations: 2.164 MB / 15.26 GB, free: 69.4 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002454/63.86, allocations: 127.5 kB / 15.26 GB, free: 69.39 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02862/63.88, allocations: 1.445 MB / 15.27 GB, free: 69.31 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003892/63.89, allocations: 354.5 kB / 15.27 GB, free: 69.31 MB / 1.104 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 213 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1086): * Single equations (assignments): 1083 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007235/63.9, allocations: 357.5 kB / 15.27 GB, free: 69.14 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00802/63.9, allocations: 1.257 MB / 15.27 GB, free: 68.49 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06154/63.96, allocations: 16.43 MB / 15.28 GB, free: 60.06 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.019e-05/63.96, allocations: 76 kB / 15.28 GB, free: 59.98 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/63.96, allocations: 4 kB / 15.28 GB, free: 59.98 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04103/64.01, allocations: 13.53 MB / 15.3 GB, free: 50.41 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1365/64.14, allocations: 42.56 MB / 15.34 GB, free: 15.35 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.741e-05/64.14, allocations: 21.25 kB / 15.34 GB, free: 15.33 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0222/64.16, allocations: 2.127 MB / 15.34 GB, free: 13.71 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/64.17, allocations: 48 kB / 15.34 GB, free: 13.66 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002903/64.17, allocations: 167.8 kB / 15.34 GB, free: 13.53 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000792/64.17, allocations: 1.238 MB / 15.34 GB, free: 12.27 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-05/64.17, allocations: 27.97 kB / 15.34 GB, free: 12.25 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.7508/64.92, allocations: 31.68 MB / 15.37 GB, free: 144 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01951/64.94, allocations: 4.02 MB / 15.38 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008505/64.95, allocations: 129 kB / 15.38 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02569/64.97, allocations: 1.34 MB / 15.38 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0034/64.98, allocations: 470.3 kB / 15.38 GB, free: 143.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002869/64.98, allocations: 305.4 kB / 15.38 GB, free: 143.9 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.03596/65.02, allocations: 12.09 MB / 15.39 GB, free: 143.5 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.05359/65.07, allocations: 7.455 MB / 15.4 GB, free: 143.5 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 50 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (815): * Single equations (assignments): 808 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/65.08, allocations: 5.291 MB / 15.4 GB, free: 141.5 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.06619/65.15, allocations: 24.18 MB / 15.43 GB, free: 141.2 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-05/65.15, allocations: 10.84 kB / 15.43 GB, free: 141.2 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0213/65.17, allocations: 7.666 MB / 15.43 GB, free: 141.2 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07969/65.25, allocations: 8.836 MB / 15.44 GB, free: 141.1 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1735/65.42, allocations: 45.78 MB / 15.49 GB, free: 135.5 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05464/65.48, allocations: 15.7 MB / 15.5 GB, free: 134.4 MB / 1.104 GB Notification: Performance of SimCode: time 2.094e-06/65.48, allocations: 0 / 15.5 GB, free: 134.4 MB / 1.104 GB Notification: Performance of Templates: time 1.81/67.29, allocations: 419.7 MB / 15.91 GB, free: 140.3 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)