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.814/3.814, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.222e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5916, allocations: 92.69 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.8246, allocations: 126.2 MB / 0.7129 GB, free: 16 kB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/0.825, allocations: 80.03 kB / 0.713 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09718/0.9222, allocations: 22.4 MB / 0.7348 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9222, allocations: 4 kB / 0.7348 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001527/0.9224, allocations: 72 kB / 0.7349 GB, free: 9.387 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.01006/0.9325, allocations: 3.518 MB / 0.7383 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.9325, allocations: 8.031 kB / 0.7384 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/0.9336, allocations: 489.8 kB / 0.7388 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.9348, allocations: 355.7 kB / 0.7392 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.9392, allocations: 1.096 MB / 0.7402 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.9395, allocations: 236 kB / 0.7405 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009081/0.9405, allocations: 363.9 kB / 0.7408 GB, free: 3.227 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.001386/0.9419, allocations: 399.3 kB / 0.7412 GB, free: 2.809 MB / 0.6198 GB Error: pre-optimization module clockPartitioning (simulation) failed.