Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.SineInput,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Predictors_Validation_SineInput",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 3.977/3.977, allocations: 403.9 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2786/4.256, allocations: 95.01 MB / 0.4941 GB, free: 7.367 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/4.784, allocations: 92.68 MB / 0.5846 GB, free: 3.434 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/5.027, allocations: 126.5 MB / 0.7081 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/5.027, allocations: 75.95 kB / 0.7082 GB, free: 7.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: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.1061/5.133, allocations: 26.09 MB / 0.7337 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/5.133, allocations: 12 kB / 0.7337 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/5.135, allocations: 355.7 kB / 0.734 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00416/5.139, allocations: 1.141 MB / 0.7351 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/5.139, allocations: 12 kB / 0.7351 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005998/5.139, allocations: 219.9 kB / 0.7353 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006756/5.14, allocations: 212.8 kB / 0.7355 GB, free: 10.94 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.0008264/5.141, allocations: 350.3 kB / 0.7359 GB, free: 10.57 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed. Error: Internal error SimCode: The model Buildings.Controls.Predictors.Validation.SineInput could not be translated to FMU