Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.Validation.LinearInput.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.34/2.34, allocations: 248.5 MB / 261 MB, free: 6.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 188.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.571 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 94.41 kB / 0.6754 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.494e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8648/1.065, allocations: 139.2 MB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.065, allocations: 79.38 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2491/1.315, allocations: 67.81 MB / 1.093 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.268e-06/1.315, allocations: 11.92 kB / 1.093 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001956/1.315, allocations: 112 kB / 1.093 GB, free: 15.68 MB / 0.7136 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.01446/1.329, allocations: 5.778 MB / 1.099 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/1.329, allocations: 8.031 kB / 1.099 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001988/1.331, allocations: 0.8016 MB / 1.099 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.333, allocations: 0.6258 MB / 1.1 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/1.34, allocations: 1.81 MB / 1.102 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005044/1.34, allocations: 431.6 kB / 1.102 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/1.342, allocations: 0.6281 MB / 1.103 GB, free: 6.836 MB / 0.7136 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.001458/1.343, allocations: 0.5396 MB / 1.103 GB, free: 6.371 MB / 0.7136 GB Error: pre-optimization module clockPartitioning (simulation) failed.