Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") [: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.593/1.593, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.00142/0.00142, allocations: 189.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.717/1.717, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.001182/0.001182, allocations: 81.84 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.845e-06, allocations: 0 / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7863, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/6.104, allocations: 2.379 GB / 3.343 GB, free: 137.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/6.104, allocations: 91.95 kB / 3.343 GB, free: 137.2 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 36.31/42.41, allocations: 9.245 GB / 12.59 GB, free: 66.19 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005922/42.42, allocations: 391.1 kB / 12.59 GB, free: 66.14 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: 3010 * Number of variables: 3010 Notification: Performance of Generate backend data structure: time 0.08339/42.5, allocations: 15.24 MB / 12.6 GB, free: 61.05 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/42.5, allocations: 7.906 kB / 12.6 GB, free: 61.05 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/42.53, allocations: 3.588 MB / 12.61 GB, free: 60.13 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08652/42.62, allocations: 29.09 MB / 12.64 GB, free: 58.08 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/42.62, allocations: 377.5 kB / 12.64 GB, free: 58.07 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008402/42.63, allocations: 0.7063 MB / 12.64 GB, free: 58.07 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05268/42.68, allocations: 19.14 MB / 12.66 GB, free: 58.02 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08489/42.77, allocations: 20.24 MB / 12.67 GB, free: 57.09 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001235/42.77, allocations: 44.05 kB / 12.67 GB, free: 57.08 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007485/42.78, allocations: 15.25 kB / 12.67 GB, free: 57.08 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007828/42.78, allocations: 0.5449 MB / 12.68 GB, free: 57.05 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2159/42.99, allocations: 97.11 MB / 12.77 GB, free: 20.13 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/43.01, allocations: 9.574 MB / 12.78 GB, free: 12.07 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01622/43.03, allocations: 8.544 MB / 12.79 GB, free: 4.605 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001992/43.03, allocations: 1.16 MB / 12.79 GB, free: 3.293 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02581/43.06, allocations: 7.964 MB / 12.8 GB, free: 15.42 MB / 1.089 GB Notification: Performance of pre-optimization done (n=712): time 2.007e-05/43.06, allocations: 0 / 12.8 GB, free: 15.42 MB / 1.089 GB Notification: Performance of matching and sorting (n=724): time 0.1391/43.19, allocations: 30.89 MB / 12.83 GB, free: 8.238 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003195/43.19, allocations: 261.3 kB / 12.83 GB, free: 7.941 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05705/43.25, allocations: 15.34 MB / 12.84 GB, free: 11.73 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003649/43.26, allocations: 44.14 kB / 12.84 GB, free: 11.69 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01757/43.27, allocations: 4.627 MB / 12.85 GB, free: 7.684 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.02079/43.29, allocations: 2.522 MB / 12.85 GB, free: 5.344 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002726/43.3, allocations: 2.25 kB / 12.85 GB, free: 5.344 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.00161/43.3, allocations: 0.6551 MB / 12.85 GB, free: 4.77 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51/44.81, allocations: 6.324 MB / 12.86 GB, free: 195.4 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01413/44.82, allocations: 8.673 MB / 12.86 GB, free: 193.4 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/44.84, allocations: 8.354 MB / 12.87 GB, free: 193.3 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/44.84, allocations: 10.84 kB / 12.87 GB, free: 193.3 MB / 1.12 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.04054/44.88, allocations: 15.9 MB / 12.89 GB, free: 193.1 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.004872/44.88, allocations: 20.84 MB / 12.91 GB, free: 171.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001518/44.88, allocations: 34.06 kB / 12.91 GB, free: 171.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/44.89, allocations: 495.7 kB / 12.91 GB, free: 171.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/44.9, allocations: 1.861 MB / 12.91 GB, free: 171.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/44.9, allocations: 5.646 MB / 12.92 GB, free: 169.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02383/44.93, allocations: 1.616 MB / 12.92 GB, free: 169.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003893/44.93, allocations: 303.4 kB / 12.92 GB, free: 169.7 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/44.93, allocations: 6.219 kB / 12.92 GB, free: 169.7 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04278/44.98, allocations: 14.71 MB / 12.93 GB, free: 169.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002657/44.98, allocations: 35.62 kB / 12.93 GB, free: 169.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/44.98, allocations: 498.7 kB / 12.93 GB, free: 169.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/44.99, allocations: 1.841 MB / 12.93 GB, free: 169.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/45, allocations: 5.064 MB / 12.94 GB, free: 168.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02354/45.02, allocations: 1.592 MB / 12.94 GB, free: 168.3 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00385/45.02, allocations: 299.6 kB / 12.94 GB, free: 168.3 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * 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 (922): * Single equations (assignments): 919 * Array equations: 0 * Algorithm blocks: 1 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007041/45.03, allocations: 316.8 kB / 12.94 GB, free: 168.1 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007943/45.04, allocations: 1.152 MB / 12.94 GB, free: 168.1 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05085/45.09, allocations: 15.08 MB / 12.96 GB, free: 167.7 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001652/45.09, allocations: 69.53 kB / 12.96 GB, free: 167.7 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.236e-05/45.09, allocations: 5.156 kB / 12.96 GB, free: 167.7 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03036/45.12, allocations: 12.49 MB / 12.97 GB, free: 167.2 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1165/45.24, allocations: 36.33 MB / 13.01 GB, free: 166 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.995e-05/45.24, allocations: 6 kB / 13.01 GB, free: 166 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01241/45.25, allocations: 1.912 MB / 13.01 GB, free: 166 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/45.25, allocations: 443.5 kB / 13.01 GB, free: 166 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003058/45.25, allocations: 149.4 kB / 13.01 GB, free: 166 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00838/45.26, allocations: 5.595 MB / 13.01 GB, free: 164.2 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/45.26, allocations: 12.41 kB / 13.01 GB, free: 164.2 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05399/45.32, allocations: 25.01 MB / 13.04 GB, free: 161.9 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01894/45.34, allocations: 4.057 MB / 13.04 GB, free: 161.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009522/45.35, allocations: 113.4 kB / 13.04 GB, free: 161.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02222/45.37, allocations: 1.383 MB / 13.04 GB, free: 161.2 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003516/45.37, allocations: 381.2 kB / 13.04 GB, free: 161.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003316/45.38, allocations: 267.5 kB / 13.04 GB, free: 161.2 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.03443/45.41, allocations: 11.87 MB / 13.06 GB, free: 160.9 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.06025/45.47, allocations: 8.016 MB / 13.06 GB, free: 160.9 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 51 (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.m,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 (706): * Single equations (assignments): 699 * 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: 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%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/45.48, allocations: 5.2 MB / 13.07 GB, free: 158.9 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.05172/45.54, allocations: 22.25 MB / 13.09 GB, free: 158.4 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.001e-05/45.54, allocations: 8.594 kB / 13.09 GB, free: 158.4 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01457/45.55, allocations: 6.925 MB / 13.1 GB, free: 158.3 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0555/45.61, allocations: 8.49 MB / 13.11 GB, free: 158.1 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1519/45.76, allocations: 41.19 MB / 13.15 GB, free: 148.6 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04476/45.8, allocations: 13.96 MB / 13.16 GB, free: 140.3 MB / 1.12 GB Notification: Performance of SimCode: time 2.224e-06/45.8, allocations: 0 / 13.16 GB, free: 140.3 MB / 1.12 GB Notification: Performance of Templates: time 1.459/47.26, allocations: 404.4 MB / 13.55 GB, free: 180.2 MB / 1.12 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)