Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.ConstantInput,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Predictors_Validation_ConstantInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.685/3.685, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.143e-05, allocations: 4 kB / 0.4991 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6417, allocations: 92.67 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2468/0.8885, allocations: 126.2 MB / 0.7128 GB, free: 40 kB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.8889, allocations: 76.05 kB / 0.7129 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.08655/0.9755, allocations: 22.42 MB / 0.7348 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9755, allocations: 4.188 kB / 0.7348 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001128/0.9757, allocations: 75.94 kB / 0.7349 GB, free: 9.398 MB / 0.6198 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.007986/0.9837, allocations: 3.51 MB / 0.7383 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.9837, allocations: 8.031 kB / 0.7383 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/0.9848, allocations: 489.8 kB / 0.7388 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.9858, allocations: 355.7 kB / 0.7391 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.9893, allocations: 1.096 MB / 0.7402 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.9896, allocations: 244 kB / 0.7404 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007135/0.9903, allocations: 356 kB / 0.7408 GB, free: 3.246 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.001065/0.9914, allocations: 400.7 kB / 0.7412 GB, free: 2.828 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.