[: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.237/3.237, allocations: 404 MB / 410.9 MB, free: 2.188 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 8.379e-06/8.432e-06, allocations: 0 / 0.4941 GB, free: 4.492 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3749, allocations: 92.74 MB / 0.5847 GB, free: 1.902 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.5457, allocations: 122.2 MB / 0.704 GB, free: 8.676 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.546, allocations: 91.92 kB / 0.7041 GB, free: 8.586 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.02032/0.5663, allocations: 4.552 MB / 0.7085 GB, free: 4.031 MB / 0.5866 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.5664, allocations: 4 kB / 0.7085 GB, free: 4.027 MB / 0.5866 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009244/0.5673, allocations: 0.5677 MB / 0.7091 GB, free: 3.391 MB / 0.5866 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5674, allocations: 16.03 kB / 0.7091 GB, free: 3.375 MB / 0.5866 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5675, allocations: 31.66 kB / 0.7091 GB, free: 3.344 MB / 0.5866 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.5677, allocations: 197.8 kB / 0.7093 GB, free: 3.113 MB / 0.5866 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.5677, allocations: 7.984 kB / 0.7093 GB, free: 3.105 MB / 0.5866 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.579e-05/0.5678, allocations: 24 kB / 0.7094 GB, free: 3.082 MB / 0.5866 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001726/0.568, allocations: 55.94 kB / 0.7094 GB, free: 3.027 MB / 0.5866 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.5684, allocations: 149.5 kB / 0.7095 GB, free: 2.875 MB / 0.5866 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-06/0.5684, allocations: 3.938 kB / 0.7095 GB, free: 2.871 MB / 0.5866 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.5684, allocations: 0 / 0.7095 GB, free: 2.871 MB / 0.5866 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.231e-06/0.5684, allocations: 7.906 kB / 0.7096 GB, free: 2.863 MB / 0.5866 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009741/0.5694, allocations: 0.5088 MB / 0.7101 GB, free: 2.316 MB / 0.5866 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.5697, allocations: 126.6 kB / 0.7102 GB, free: 2.184 MB / 0.5866 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5698, allocations: 52.84 kB / 0.7102 GB, free: 2.129 MB / 0.5866 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.5699, allocations: 4 kB / 0.7102 GB, free: 2.125 MB / 0.5866 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.5703, allocations: 159.3 kB / 0.7104 GB, free: 1.957 MB / 0.5866 GB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/0.5703, allocations: 4 kB / 0.7104 GB, free: 1.953 MB / 0.5866 GB Notification: Performance of matching and sorting (n=18): time 0.0004649/0.5708, allocations: 169.2 kB / 0.7105 GB, free: 1.781 MB / 0.5866 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5709, allocations: 63.34 kB / 0.7106 GB, free: 1.707 MB / 0.5866 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.5711, allocations: 220 kB / 0.7108 GB, free: 1.48 MB / 0.5866 GB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.5712, allocations: 29.7 kB / 0.7108 GB, free: 1.445 MB / 0.5866 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.5713, allocations: 104.8 kB / 0.7109 GB, free: 1.34 MB / 0.5866 GB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.5714, allocations: 31.61 kB / 0.711 GB, free: 1.309 MB / 0.5866 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.5714, allocations: 4 kB / 0.711 GB, free: 1.305 MB / 0.5866 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5716, allocations: 326.7 kB / 0.7113 GB, free: 0.9766 MB / 0.5866 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.5719, allocations: 108.2 kB / 0.7114 GB, free: 0.8711 MB / 0.5866 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.5722, allocations: 154.2 kB / 0.7115 GB, free: 0.6992 MB / 0.5866 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.5725, allocations: 86.75 kB / 0.7116 GB, free: 0.6133 MB / 0.5866 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-06/0.5725, allocations: 0 / 0.7116 GB, free: 0.6133 MB / 0.5866 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007627/0.5732, allocations: 287.8 kB / 0.7119 GB, free: 336 kB / 0.5866 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5733, allocations: 4 kB / 0.7119 GB, free: 332 kB / 0.5866 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5733, allocations: 7.906 kB / 0.7119 GB, free: 324 kB / 0.5866 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.5733, allocations: 7.984 kB / 0.7119 GB, free: 316 kB / 0.5866 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.5735, allocations: 23.92 kB / 0.7119 GB, free: 292 kB / 0.5866 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.788e-06/0.5735, allocations: 192 / 0.7119 GB, free: 292 kB / 0.5866 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.574, allocations: 55.75 kB / 0.712 GB, free: 236 kB / 0.5866 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5742, allocations: 47.97 kB / 0.712 GB, free: 188 kB / 0.5866 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.0002078/0.5744, allocations: 132 kB / 0.7122 GB, free: 48 kB / 0.5866 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.5744, allocations: 23.72 kB / 0.7122 GB, free: 24 kB / 0.5866 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.5745, allocations: 21.89 kB / 0.7122 GB, free: 0 / 0.5866 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-06/0.5745, allocations: 0 / 0.7122 GB, free: 0 / 0.5866 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.415e-06/0.5745, allocations: 0 / 0.7122 GB, free: 0 / 0.5866 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.858e-06/0.5746, allocations: 4.047 kB / 0.7122 GB, free: 15.99 MB / 0.6022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.5754, allocations: 0.4899 MB / 0.7127 GB, free: 15.46 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-06/0.5754, allocations: 7.938 kB / 0.7127 GB, free: 15.46 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.5755, allocations: 15.98 kB / 0.7127 GB, free: 15.44 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.5755, allocations: 3.906 kB / 0.7127 GB, free: 15.44 MB / 0.6022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.5756, allocations: 7.984 kB / 0.7127 GB, free: 15.43 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.753e-06/0.5756, allocations: 0 / 0.7127 GB, free: 15.43 MB / 0.6022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.938e-06/0.5756, allocations: 0 / 0.7127 GB, free: 15.43 MB / 0.6022 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004059/0.576, allocations: 271 kB / 0.713 GB, free: 15.15 MB / 0.6022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.5762, allocations: 160.7 kB / 0.7131 GB, free: 14.97 MB / 0.6022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.5763, allocations: 16 kB / 0.7132 GB, free: 14.96 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.5766, allocations: 8 kB / 0.7132 GB, free: 14.95 MB / 0.6022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.5767, allocations: 19.97 kB / 0.7132 GB, free: 14.93 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.5767, allocations: 19.98 kB / 0.7132 GB, free: 14.91 MB / 0.6022 GB Notification: Performance of sort global known variables: time 0.000197/0.5769, allocations: 172.5 kB / 0.7134 GB, free: 14.74 MB / 0.6022 GB Notification: Performance of remove unused functions: time 0.0005104/0.5774, allocations: 47.98 kB / 0.7134 GB, free: 14.69 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: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002216/0.5777, allocations: 147.3 kB / 0.7135 GB, free: 14.54 MB / 0.6022 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.5784, allocations: 275.4 kB / 0.7138 GB, free: 14.26 MB / 0.6022 GB Notification: Performance of simCode: created event and clocks part: time 2.369e-06/0.5784, allocations: 0 / 0.7138 GB, free: 14.26 MB / 0.6022 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5786, allocations: 67.92 kB / 0.7139 GB, free: 14.2 MB / 0.6022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.5789, allocations: 24.36 kB / 0.7139 GB, free: 14.17 MB / 0.6022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.5796, allocations: 251 kB / 0.7141 GB, free: 13.91 MB / 0.6022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.5802, allocations: 0.7821 MB / 0.7149 GB, free: 13.1 MB / 0.6022 GB Notification: Performance of SimCode: time 9.81e-07/0.5803, allocations: 0 / 0.7149 GB, free: 13.1 MB / 0.6022 GB Notification: Performance of Templates: time 0.009828/0.5901, allocations: 4.286 MB / 0.7191 GB, free: 8.832 MB / 0.6022 GB