Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.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.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.00111/0.00111, allocations: 177.3 kB / 366.3 MB, free: 1.984 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.632/1.632, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.001032/0.001032, allocations: 90.58 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.919e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7712, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.399/6.17, allocations: 2.38 GB / 3.353 GB, free: 51.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/6.17, allocations: 93.33 kB / 3.353 GB, free: 51.54 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 34.4/40.57, allocations: 9.245 GB / 12.6 GB, free: 51.39 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005504/40.58, allocations: 387.8 kB / 12.6 GB, free: 51.34 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.07624/40.65, allocations: 15.24 MB / 12.61 GB, free: 46.23 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/40.65, allocations: 10.16 kB / 12.61 GB, free: 46.23 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03348/40.69, allocations: 3.587 MB / 12.62 GB, free: 45.31 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0896/40.77, allocations: 29.09 MB / 12.65 GB, free: 43.1 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001187/40.78, allocations: 375.9 kB / 12.65 GB, free: 43.1 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009105/40.79, allocations: 0.7108 MB / 12.65 GB, free: 43.09 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05827/40.84, allocations: 19.14 MB / 12.66 GB, free: 43.05 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09073/40.93, allocations: 20.24 MB / 12.68 GB, free: 42.08 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001486/40.94, allocations: 37.41 kB / 12.68 GB, free: 42.07 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008862/40.94, allocations: 13.69 kB / 12.68 GB, free: 42.07 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001066/40.95, allocations: 0.5479 MB / 12.69 GB, free: 42.04 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2213/41.17, allocations: 97.11 MB / 12.78 GB, free: 7.742 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 1.309/42.48, allocations: 9.665 MB / 12.79 GB, free: 167 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01337/42.49, allocations: 8.537 MB / 12.8 GB, free: 167 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/42.49, allocations: 1.167 MB / 12.8 GB, free: 165.8 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01346/42.51, allocations: 7.2 MB / 12.81 GB, free: 165.6 MB / 1.12 GB Notification: Performance of pre-optimization done (n=712): time 1.114e-05/42.51, allocations: 3.562 kB / 12.81 GB, free: 165.6 MB / 1.12 GB Notification: Performance of matching and sorting (n=724): time 0.08512/42.59, allocations: 29.83 MB / 12.84 GB, free: 163.8 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/42.59, allocations: 256.7 kB / 12.84 GB, free: 163.6 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03323/42.62, allocations: 15.11 MB / 12.85 GB, free: 163.1 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.003835/42.63, allocations: 39.64 kB / 12.85 GB, free: 163.1 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01434/42.64, allocations: 4.629 MB / 12.85 GB, free: 161.6 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.01897/42.66, allocations: 2.517 MB / 12.86 GB, free: 160.3 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/42.66, allocations: 0 / 12.86 GB, free: 160.3 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.001292/42.66, allocations: 0.6576 MB / 12.86 GB, free: 160 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/42.68, allocations: 6.322 MB / 12.86 GB, free: 160 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01408/42.69, allocations: 8.677 MB / 12.87 GB, free: 157.9 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/42.71, allocations: 8.345 MB / 12.88 GB, free: 157.8 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/42.71, allocations: 11.2 kB / 12.88 GB, free: 157.8 MB / 1.12 GB Notification: Performance of matching and sorting (n=951) (initialization): time 0.04217/42.75, allocations: 15.9 MB / 12.9 GB, free: 157 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.004504/42.75, allocations: 20.84 MB / 12.92 GB, free: 135.4 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/42.75, allocations: 32.25 kB / 12.92 GB, free: 135.4 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/42.75, allocations: 494.5 kB / 12.92 GB, free: 135.4 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/42.77, allocations: 1.853 MB / 12.92 GB, free: 135.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007564/42.77, allocations: 5.658 MB / 12.92 GB, free: 133.5 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02224/42.8, allocations: 1.622 MB / 12.93 GB, free: 133.4 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003192/42.8, allocations: 305.2 kB / 12.93 GB, free: 133.4 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/42.8, allocations: 5.719 kB / 12.93 GB, free: 133.4 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03651/42.84, allocations: 14.7 MB / 12.94 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000223/42.84, allocations: 35.22 kB / 12.94 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/42.84, allocations: 490.2 kB / 12.94 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/42.85, allocations: 1.849 MB / 12.94 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007067/42.86, allocations: 5.058 MB / 12.95 GB, free: 131.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02165/42.88, allocations: 1.595 MB / 12.95 GB, free: 131.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003202/42.88, allocations: 300.6 kB / 12.95 GB, free: 131.9 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.006215/42.89, allocations: 312.1 kB / 12.95 GB, free: 131.7 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007113/42.89, allocations: 1.148 MB / 12.95 GB, free: 131.1 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03983/42.93, allocations: 15.07 MB / 12.97 GB, free: 130.8 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/42.93, allocations: 75.89 kB / 12.97 GB, free: 130.8 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-05/42.93, allocations: 6.672 kB / 12.97 GB, free: 130.8 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02715/42.96, allocations: 12.49 MB / 12.98 GB, free: 130.2 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.104/43.07, allocations: 36.34 MB / 13.01 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.941e-05/43.07, allocations: 5.312 kB / 13.01 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0118/43.08, allocations: 1.905 MB / 13.02 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/43.08, allocations: 446.5 kB / 13.02 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002415/43.08, allocations: 150.1 kB / 13.02 GB, free: 129 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007187/43.09, allocations: 5.599 MB / 13.02 GB, free: 127.1 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/43.09, allocations: 4.781 kB / 13.02 GB, free: 127.1 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0485/43.14, allocations: 25.02 MB / 13.05 GB, free: 124.1 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01877/43.16, allocations: 4.061 MB / 13.05 GB, free: 123.5 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01012/43.17, allocations: 109 kB / 13.05 GB, free: 123.5 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02049/43.19, allocations: 1.387 MB / 13.05 GB, free: 123.4 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003092/43.19, allocations: 386.8 kB / 13.05 GB, free: 123.4 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0029/43.19, allocations: 269.3 kB / 13.05 GB, free: 123.4 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.03695/43.23, allocations: 11.87 MB / 13.06 GB, free: 123.1 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.06163/43.29, allocations: 8.019 MB / 13.07 GB, free: 123.1 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.01216/43.3, allocations: 5.197 MB / 13.08 GB, free: 121.1 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.04732/43.35, allocations: 22.25 MB / 13.1 GB, free: 120.6 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.757e-05/43.35, allocations: 9.469 kB / 13.1 GB, free: 120.6 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01391/43.36, allocations: 6.921 MB / 13.1 GB, free: 120.5 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05444/43.42, allocations: 8.505 MB / 13.11 GB, free: 120.3 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/43.53, allocations: 41.19 MB / 13.15 GB, free: 93.82 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03504/43.56, allocations: 13.96 MB / 13.17 GB, free: 84.61 MB / 1.12 GB Notification: Performance of SimCode: time 1.433e-06/43.56, allocations: 2.031 kB / 13.17 GB, free: 84.61 MB / 1.12 GB Notification: Performance of Templates: time 1.513/45.07, allocations: 404.3 MB / 13.56 GB, free: 127.7 MB / 1.12 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)