Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.561/4.561, allocations: 404.1 MB / 411.3 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.082e-05, allocations: 0 / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6723, allocations: 92.69 MB / 0.585 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.9231, allocations: 126.9 MB / 0.709 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.9235, allocations: 83.94 kB / 0.7091 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3037/1.227, allocations: 66.57 MB / 0.7741 GB, free: 364 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.983e-06/1.227, allocations: 0 / 0.7741 GB, free: 364 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001843/1.227, allocations: 112 kB / 0.7742 GB, free: 252 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1839 * Number of variables: 1839 Notification: Performance of Generate backend data structure: time 0.6152/1.843, allocations: 5.765 MB / 0.7798 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.843, allocations: 12.78 kB / 0.7798 GB, free: 161.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/1.845, allocations: 0.6231 MB / 0.7804 GB, free: 160.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006949/1.852, allocations: 1.804 MB / 0.7822 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/1.852, allocations: 11.19 kB / 0.7822 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/1.853, allocations: 375.9 kB / 0.7826 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008373/1.854, allocations: 284.5 kB / 0.7828 GB, free: 160.4 MB / 0.6511 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.0009431/1.855, allocations: 475.6 kB / 0.7833 GB, free: 160.3 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.