[: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.242/3.242, allocations: 404 MB / 410.9 MB, free: 2.164 MB / 312.6 MB Notification: Performance of FrontEnd - loaded program: time 9.442e-06/9.563e-06, allocations: 3.938 kB / 0.494 GB, free: 4.551 MB / 408.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3908, allocations: 92.76 MB / 0.5846 GB, free: 1.855 MB / 472.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.5708, allocations: 126.9 MB / 0.7085 GB, free: 3.949 MB / 0.5866 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5711, allocations: 79.94 kB / 0.7086 GB, free: 3.871 MB / 0.5866 GB Notification: Performance of FrontEnd: time 0.2013/0.7724, allocations: 66.39 MB / 0.7735 GB, free: 1.266 MB / 0.6491 GB Notification: Performance of Transformations before backend: time 0.0001869/0.7727, allocations: 116 kB / 0.7736 GB, free: 1.152 MB / 0.6491 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1839 * Number of variables: 1839 Notification: Performance of Generate backend data structure: time 0.01203/0.7847, allocations: 5.634 MB / 0.7791 GB, free: 11.43 MB / 0.6647 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7848, allocations: 8.031 kB / 0.7791 GB, free: 11.43 MB / 0.6647 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.7864, allocations: 0.6219 MB / 0.7797 GB, free: 10.8 MB / 0.6647 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/0.7917, allocations: 1.849 MB / 0.7815 GB, free: 8.898 MB / 0.6647 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.7918, allocations: 8 kB / 0.7815 GB, free: 8.891 MB / 0.6647 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008936/0.7927, allocations: 376 kB / 0.7819 GB, free: 8.523 MB / 0.6647 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000707/0.7934, allocations: 287 kB / 0.7821 GB, free: 8.242 MB / 0.6647 GB Error: An independent subset of the model has imbalanced number of equations (20) and variables (21). variables: integrator.y integrator.u TSam.y TSam.u TSam.firstTrigger TSam.sampleTrigger err.y err.u2 err.u1 to_degC.y to_degC.u PCon.y PCon.u2 PCon.u1 POffSet.y TOut.y baseLoad.TOut baseLoad.TOut_in_internal baseLoad.intTOut baseLoad.PPre[1] baseLoad.ECon equations: 1 : der(baseLoad.intTOut) = baseLoad.TOut_in_internal 2 : TOut.y = TOut.offset + (if time < TOut.startTime then 0.0 else if time < TOut.startTime + TOut.duration then (time - TOut.startTime) * TOut.height / TOut.duration else TOut.height) 3 : POffSet.y = POffSet.k 4 : PCon.y = PCon.k1 * PCon.u1 + PCon.k2 * PCon.u2 5 : to_degC.y = -273.15 + to_degC.u 6 : err.y = err.k1 * err.u1 + err.k2 * err.u2 7 : TSam.sampleTrigger = sample(4, TSam.startTime, TSam.samplePeriod) 8 : der(integrator.y) = integrator.k * integrator.u 9 : baseLoad.TOut = baseLoad.TOut_in_internal 10 : PCon.u1 = POffSet.y 11 : TOut.y = TSam.u 12 : TSam.y = baseLoad.TOut 13 : TSam.y = to_degC.u 14 : PCon.y = err.u2 15 : PCon.y = integrator.u 16 : baseLoad.ECon = integrator.y 17 : PCon.u2 = to_degC.y 18 : baseLoad.PPre[1] = err.u1 19 : when TSam.sampleTrigger then TSam.firstTrigger := time <= TSam.startTime + 0.5 * TSam.samplePeriod; end when; 20 : when {TSam.sampleTrigger, initial()} then TSam.y := TSam.u; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0008156/0.7943, allocations: 479.5 kB / 0.7826 GB, free: 7.758 MB / 0.6647 GB Error: pre-optimization module clockPartitioning (simulation) failed.