[: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.221/3.221, allocations: 404 MB / 410.9 MB, free: 2.164 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 1.055e-05/1.06e-05, allocations: 3.938 kB / 0.4941 GB, free: 4.473 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4473, allocations: 92.75 MB / 0.5847 GB, free: 1.871 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.6319, allocations: 122.3 MB / 0.7041 GB, free: 8.512 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.6323, allocations: 95.92 kB / 0.7042 GB, free: 8.418 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.021/0.6533, allocations: 4.56 MB / 0.7087 GB, free: 3.852 MB / 0.5866 GB Notification: Performance of Transformations before backend: time 9.893e-06/0.6534, allocations: 4.219 kB / 0.7087 GB, free: 3.848 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.0009752/0.6544, allocations: 0.5636 MB / 0.7092 GB, free: 3.215 MB / 0.5866 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.6544, allocations: 16.03 kB / 0.7092 GB, free: 3.199 MB / 0.5866 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.6545, allocations: 31.66 kB / 0.7093 GB, free: 3.168 MB / 0.5866 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.6547, allocations: 201.8 kB / 0.7094 GB, free: 2.934 MB / 0.5866 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.6548, allocations: 7.984 kB / 0.7095 GB, free: 2.926 MB / 0.5866 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.6549, allocations: 12 kB / 0.7095 GB, free: 2.914 MB / 0.5866 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001804/0.6551, allocations: 63.88 kB / 0.7095 GB, free: 2.852 MB / 0.5866 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.6554, allocations: 146.7 kB / 0.7097 GB, free: 2.703 MB / 0.5866 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.563e-06/0.6554, allocations: 4 kB / 0.7097 GB, free: 2.699 MB / 0.5866 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.6555, allocations: 0 / 0.7097 GB, free: 2.699 MB / 0.5866 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.409e-06/0.6555, allocations: 3.906 kB / 0.7097 GB, free: 2.695 MB / 0.5866 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.6566, allocations: 0.5166 MB / 0.7102 GB, free: 2.141 MB / 0.5866 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.6569, allocations: 122.6 kB / 0.7103 GB, free: 2.012 MB / 0.5866 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.657, allocations: 60.84 kB / 0.7104 GB, free: 1.949 MB / 0.5866 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.6571, allocations: 0 / 0.7104 GB, free: 1.949 MB / 0.5866 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.6575, allocations: 159.3 kB / 0.7105 GB, free: 1.781 MB / 0.5866 GB Notification: Performance of pre-optimization done (n=18): time 2.752e-06/0.6575, allocations: 4 kB / 0.7105 GB, free: 1.777 MB / 0.5866 GB Notification: Performance of matching and sorting (n=18): time 0.0005388/0.6581, allocations: 172.2 kB / 0.7107 GB, free: 1.605 MB / 0.5866 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.6581, allocations: 67.33 kB / 0.7107 GB, free: 1.527 MB / 0.5866 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.6585, allocations: 212 kB / 0.7109 GB, free: 1.309 MB / 0.5866 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.6586, allocations: 37.7 kB / 0.711 GB, free: 1.266 MB / 0.5866 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.6587, allocations: 100.8 kB / 0.7111 GB, free: 1.164 MB / 0.5866 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.6588, allocations: 43.59 kB / 0.7111 GB, free: 1.121 MB / 0.5866 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.6588, allocations: 4 kB / 0.7111 GB, free: 1.117 MB / 0.5866 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.659, allocations: 326.7 kB / 0.7114 GB, free: 0.7891 MB / 0.5866 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.6593, allocations: 100.2 kB / 0.7115 GB, free: 0.6914 MB / 0.5866 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.6596, allocations: 150.2 kB / 0.7117 GB, free: 0.5234 MB / 0.5866 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.6599, allocations: 80.69 kB / 0.7117 GB, free: 452 kB / 0.5866 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6599, allocations: 4 kB / 0.7117 GB, free: 448 kB / 0.5866 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008478/0.6607, allocations: 291.8 kB / 0.712 GB, free: 152 kB / 0.5866 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6608, allocations: 4 kB / 0.712 GB, free: 148 kB / 0.5866 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6608, allocations: 4.094 kB / 0.712 GB, free: 144 kB / 0.5866 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.6608, allocations: 8 kB / 0.712 GB, free: 136 kB / 0.5866 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.6611, allocations: 27.92 kB / 0.7121 GB, free: 108 kB / 0.5866 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6611, allocations: 4 kB / 0.7121 GB, free: 104 kB / 0.5866 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.6616, allocations: 51.75 kB / 0.7121 GB, free: 52 kB / 0.5866 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.6617, allocations: 43.98 kB / 0.7122 GB, free: 8 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.0002433/0.662, allocations: 130.4 kB / 0.7123 GB, free: 15.88 MB / 0.6022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.6621, allocations: 23.72 kB / 0.7123 GB, free: 15.85 MB / 0.6022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.783e-05/0.6622, allocations: 21.89 kB / 0.7123 GB, free: 15.83 MB / 0.6022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.23e-06/0.6622, allocations: 4 kB / 0.7123 GB, free: 15.82 MB / 0.6022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-06/0.6622, allocations: 0 / 0.7123 GB, free: 15.82 MB / 0.6022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-06/0.6622, allocations: 4 kB / 0.7123 GB, free: 15.82 MB / 0.6022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/0.6631, allocations: 0.4909 MB / 0.7128 GB, free: 15.29 MB / 0.6022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-06/0.6631, allocations: 0 / 0.7128 GB, free: 15.29 MB / 0.6022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.6632, allocations: 7.984 kB / 0.7128 GB, free: 15.28 MB / 0.6022 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.5e-06/0.6632, allocations: 3.906 kB / 0.7128 GB, free: 15.27 MB / 0.6022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.6633, allocations: 15.98 kB / 0.7128 GB, free: 15.26 MB / 0.6022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.854e-06/0.6633, allocations: 0 / 0.7128 GB, free: 15.26 MB / 0.6022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.441e-06/0.6633, allocations: 0 / 0.7128 GB, free: 15.26 MB / 0.6022 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004211/0.6637, allocations: 271 kB / 0.7131 GB, free: 14.98 MB / 0.6022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.6639, allocations: 160.7 kB / 0.7133 GB, free: 14.8 MB / 0.6022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.664, allocations: 12 kB / 0.7133 GB, free: 14.79 MB / 0.6022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6643, allocations: 11.98 kB / 0.7133 GB, free: 14.78 MB / 0.6022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.6644, allocations: 7.984 kB / 0.7133 GB, free: 14.77 MB / 0.6022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.6644, allocations: 27.98 kB / 0.7133 GB, free: 14.74 MB / 0.6022 GB Notification: Performance of sort global known variables: time 0.0002043/0.6647, allocations: 168.5 kB / 0.7135 GB, free: 14.57 MB / 0.6022 GB Notification: Performance of remove unused functions: time 0.0005289/0.6652, allocations: 51.98 kB / 0.7135 GB, free: 14.52 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.0002206/0.6654, allocations: 137 kB / 0.7137 GB, free: 14.38 MB / 0.6022 GB Notification: Performance of simCode: created initialization part: time 0.0006655/0.6661, allocations: 282.9 kB / 0.7139 GB, free: 14.1 MB / 0.6022 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.6661, allocations: 7.938 kB / 0.7139 GB, free: 14.09 MB / 0.6022 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.6663, allocations: 67.92 kB / 0.714 GB, free: 14.02 MB / 0.6022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.6667, allocations: 33.66 kB / 0.714 GB, free: 13.99 MB / 0.6022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.6674, allocations: 240 kB / 0.7143 GB, free: 13.74 MB / 0.6022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.668, allocations: 0.7782 MB / 0.715 GB, free: 12.93 MB / 0.6022 GB Notification: Performance of SimCode: time 9.15e-07/0.6681, allocations: 4 kB / 0.715 GB, free: 12.93 MB / 0.6022 GB Notification: Performance of Templates: time 0.01049/0.6786, allocations: 4.286 MB / 0.7192 GB, free: 8.66 MB / 0.6022 GB