[: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.167/3.167, allocations: 404 MB / 410.9 MB, free: 2.18 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 6.939e-06/7.001e-06, allocations: 0 / 0.4941 GB, free: 4.543 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3756, allocations: 92.76 MB / 0.5846 GB, free: 1.867 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.5505, allocations: 123.5 MB / 0.7053 GB, free: 7.34 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5508, allocations: 91.92 kB / 0.7054 GB, free: 7.25 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.02938/0.5802, allocations: 7.619 MB / 0.7128 GB, free: 15.59 MB / 0.6022 GB Notification: Performance of Transformations before backend: time 2.804e-05/0.5803, allocations: 8 kB / 0.7128 GB, free: 15.58 MB / 0.6022 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001075/0.5813, allocations: 0.6183 MB / 0.7134 GB, free: 14.91 MB / 0.6022 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5814, allocations: 12.03 kB / 0.7134 GB, free: 14.9 MB / 0.6022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.5815, allocations: 47.44 kB / 0.7135 GB, free: 14.86 MB / 0.6022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.5821, allocations: 337.4 kB / 0.7138 GB, free: 14.48 MB / 0.6022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.5822, allocations: 20 kB / 0.7138 GB, free: 14.46 MB / 0.6022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.5822, allocations: 35.97 kB / 0.7138 GB, free: 14.43 MB / 0.6022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009798/0.5832, allocations: 385.9 kB / 0.7142 GB, free: 14.05 MB / 0.6022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.5843, allocations: 481.3 kB / 0.7147 GB, free: 13.55 MB / 0.6022 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5843, allocations: 3.938 kB / 0.7147 GB, free: 13.55 MB / 0.6022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.5844, allocations: 7.906 kB / 0.7147 GB, free: 13.54 MB / 0.6022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.5844, allocations: 21 kB / 0.7147 GB, free: 13.52 MB / 0.6022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.5872, allocations: 1.781 MB / 0.7164 GB, free: 11.67 MB / 0.6022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.5879, allocations: 303.5 kB / 0.7167 GB, free: 11.36 MB / 0.6022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.5883, allocations: 165.5 kB / 0.7169 GB, free: 11.2 MB / 0.6022 GB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/0.5883, allocations: 11.98 kB / 0.7169 GB, free: 11.19 MB / 0.6022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004008/0.5888, allocations: 206.3 kB / 0.7171 GB, free: 10.97 MB / 0.6022 GB Notification: Performance of pre-optimization done (n=46): time 3.087e-06/0.5888, allocations: 0 / 0.7171 GB, free: 10.97 MB / 0.6022 GB Notification: Performance of matching and sorting (n=46): time 0.0007861/0.5896, allocations: 293.9 kB / 0.7174 GB, free: 10.68 MB / 0.6022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5896, allocations: 67.41 kB / 0.7174 GB, free: 10.6 MB / 0.6022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.5899, allocations: 212.7 kB / 0.7176 GB, free: 10.39 MB / 0.6022 GB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.59, allocations: 37.7 kB / 0.7177 GB, free: 10.34 MB / 0.6022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5901, allocations: 204.7 kB / 0.7179 GB, free: 10.14 MB / 0.6022 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.5903, allocations: 98.67 kB / 0.718 GB, free: 10.04 MB / 0.6022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.5904, allocations: 4 kB / 0.718 GB, free: 10.04 MB / 0.6022 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5905, allocations: 334.8 kB / 0.7183 GB, free: 9.699 MB / 0.6022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.5909, allocations: 141.3 kB / 0.7184 GB, free: 9.562 MB / 0.6022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.5913, allocations: 275.3 kB / 0.7187 GB, free: 9.238 MB / 0.6022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.5917, allocations: 146.2 kB / 0.7188 GB, free: 9.098 MB / 0.6022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.884e-06/0.5917, allocations: 4 kB / 0.7188 GB, free: 9.094 MB / 0.6022 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001021/0.5928, allocations: 439.9 kB / 0.7193 GB, free: 8.66 MB / 0.6022 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5928, allocations: 8 kB / 0.7193 GB, free: 8.652 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5928, allocations: 4.453 kB / 0.7193 GB, free: 8.648 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.5929, allocations: 15.91 kB / 0.7193 GB, free: 8.633 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.5932, allocations: 63.84 kB / 0.7193 GB, free: 8.57 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.5932, allocations: 4 kB / 0.7193 GB, free: 8.566 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.5935, allocations: 39.81 kB / 0.7194 GB, free: 8.527 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.5936, allocations: 24 kB / 0.7194 GB, free: 8.504 MB / 0.6022 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 55 ($PRE.con.multiSwitch1.u[1],$PRE.con.multiSwitch1.u[2],$PRE.con.t1.enableFire,$PRE.con.t2.enableFire,$PRE.con.t3.enableFire,$PRE.con.t4.enableFire,con.stateGraphRoot.resume,con.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,con.greaterEqualThreshold.y,con.and1.u1,con.and1.u2,con.and1.y,con.and2.u2,con.and2.y,con.lessEqualThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,$PRE.con.off.localActive,con.off.localActive,con.off.inPort[1].set,con.off.outPort[1].reset,$PRE.con.off.newActive,con.off.newActive,$PRE.con.off.oldActive,con.off.oldActive,con.off.active,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.enableFire,con.t1.fire,$PRE.con.t1.t_start,con.t1.t_start,con.t2.enableFire,con.t2.fire,$PRE.con.t2.t_start,con.t2.t_start,$PRE.con.charge.localActive,con.charge.localActive,$PRE.con.charge.newActive,con.charge.newActive,$PRE.con.charge.oldActive,con.charge.oldActive,con.charge.active,$PRE.con.discharge.localActive,con.discharge.localActive,$PRE.con.discharge.newActive,con.discharge.newActive,$PRE.con.discharge.oldActive,con.discharge.oldActive,con.discharge.active,con.t3.enableFire,con.t4.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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.0001833/0.5938, allocations: 146 kB / 0.7195 GB, free: 8.355 MB / 0.6022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.5939, allocations: 35.55 kB / 0.7196 GB, free: 8.32 MB / 0.6022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.595, allocations: 370.4 kB / 0.7199 GB, free: 7.953 MB / 0.6022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.595, allocations: 7.906 kB / 0.7199 GB, free: 7.945 MB / 0.6022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-06/0.595, allocations: 4 kB / 0.7199 GB, free: 7.941 MB / 0.6022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.905e-06/0.595, allocations: 3.984 kB / 0.7199 GB, free: 7.938 MB / 0.6022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.597, allocations: 0.9248 MB / 0.7208 GB, free: 6.965 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.19e-06/0.597, allocations: 4 kB / 0.7209 GB, free: 6.961 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.5973, allocations: 31.92 kB / 0.7209 GB, free: 6.93 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.039e-06/0.5973, allocations: 4 kB / 0.7209 GB, free: 6.926 MB / 0.6022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.5973, allocations: 11.92 kB / 0.7209 GB, free: 6.914 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.5974, allocations: 0 / 0.7209 GB, free: 6.914 MB / 0.6022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.286e-06/0.5974, allocations: 0 / 0.7209 GB, free: 6.914 MB / 0.6022 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009309/0.5983, allocations: 454.8 kB / 0.7213 GB, free: 6.453 MB / 0.6022 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.5984, allocations: 100.8 kB / 0.7214 GB, free: 6.336 MB / 0.6022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.5985, allocations: 4 kB / 0.7214 GB, free: 6.332 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.5987, allocations: 23.97 kB / 0.7215 GB, free: 6.309 MB / 0.6022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.5989, allocations: 68.25 kB / 0.7215 GB, free: 6.242 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.375e-05/0.599, allocations: 15.98 kB / 0.7215 GB, free: 6.227 MB / 0.6022 GB Notification: Performance of sort global known variables: time 0.0001358/0.5992, allocations: 132.5 kB / 0.7217 GB, free: 6.098 MB / 0.6022 GB Notification: Performance of remove unused functions: time 0.0006321/0.5998, allocations: 68 kB / 0.7217 GB, free: 6.031 MB / 0.6022 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 (con.t2.enableFire,con.t1.enableFire,con.discharge.active,con.discharge.localActive,con.charge.active,con.charge.localActive,con.off.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition2,$whenCondition1,con.greaterEqualThreshold.y,con.and1.u1,con.and1.u2,con.and1.y,con.and2.u2,con.and2.y,con.lessEqualThreshold.y,con.multiSwitch1.u[1],con.multiSwitch1.u[2],con.multiSwitch1.firstActiveIndex,con.off.inPort[1].set,con.off.outPort[1].reset,con.off.newActive,con.off.oldActive,con.off.active,con.stateGraphRoot.activeSteps,con.alternative.split[2].available,con.t1.fire,con.t1.t_start,con.t2.fire,con.t2.t_start,con.charge.newActive,con.charge.oldActive,con.discharge.newActive,con.discharge.oldActive,con.t3.enableFire,con.t4.enableFire) * Number of discrete states: 3 (con.off.newActive,con.charge.newActive,con.discharge.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002394/0.6, allocations: 150 kB / 0.7219 GB, free: 5.875 MB / 0.6022 GB Notification: Performance of simCode: created initialization part: time 0.0008512/0.6009, allocations: 391.4 kB / 0.7222 GB, free: 5.488 MB / 0.6022 GB Notification: Performance of simCode: created event and clocks part: time 2.248e-06/0.6009, allocations: 0 / 0.7222 GB, free: 5.488 MB / 0.6022 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.6013, allocations: 197.6 kB / 0.7224 GB, free: 5.293 MB / 0.6022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.6017, allocations: 28.86 kB / 0.7225 GB, free: 5.266 MB / 0.6022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.6032, allocations: 0.5246 MB / 0.723 GB, free: 4.723 MB / 0.6022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006517/0.6039, allocations: 0.8655 MB / 0.7238 GB, free: 3.832 MB / 0.6022 GB Notification: Performance of SimCode: time 1.473e-06/0.6039, allocations: 0 / 0.7238 GB, free: 3.832 MB / 0.6022 GB Notification: Performance of Templates: time 0.01234/0.6163, allocations: 4.479 MB / 0.7282 GB, free: 15.38 MB / 0.6178 GB