Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.ConstantInput,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_Validation_ConstantInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.348/4.348, allocations: 464.6 MB / 476.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.501e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2344, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9044/1.139, allocations: 138 MB / 0.8126 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.139, allocations: 76.38 kB / 0.8127 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07679/1.216, allocations: 22.53 MB / 0.8347 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/1.216, allocations: 0 / 0.8347 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.61e-05/1.216, allocations: 69.31 kB / 0.8347 GB, free: 5.902 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1085 * Number of variables: 1085 Notification: Performance of Generate backend data structure: time 0.007326/1.224, allocations: 3.526 MB / 0.8382 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.224, allocations: 11.53 kB / 0.8382 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001207/1.225, allocations: 487.3 kB / 0.8387 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/1.226, allocations: 354.8 kB / 0.839 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/1.229, allocations: 1.099 MB / 0.8401 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/1.229, allocations: 242.2 kB / 0.8403 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006647/1.23, allocations: 359.1 kB / 0.8406 GB, free: 2.98 MB / 0.6355 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.0009662/1.231, allocations: 407.8 kB / 0.841 GB, free: 2.613 MB / 0.6355 GB Error: pre-optimization module clockPartitioning (simulation) failed.