[: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 loadModel(Buildings): time 3.208/3.208, allocations: 404 MB / 410.9 MB, free: 2.172 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 1.064e-05/1.094e-05, allocations: 4 kB / 0.494 GB, free: 4.559 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3793, allocations: 92.76 MB / 0.5846 GB, free: 1.828 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6963/1.076, allocations: 365.2 MB / 0.9413 GB, free: 63.61 MB / 0.6803 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/1.076, allocations: 78.64 kB / 0.9414 GB, free: 63.57 MB / 0.6803 GB Notification: Performance of FrontEnd: time 5.558/6.634, allocations: 1.416 GB / 2.357 GB, free: 136.9 MB / 0.7897 GB Notification: Performance of Transformations before backend: time 0.0002109/6.634, allocations: 51.78 kB / 2.357 GB, free: 136.9 MB / 0.7897 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.004412/6.639, allocations: 1.927 MB / 2.359 GB, free: 136 MB / 0.7897 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/6.639, allocations: 12.91 kB / 2.359 GB, free: 136 MB / 0.7897 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/6.644, allocations: 0.6934 MB / 2.36 GB, free: 135.9 MB / 0.7897 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/6.649, allocations: 1.514 MB / 2.361 GB, free: 135.5 MB / 0.7897 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/6.649, allocations: 38.06 kB / 2.361 GB, free: 135.5 MB / 0.7897 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/6.649, allocations: 77.75 kB / 2.362 GB, free: 135.5 MB / 0.7897 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002395/6.652, allocations: 0.8832 MB / 2.362 GB, free: 135.5 MB / 0.7897 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/6.654, allocations: 1.243 MB / 2.364 GB, free: 135.1 MB / 0.7897 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/6.654, allocations: 5.938 kB / 2.364 GB, free: 135.1 MB / 0.7897 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/6.655, allocations: 3.906 kB / 2.364 GB, free: 135.1 MB / 0.7897 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/6.655, allocations: 42.47 kB / 2.364 GB, free: 135.1 MB / 0.7897 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/6.666, allocations: 8.419 MB / 2.372 GB, free: 129.5 MB / 0.7897 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/6.668, allocations: 0.9262 MB / 2.373 GB, free: 129.3 MB / 0.7897 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/6.669, allocations: 493.8 kB / 2.373 GB, free: 129.3 MB / 0.7897 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/6.67, allocations: 1.6 MB / 2.375 GB, free: 127.5 MB / 0.7897 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/6.672, allocations: 0.7166 MB / 2.376 GB, free: 127.3 MB / 0.7897 GB Notification: Performance of pre-optimization done (n=95): time 3.912e-06/6.672, allocations: 0 / 2.376 GB, free: 127.3 MB / 0.7897 GB Notification: Performance of matching and sorting (n=95): time 0.005301/6.677, allocations: 1.342 MB / 2.377 GB, free: 127.2 MB / 0.7897 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/6.677, allocations: 356.6 kB / 2.377 GB, free: 126.8 MB / 0.7897 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/6.679, allocations: 0.9765 MB / 2.378 GB, free: 126.6 MB / 0.7897 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/6.679, allocations: 32.45 kB / 2.378 GB, free: 126.6 MB / 0.7897 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/6.679, allocations: 0.5495 MB / 2.379 GB, free: 126.3 MB / 0.7897 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/6.68, allocations: 308.3 kB / 2.379 GB, free: 126.1 MB / 0.7897 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/6.68, allocations: 3.281 kB / 2.379 GB, free: 126.1 MB / 0.7897 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/6.68, allocations: 356.6 kB / 2.379 GB, free: 125.8 MB / 0.7897 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/6.681, allocations: 420.9 kB / 2.38 GB, free: 125.8 MB / 0.7897 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/6.682, allocations: 0.8402 MB / 2.381 GB, free: 125.3 MB / 0.7897 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/6.685, allocations: 0.7303 MB / 2.381 GB, free: 125.2 MB / 0.7897 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.187e-06/6.685, allocations: 3.812 kB / 2.381 GB, free: 125.2 MB / 0.7897 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005/6.69, allocations: 1.561 MB / 2.383 GB, free: 125.1 MB / 0.7897 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007692/6.691, allocations: 4.028 MB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/6.691, allocations: 9.938 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/6.691, allocations: 17.94 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/6.693, allocations: 359.2 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/6.693, allocations: 21.16 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/6.696, allocations: 283.9 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/6.696, allocations: 67.14 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/6.696, allocations: 3.969 kB / 2.387 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004414/6.7, allocations: 1.334 MB / 2.389 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/6.7, allocations: 11 kB / 2.389 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/6.7, allocations: 16.5 kB / 2.389 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/6.702, allocations: 336.6 kB / 2.389 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/6.702, allocations: 29.23 kB / 2.389 GB, free: 120.8 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/6.705, allocations: 236.5 kB / 2.389 GB, free: 120.7 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001964/6.705, allocations: 67.16 kB / 2.389 GB, free: 120.7 MB / 0.7897 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004406/6.705, allocations: 252.5 kB / 2.39 GB, free: 120.5 MB / 0.7897 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/6.706, allocations: 164.4 kB / 2.39 GB, free: 120.4 MB / 0.7897 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/6.712, allocations: 2.022 MB / 2.392 GB, free: 120.3 MB / 0.7897 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/6.712, allocations: 10.97 kB / 2.392 GB, free: 120.3 MB / 0.7897 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/6.712, allocations: 5.859 kB / 2.392 GB, free: 120.3 MB / 0.7897 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/6.712, allocations: 11.47 kB / 2.392 GB, free: 120.3 MB / 0.7897 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/6.715, allocations: 1.803 MB / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.445e-06/6.715, allocations: 0 / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/6.717, allocations: 241.5 kB / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/6.717, allocations: 6.594 kB / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/6.718, allocations: 28.8 kB / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.915e-06/6.718, allocations: 3.531 kB / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.106e-06/6.718, allocations: 6.344 kB / 2.394 GB, free: 119.7 MB / 0.7897 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006678/6.724, allocations: 2.282 MB / 2.396 GB, free: 119.4 MB / 0.7897 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/6.725, allocations: 241 kB / 2.396 GB, free: 119.2 MB / 0.7897 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/6.726, allocations: 13.38 kB / 2.396 GB, free: 119.2 MB / 0.7897 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/6.728, allocations: 171.8 kB / 2.396 GB, free: 119.2 MB / 0.7897 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/6.728, allocations: 63.61 kB / 2.397 GB, free: 119.2 MB / 0.7897 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/6.728, allocations: 49.48 kB / 2.397 GB, free: 119.2 MB / 0.7897 GB Notification: Performance of sort global known variables: time 0.001364/6.729, allocations: 0.7552 MB / 2.397 GB, free: 119.1 MB / 0.7897 GB Notification: Performance of remove unused functions: time 0.003498/6.733, allocations: 0.9031 MB / 2.398 GB, free: 119 MB / 0.7897 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/6.735, allocations: 0.9044 MB / 2.399 GB, free: 118.8 MB / 0.7897 GB Notification: Performance of simCode: created initialization part: time 0.003696/6.738, allocations: 1.956 MB / 2.401 GB, free: 118.6 MB / 0.7897 GB Notification: Performance of simCode: created event and clocks part: time 5.464e-06/6.738, allocations: 7.688 kB / 2.401 GB, free: 118.6 MB / 0.7897 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/6.739, allocations: 0.7308 MB / 2.402 GB, free: 118.5 MB / 0.7897 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/6.743, allocations: 0.5062 MB / 2.402 GB, free: 118.5 MB / 0.7897 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/6.749, allocations: 2.707 MB / 2.405 GB, free: 117.8 MB / 0.7897 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/6.751, allocations: 1.521 MB / 2.406 GB, free: 117.1 MB / 0.7897 GB Notification: Performance of SimCode: time 1.193e-06/6.751, allocations: 1.562 kB / 2.406 GB, free: 117.1 MB / 0.7897 GB Notification: Performance of Templates: time 0.08517/6.836, allocations: 37.26 MB / 2.443 GB, free: 103.2 MB / 0.7897 GB