Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.297/2.297, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001637/0.001637, allocations: 183.8 kB / 360.4 MB, free: 7.484 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.801/1.801, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001252/0.001251, allocations: 85.22 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.131e-05/1.15e-05, allocations: 0 / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6264, allocations: 115.2 MB / 0.9628 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.339/5.965, allocations: 2.379 GB / 3.342 GB, free: 70.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/5.966, allocations: 90.95 kB / 3.342 GB, free: 70.67 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 44.78/50.74, allocations: 9.245 GB / 12.59 GB, free: 53.91 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005585/50.75, allocations: 379.1 kB / 12.59 GB, free: 53.86 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.08236/50.83, allocations: 15.24 MB / 12.6 GB, free: 48.76 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/50.83, allocations: 9 kB / 12.6 GB, free: 48.76 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03813/50.87, allocations: 3.589 MB / 12.61 GB, free: 47.83 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.112/50.98, allocations: 29.09 MB / 12.63 GB, free: 45.77 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/50.98, allocations: 375.5 kB / 12.63 GB, free: 45.77 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008519/50.99, allocations: 0.7079 MB / 12.64 GB, free: 45.77 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06943/51.06, allocations: 19.14 MB / 12.65 GB, free: 45.72 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08555/51.15, allocations: 20.24 MB / 12.67 GB, free: 44.78 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001626/51.15, allocations: 35.84 kB / 12.67 GB, free: 44.78 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007527/51.16, allocations: 11.22 kB / 12.67 GB, free: 44.78 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008949/51.16, allocations: 0.5487 MB / 12.67 GB, free: 44.75 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2698/51.43, allocations: 97.11 MB / 12.77 GB, free: 5.477 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 1.226/52.65, allocations: 9.955 MB / 12.78 GB, free: 173.2 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02842/52.68, allocations: 8.541 MB / 12.79 GB, free: 173.2 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002376/52.69, allocations: 1.163 MB / 12.79 GB, free: 172 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0214/52.71, allocations: 7.208 MB / 12.8 GB, free: 171.9 MB / 1.104 GB Notification: Performance of pre-optimization done (n=712): time 1.501e-05/52.71, allocations: 2.625 kB / 12.8 GB, free: 171.9 MB / 1.104 GB Notification: Performance of matching and sorting (n=724): time 0.1305/52.84, allocations: 29.81 MB / 12.82 GB, free: 170.1 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/52.84, allocations: 265.4 kB / 12.82 GB, free: 169.8 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0498/52.89, allocations: 15.11 MB / 12.84 GB, free: 169.3 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.003186/52.89, allocations: 44.2 kB / 12.84 GB, free: 169.3 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01568/52.91, allocations: 4.633 MB / 12.84 GB, free: 167.8 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.02531/52.93, allocations: 2.514 MB / 12.85 GB, free: 166.5 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/52.93, allocations: 0 / 12.85 GB, free: 166.5 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.001075/52.93, allocations: 0.6633 MB / 12.85 GB, free: 166.2 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01676/52.95, allocations: 6.324 MB / 12.85 GB, free: 166.2 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02138/52.97, allocations: 8.666 MB / 12.86 GB, free: 164.1 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02317/53, allocations: 8.361 MB / 12.87 GB, free: 164 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/53, allocations: 9.688 kB / 12.87 GB, free: 164 MB / 1.104 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.05202/53.05, allocations: 15.89 MB / 12.89 GB, free: 163.3 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.004622/53.05, allocations: 20.84 MB / 12.91 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/53.05, allocations: 44.23 kB / 12.91 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/53.06, allocations: 492.3 kB / 12.91 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01895/53.07, allocations: 1.858 MB / 12.91 GB, free: 141.6 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/53.09, allocations: 5.653 MB / 12.91 GB, free: 139.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03187/53.12, allocations: 1.614 MB / 12.92 GB, free: 139.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003381/53.12, allocations: 305.5 kB / 12.92 GB, free: 139.7 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/53.12, allocations: 3.281 kB / 12.92 GB, free: 139.7 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04846/53.17, allocations: 14.7 MB / 12.93 GB, free: 139.5 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/53.17, allocations: 32.94 kB / 12.93 GB, free: 139.5 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/53.17, allocations: 0.4886 MB / 12.93 GB, free: 139.5 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01866/53.19, allocations: 1.843 MB / 12.93 GB, free: 139.5 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/53.2, allocations: 5.061 MB / 12.94 GB, free: 138.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03143/53.23, allocations: 1.589 MB / 12.94 GB, free: 138.1 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003223/53.24, allocations: 305.7 kB / 12.94 GB, free: 138.1 MB / 1.104 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.006096/53.24, allocations: 312 kB / 12.94 GB, free: 138 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007416/53.25, allocations: 1.148 MB / 12.94 GB, free: 137.4 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05558/53.31, allocations: 15.08 MB / 12.96 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001265/53.31, allocations: 73.06 kB / 12.96 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/53.31, allocations: 6.094 kB / 12.96 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04096/53.35, allocations: 12.5 MB / 12.97 GB, free: 136.5 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1285/53.48, allocations: 36.34 MB / 13 GB, free: 135.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.367e-05/53.48, allocations: 5.75 kB / 13 GB, free: 135.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02047/53.5, allocations: 1.901 MB / 13 GB, free: 135.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/53.5, allocations: 457.7 kB / 13.01 GB, free: 135.2 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002751/53.5, allocations: 148.1 kB / 13.01 GB, free: 135.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/53.51, allocations: 5.593 MB / 13.01 GB, free: 133.3 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.56e-05/53.51, allocations: 10.94 kB / 13.01 GB, free: 133.3 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07061/53.58, allocations: 25.01 MB / 13.04 GB, free: 130.4 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02041/53.6, allocations: 4.065 MB / 13.04 GB, free: 129.7 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008204/53.61, allocations: 114.3 kB / 13.04 GB, free: 129.7 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02695/53.64, allocations: 1.38 MB / 13.04 GB, free: 129.6 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003165/53.64, allocations: 391.3 kB / 13.04 GB, free: 129.6 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002745/53.65, allocations: 265.6 kB / 13.04 GB, free: 129.6 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.03562/53.68, allocations: 11.87 MB / 13.05 GB, free: 129.3 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.06779/53.75, allocations: 8.011 MB / 13.06 GB, free: 129.3 MB / 1.104 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.01336/53.76, allocations: 5.186 MB / 13.07 GB, free: 127.3 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.06317/53.83, allocations: 22.26 MB / 13.09 GB, free: 122.9 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.695e-05/53.83, allocations: 10.78 kB / 13.09 GB, free: 122.9 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01949/53.85, allocations: 6.914 MB / 13.09 GB, free: 118.8 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07752/53.92, allocations: 8.502 MB / 13.1 GB, free: 114.2 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1595/54.08, allocations: 41.2 MB / 13.14 GB, free: 85.4 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04679/54.13, allocations: 13.96 MB / 13.16 GB, free: 76.1 MB / 1.104 GB Notification: Performance of SimCode: time 1.964e-06/54.13, allocations: 2.375 kB / 13.16 GB, free: 76.1 MB / 1.104 GB Notification: Performance of Templates: time 1.713/55.84, allocations: 404.3 MB / 13.55 GB, free: 105.8 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)