Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Predictors.Validation.LinearInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.495/2.495, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 180.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 84.02 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.932e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8032, allocations: 115.3 MB / 0.9634 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/1.117, allocations: 144.8 MB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/1.117, allocations: 79.95 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3153/1.432, allocations: 66.72 MB / 1.17 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.434e-06/1.432, allocations: 0 / 1.17 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002018/1.433, allocations: 112 kB / 1.17 GB, free: 8.777 MB / 0.7761 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.01439/1.447, allocations: 5.779 MB / 1.176 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.447, allocations: 8.031 kB / 1.176 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/1.449, allocations: 0.6271 MB / 1.176 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006731/1.456, allocations: 1.813 MB / 1.178 GB, free: 424 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/1.456, allocations: 11.98 kB / 1.178 GB, free: 412 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/1.457, allocations: 376 kB / 1.179 GB, free: 36 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008782/1.458, allocations: 286.4 kB / 1.179 GB, free: 15.75 MB / 0.7917 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.001025/1.459, allocations: 461.4 kB / 1.179 GB, free: 15.29 MB / 0.7917 GB Error: pre-optimization module clockPartitioning (simulation) failed.