Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.346/4.346, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.29e-05, allocations: 4 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9084/1.138, allocations: 139.5 MB / 0.814 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.138, allocations: 76.2 kB / 0.8141 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2274/1.366, allocations: 67.77 MB / 0.8803 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.264e-06/1.366, allocations: 0 / 0.8803 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001698/1.366, allocations: 112 kB / 0.8804 GB, free: 0.9531 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1841 * Number of variables: 1841 Notification: Performance of Generate backend data structure: time 0.01462/1.381, allocations: 5.779 MB / 0.886 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/1.381, allocations: 12.03 kB / 0.886 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00221/1.383, allocations: 0.8065 MB / 0.8868 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/1.385, allocations: 0.618 MB / 0.8874 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/1.392, allocations: 1.812 MB / 0.8892 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005387/1.392, allocations: 429 kB / 0.8896 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/1.394, allocations: 0.6293 MB / 0.8902 GB, free: 8.145 MB / 0.6823 GB Error: An independent subset of the model has imbalanced number of equations (20) and variables (21). variables: integrator.y integrator.u TSam.y TSam.u TSam.firstTrigger TSam.sampleTrigger err.y err.u2 err.u1 to_degC.y to_degC.u PCon.y PCon.u2 PCon.u1 POffSet.y TOut.y baseLoad.TOut baseLoad.TOut_in_internal baseLoad.intTOut baseLoad.PPre[1] baseLoad.ECon equations: 1 : der(baseLoad.intTOut) = baseLoad.TOut_in_internal 2 : TOut.y = TOut.offset + (if time < TOut.startTime then 0.0 else if time < TOut.startTime + TOut.duration then (time - TOut.startTime) * TOut.height / TOut.duration else TOut.height) 3 : POffSet.y = POffSet.k 4 : PCon.y = PCon.k1 * PCon.u1 + PCon.k2 * PCon.u2 5 : to_degC.y = -273.15 + to_degC.u 6 : err.y = err.k1 * err.u1 + err.k2 * err.u2 7 : TSam.sampleTrigger = sample(4, TSam.startTime, TSam.samplePeriod) 8 : der(integrator.y) = integrator.k * integrator.u 9 : baseLoad.TOut = baseLoad.TOut_in_internal 10 : PCon.u1 = POffSet.y 11 : TOut.y = TSam.u 12 : TSam.y = baseLoad.TOut 13 : TSam.y = to_degC.u 14 : PCon.y = err.u2 15 : PCon.y = integrator.u 16 : baseLoad.ECon = integrator.y 17 : PCon.u2 = to_degC.y 18 : baseLoad.PPre[1] = err.u1 19 : when TSam.sampleTrigger then TSam.firstTrigger := time <= TSam.startTime + 0.5 * TSam.samplePeriod; end when; 20 : when {TSam.sampleTrigger, initial()} then TSam.y := TSam.u; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001504/1.395, allocations: 0.5353 MB / 0.8907 GB, free: 7.688 MB / 0.6823 GB Error: pre-optimization module clockPartitioning (simulation) failed.