Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.225/2.225, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 181.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.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.001308, allocations: 105 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.302e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.303, allocations: 2.497 GB / 3.385 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/6.303, allocations: 95.73 kB / 3.385 GB, free: 232.4 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 43.86/50.17, allocations: 9.007 GB / 12.39 GB, free: 64.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.006505/50.17, allocations: 389 kB / 12.39 GB, free: 64.25 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.08571/50.26, allocations: 15.28 MB / 12.41 GB, free: 59.16 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/50.26, allocations: 8.125 kB / 12.41 GB, free: 59.16 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03925/50.3, allocations: 3.602 MB / 12.41 GB, free: 58.23 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.112/50.41, allocations: 29.22 MB / 12.44 GB, free: 56.17 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/50.41, allocations: 374.7 kB / 12.44 GB, free: 56.17 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009273/50.42, allocations: 0.7127 MB / 12.44 GB, free: 56.16 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07162/50.49, allocations: 19.27 MB / 12.46 GB, free: 56.11 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08495/50.58, allocations: 20.35 MB / 12.48 GB, free: 55.18 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001152/50.58, allocations: 29.12 kB / 12.48 GB, free: 55.17 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007472/50.59, allocations: 16.06 kB / 12.48 GB, free: 55.17 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008157/50.59, allocations: 0.5552 MB / 12.48 GB, free: 55.15 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2456/50.83, allocations: 97.19 MB / 12.57 GB, free: 21.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02963/50.86, allocations: 9.729 MB / 12.58 GB, free: 21.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02619/50.89, allocations: 8.505 MB / 12.59 GB, free: 21.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/50.89, allocations: 1.159 MB / 12.59 GB, free: 20.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02526/50.92, allocations: 7.224 MB / 12.6 GB, free: 18.51 MB / 1.01 GB Notification: Performance of pre-optimization done (n=712): time 1.346e-05/50.92, allocations: 0 / 12.6 GB, free: 18.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=724): time 0.1545/51.07, allocations: 29.68 MB / 12.63 GB, free: 8.844 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002716/51.07, allocations: 255 kB / 12.63 GB, free: 8.551 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09042/51.16, allocations: 15.73 MB / 12.64 GB, free: 12.88 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.004047/51.17, allocations: 41.7 kB / 12.64 GB, free: 12.83 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.02371/51.19, allocations: 4.658 MB / 12.65 GB, free: 8.828 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0319/51.22, allocations: 2.521 MB / 12.65 GB, free: 6.488 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002639/51.23, allocations: 0 / 12.65 GB, free: 6.488 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001535/51.23, allocations: 0.6595 MB / 12.65 GB, free: 5.91 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01935/51.25, allocations: 6.283 MB / 12.66 GB, free: 0.5508 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05901/51.31, allocations: 10.63 MB / 12.67 GB, free: 13.15 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.025/51.33, allocations: 8.306 MB / 12.68 GB, free: 6.406 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/51.33, allocations: 12.84 kB / 12.68 GB, free: 6.395 MB / 1.057 GB Notification: Performance of matching and sorting (n=951) (initialization): time 1.224/52.55, allocations: 15.81 MB / 12.69 GB, free: 168.2 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.004537/52.56, allocations: 20.84 MB / 12.71 GB, free: 146.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002586/52.56, allocations: 39.12 kB / 12.71 GB, free: 146.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/52.56, allocations: 494.1 kB / 12.71 GB, free: 146.6 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01853/52.58, allocations: 1.847 MB / 12.72 GB, free: 146.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/52.59, allocations: 5.652 MB / 12.72 GB, free: 144.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03094/52.62, allocations: 1.629 MB / 12.72 GB, free: 144.8 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003166/52.63, allocations: 298.5 kB / 12.72 GB, free: 144.8 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/52.63, allocations: 3.062 kB / 12.72 GB, free: 144.8 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04693/52.67, allocations: 14.62 MB / 12.74 GB, free: 144.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/52.67, allocations: 37.94 kB / 12.74 GB, free: 144.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/52.67, allocations: 489.4 kB / 12.74 GB, free: 144.6 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01835/52.69, allocations: 1.842 MB / 12.74 GB, free: 144.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/52.7, allocations: 5.057 MB / 12.74 GB, free: 143.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03135/52.74, allocations: 1.605 MB / 12.75 GB, free: 143.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003284/52.74, allocations: 301.9 kB / 12.75 GB, free: 143.4 MB / 1.057 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.006198/52.75, allocations: 315.3 kB / 12.75 GB, free: 143.2 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007512/52.75, allocations: 1.154 MB / 12.75 GB, free: 143.2 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05307/52.81, allocations: 14.99 MB / 12.76 GB, free: 142.9 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.804e-05/52.81, allocations: 75.05 kB / 12.76 GB, free: 142.9 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/52.81, allocations: 3.688 kB / 12.76 GB, free: 142.9 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0369/52.84, allocations: 12.41 MB / 12.77 GB, free: 142.3 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1244/52.97, allocations: 36.29 MB / 12.81 GB, free: 141.1 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.435e-05/52.97, allocations: 6.688 kB / 12.81 GB, free: 141.1 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02583/52.99, allocations: 1.894 MB / 12.81 GB, free: 141.1 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/53, allocations: 450.2 kB / 12.81 GB, free: 141.1 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002626/53, allocations: 146.4 kB / 12.81 GB, free: 141.1 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/53.01, allocations: 5.6 MB / 12.82 GB, free: 139.3 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/53.01, allocations: 11.72 kB / 12.82 GB, free: 139.3 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06498/53.08, allocations: 24.86 MB / 12.84 GB, free: 136.9 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01975/53.09, allocations: 4.165 MB / 12.85 GB, free: 136.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00853/53.1, allocations: 112.2 kB / 12.85 GB, free: 136.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02672/53.13, allocations: 1.393 MB / 12.85 GB, free: 136.4 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002927/53.13, allocations: 389.9 kB / 12.85 GB, free: 136.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002796/53.14, allocations: 261.9 kB / 12.85 GB, free: 136.4 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.03581/53.17, allocations: 11.97 MB / 12.86 GB, free: 136.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.06209/53.23, allocations: 8.048 MB / 12.87 GB, free: 136.1 MB / 1.057 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.01259/53.25, allocations: 5.203 MB / 12.87 GB, free: 134 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.07292/53.32, allocations: 22.11 MB / 12.89 GB, free: 133.6 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.843e-05/53.32, allocations: 9.094 kB / 12.89 GB, free: 133.6 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.02415/53.34, allocations: 6.874 MB / 12.9 GB, free: 133.4 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08744/53.43, allocations: 8.499 MB / 12.91 GB, free: 133.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1687/53.6, allocations: 41.38 MB / 12.95 GB, free: 128.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05656/53.66, allocations: 14.06 MB / 12.96 GB, free: 127.5 MB / 1.057 GB Notification: Performance of SimCode: time 1.843e-06/53.66, allocations: 0 / 12.96 GB, free: 127.5 MB / 1.057 GB Notification: Performance of Templates: time 1.719/55.38, allocations: 404.6 MB / 13.36 GB, free: 161.4 MB / 1.057 GB