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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.139/4.139, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2578/4.397, allocations: 94.98 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/4.905, allocations: 92.68 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/5.154, allocations: 126.9 MB / 0.7084 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/5.154, allocations: 79.94 kB / 0.7085 GB, free: 6.785 MB / 0.5886 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.2799/5.434, allocations: 72.16 MB / 0.779 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/5.434, allocations: 15.94 kB / 0.779 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/5.437, allocations: 0.6219 MB / 0.7796 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007433/5.444, allocations: 1.841 MB / 0.7814 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/5.444, allocations: 12 kB / 0.7814 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/5.446, allocations: 376 kB / 0.7818 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009674/5.447, allocations: 287 kB / 0.7821 GB, free: 11.13 MB / 0.6667 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.001103/5.448, allocations: 467.5 kB / 0.7825 GB, free: 10.66 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed. Error: Internal error SimCode: The model Buildings.Controls.Predictors.Validation.LinearInput could not be translated to FMU