[: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.199/3.199, allocations: 404 MB / 410.9 MB, free: 2.121 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 6.878e-06/6.995e-06, allocations: 0 / 0.494 GB, free: 4.461 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3779, allocations: 92.77 MB / 0.5846 GB, free: 1.863 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.5666, allocations: 126.5 MB / 0.7082 GB, free: 4.281 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5669, allocations: 75.95 kB / 0.7083 GB, free: 4.207 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.07608/0.643, allocations: 22.52 MB / 0.7303 GB, free: 13.62 MB / 0.6178 GB Notification: Performance of Transformations before backend: time 9.738e-05/0.6432, allocations: 68 kB / 0.7303 GB, free: 13.55 MB / 0.6178 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.006883/0.6501, allocations: 3.495 MB / 0.7338 GB, free: 9.984 MB / 0.6178 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.6501, allocations: 8.031 kB / 0.7338 GB, free: 9.977 MB / 0.6178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000802/0.6509, allocations: 355.7 kB / 0.7341 GB, free: 9.625 MB / 0.6178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.6541, allocations: 1.145 MB / 0.7352 GB, free: 8.438 MB / 0.6178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.6542, allocations: 8 kB / 0.7352 GB, free: 8.43 MB / 0.6178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/0.6547, allocations: 219.9 kB / 0.7354 GB, free: 8.215 MB / 0.6178 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005023/0.6552, allocations: 212.8 kB / 0.7356 GB, free: 8.004 MB / 0.6178 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0006127/0.6558, allocations: 346.9 kB / 0.736 GB, free: 7.641 MB / 0.6178 GB Error: pre-optimization module clockPartitioning (simulation) failed.