Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.ConstantInput,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Predictors_Validation_ConstantInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.315/4.315, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.829e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2449, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8689/1.114, allocations: 137.6 MB / 0.8063 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.114, allocations: 76.56 kB / 0.8064 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07456/1.189, allocations: 22.53 MB / 0.8284 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/1.189, allocations: 7.781 kB / 0.8284 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.46e-05/1.189, allocations: 64.62 kB / 0.8284 GB, free: 7.059 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.006688/1.196, allocations: 3.533 MB / 0.8319 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.196, allocations: 11.5 kB / 0.8319 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006866/1.196, allocations: 494.4 kB / 0.8324 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007578/1.197, allocations: 354.9 kB / 0.8327 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002768/1.2, allocations: 1.097 MB / 0.8338 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/1.2, allocations: 239.5 kB / 0.834 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004975/1.201, allocations: 357 kB / 0.8343 GB, free: 4.523 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.0009249/1.202, allocations: 415.9 kB / 0.8347 GB, free: 4.336 MB / 0.6355 GB Error: pre-optimization module clockPartitioning (simulation) failed.