Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.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.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.514/1.514, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001134/0.001134, allocations: 165.3 kB / 366.3 MB, free: 2.035 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.561/1.561, allocations: 205.2 MB / 0.6256 GB, free: 5.855 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.0009507/0.0009509, allocations: 82.06 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.377e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7184, allocations: 116.3 MB / 0.9726 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.156/5.874, allocations: 2.386 GB / 3.358 GB, free: 46.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003952/5.875, allocations: 96.88 kB / 3.359 GB, free: 46.5 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 42.7/48.57, allocations: 11.52 GB / 14.87 GB, free: 70.96 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.004766/48.58, allocations: 424.2 kB / 14.87 GB, free: 70.91 MB / 1.104 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.07981/48.66, allocations: 17 MB / 14.89 GB, free: 65.62 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/48.66, allocations: 9.938 kB / 14.89 GB, free: 65.62 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03636/48.69, allocations: 4.114 MB / 14.89 GB, free: 64.59 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1095/48.8, allocations: 35.86 MB / 14.93 GB, free: 62.2 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/48.8, allocations: 432.7 kB / 14.93 GB, free: 62.2 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008451/48.81, allocations: 0.8194 MB / 14.93 GB, free: 62.19 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06513/48.88, allocations: 22.07 MB / 14.95 GB, free: 62.14 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09244/48.97, allocations: 23.22 MB / 14.98 GB, free: 61.14 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00156/48.97, allocations: 30.09 kB / 14.98 GB, free: 61.14 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009501/48.98, allocations: 13.88 kB / 14.98 GB, free: 61.14 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009753/48.98, allocations: 0.6129 MB / 14.98 GB, free: 61.11 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2369/49.22, allocations: 101.9 MB / 15.08 GB, free: 44.95 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/49.24, allocations: 9.05 MB / 15.08 GB, free: 44.9 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01955/49.26, allocations: 9.713 MB / 15.09 GB, free: 44.78 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002547/49.26, allocations: 1.173 MB / 15.09 GB, free: 43.64 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0199/49.28, allocations: 8.381 MB / 15.1 GB, free: 43.41 MB / 1.12 GB Notification: Performance of pre-optimization done (n=796): time 2.263e-05/49.28, allocations: 2.812 kB / 15.1 GB, free: 43.41 MB / 1.12 GB Notification: Performance of matching and sorting (n=809): time 0.1325/49.41, allocations: 37.17 MB / 15.14 GB, free: 35.96 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002741/49.41, allocations: 322.1 kB / 15.14 GB, free: 35.67 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05067/49.46, allocations: 15.17 MB / 15.15 GB, free: 35.06 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0045/49.47, allocations: 48.2 kB / 15.15 GB, free: 35.03 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01677/49.49, allocations: 5.365 MB / 15.16 GB, free: 32.47 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.01333/49.5, allocations: 2.807 MB / 15.16 GB, free: 30.67 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/49.5, allocations: 0 / 15.16 GB, free: 30.67 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001015/49.5, allocations: 0.7132 MB / 15.16 GB, free: 30.35 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01219/49.51, allocations: 6.946 MB / 15.17 GB, free: 30.33 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0159/49.53, allocations: 9.688 MB / 15.18 GB, free: 27.79 MB / 1.12 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.09938/49.63, allocations: 27.95 MB / 15.21 GB, free: 13.07 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.311e-05/49.63, allocations: 14.06 kB / 15.21 GB, free: 13.05 MB / 1.12 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.04658/49.68, allocations: 17.59 MB / 15.22 GB, free: 15.33 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01406/49.69, allocations: 29.31 MB / 15.25 GB, free: 440 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003177/49.69, allocations: 48 kB / 15.25 GB, free: 392 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/49.69, allocations: 92 kB / 15.25 GB, free: 300 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02073/49.71, allocations: 2.866 MB / 15.26 GB, free: 0 / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/49.71, allocations: 1.333 MB / 15.26 GB, free: 14.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02073/49.73, allocations: 1.48 MB / 15.26 GB, free: 13.78 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003675/49.74, allocations: 351.9 kB / 15.26 GB, free: 13.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/49.74, allocations: 4 kB / 15.26 GB, free: 13.45 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03665/49.77, allocations: 15.95 MB / 15.27 GB, free: 216 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/49.77, allocations: 48 kB / 15.27 GB, free: 168 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/49.77, allocations: 96 kB / 15.27 GB, free: 72 kB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.299/51.07, allocations: 2.936 MB / 15.28 GB, free: 192.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002856/51.07, allocations: 123.2 kB / 15.28 GB, free: 192.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01932/51.09, allocations: 1.452 MB / 15.28 GB, free: 192.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003272/51.1, allocations: 355.2 kB / 15.28 GB, free: 192.1 MB / 1.167 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.004334/51.1, allocations: 353.5 kB / 15.28 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005285/51.11, allocations: 1.254 MB / 15.28 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/51.14, allocations: 16.43 MB / 15.3 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.157e-05/51.14, allocations: 86.06 kB / 15.3 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/51.14, allocations: 0 / 15.3 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02427/51.16, allocations: 13.53 MB / 15.31 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09489/51.26, allocations: 42.55 MB / 15.35 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.544e-05/51.26, allocations: 16.88 kB / 15.35 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01173/51.27, allocations: 2.118 MB / 15.35 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/51.27, allocations: 53.31 kB / 15.35 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001885/51.27, allocations: 165.2 kB / 15.35 GB, free: 188.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005387/51.27, allocations: 1.242 MB / 15.35 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/51.27, allocations: 30.19 kB / 15.35 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04196/51.32, allocations: 31.55 MB / 15.39 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01741/51.33, allocations: 4.014 MB / 15.39 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007589/51.34, allocations: 127.1 kB / 15.39 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02078/51.36, allocations: 1.348 MB / 15.39 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003183/51.36, allocations: 470.7 kB / 15.39 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001554/51.37, allocations: 305 kB / 15.39 GB, free: 179.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.03007/51.4, allocations: 12.09 MB / 15.4 GB, free: 179.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.05112/51.45, allocations: 7.454 MB / 15.41 GB, free: 179.6 MB / 1.167 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.01108/51.46, allocations: 5.297 MB / 15.42 GB, free: 177.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04417/51.5, allocations: 24.18 MB / 15.44 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.153e-05/51.5, allocations: 11.31 kB / 15.44 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/51.52, allocations: 7.672 MB / 15.45 GB, free: 177.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04921/51.57, allocations: 8.844 MB / 15.46 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.135/51.7, allocations: 45.79 MB / 15.5 GB, free: 171.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05469/51.76, allocations: 15.69 MB / 15.52 GB, free: 170.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.445e-06/51.76, allocations: 1.344 kB / 15.52 GB, free: 170.4 MB / 1.167 GB Notification: Performance of Templates: time 1.541/53.3, allocations: 419.7 MB / 15.93 GB, free: 184.3 MB / 1.167 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl.pipe 2>&1)