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.595/2.595, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.00151/0.00151, allocations: 178.1 kB / 370.8 MB, free: 10.82 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.14/2.14, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001208, allocations: 92.67 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 19.64 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9328/1.164, allocations: 145.5 MB / 1.12 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.165, allocations: 77.27 kB / 1.12 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2555/1.42, allocations: 67.13 MB / 1.186 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.055e-06/1.42, allocations: 0 / 1.186 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002813/1.42, allocations: 112 kB / 1.186 GB, free: 7.547 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.02021/1.441, allocations: 5.823 MB / 1.192 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.441, allocations: 12.02 kB / 1.192 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003762/1.445, allocations: 0.8065 MB / 1.193 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/1.449, allocations: 0.6219 MB / 1.193 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/1.461, allocations: 1.814 MB / 1.195 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/1.462, allocations: 430.2 kB / 1.195 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/1.464, allocations: 0.6307 MB / 1.196 GB, free: 14.67 MB / 0.7292 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.001938/1.466, allocations: 0.5538 MB / 1.197 GB, free: 14.2 MB / 0.7292 GB Error: pre-optimization module clockPartitioning (simulation) failed.