Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.Validation.LinearInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.792/2.792, allocations: 390.5 MB / 398 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 176.9 kB / 491.2 MB, free: 1.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008911, allocations: 102.7 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.714e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8517/1.107, allocations: 157 MB / 1.366 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.107, allocations: 78.48 kB / 1.366 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1277/1.235, allocations: 68.2 MB / 1.432 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.483e-06/1.235, allocations: 4 kB / 1.432 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001936/1.235, allocations: 112 kB / 1.432 GB, free: 10.42 MB / 0.8542 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.01147/1.247, allocations: 5.792 MB / 1.438 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.247, allocations: 12.03 kB / 1.438 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/1.249, allocations: 0.6219 MB / 1.439 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/1.253, allocations: 1.809 MB / 1.44 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/1.253, allocations: 19.56 kB / 1.441 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007718/1.254, allocations: 376 kB / 1.441 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006033/1.254, allocations: 279.5 kB / 1.441 GB, free: 2.223 MB / 0.8542 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.0006653/1.255, allocations: 468.4 kB / 1.442 GB, free: 1.816 MB / 0.8542 GB Error: pre-optimization module clockPartitioning (simulation) failed.