Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.ConstantInput,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Predictors_Validation_ConstantInput",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 4.096/4.096, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3076/4.403, allocations: 94.99 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6033/5.007, allocations: 92.67 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2632/5.27, allocations: 125.5 MB / 0.7071 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/5.27, allocations: 75.95 kB / 0.7072 GB, free: 8.152 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.1057/5.376, allocations: 25.26 MB / 0.7318 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/5.376, allocations: 16 kB / 0.7319 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/5.377, allocations: 351.8 kB / 0.7322 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/5.382, allocations: 1.139 MB / 0.7333 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/5.382, allocations: 4 kB / 0.7333 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006568/5.383, allocations: 212 kB / 0.7335 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005987/5.383, allocations: 188.4 kB / 0.7337 GB, free: 12.81 MB / 0.6198 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.0007816/5.384, allocations: 351.2 kB / 0.734 GB, free: 12.45 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed. Error: Internal error SimCode: The model Buildings.Controls.Predictors.Validation.ConstantInput could not be translated to FMU