Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.834/3.834, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.536e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6416, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.8798, allocations: 127.6 MB / 0.7142 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.8802, allocations: 75.97 kB / 0.7143 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8051/1.685, allocations: 67.64 MB / 0.7803 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.855e-06/1.685, allocations: 1.125 kB / 0.7803 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001726/1.686, allocations: 119.4 kB / 0.7804 GB, free: 140.5 MB / 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.01432/1.7, allocations: 5.777 MB / 0.7861 GB, free: 139 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.7, allocations: 12.38 kB / 0.7861 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001589/1.702, allocations: 0.8057 MB / 0.7869 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.703, allocations: 0.6273 MB / 0.7875 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006171/1.71, allocations: 1.798 MB / 0.7892 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/1.71, allocations: 430.3 kB / 0.7897 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/1.711, allocations: 0.6329 MB / 0.7903 GB, free: 138.1 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.001237/1.712, allocations: 0.5207 MB / 0.7908 GB, free: 138 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.