Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Predictors.Validation.LinearInput.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.LinearInput,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_Validation_LinearInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.93/3.93, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.769e-05, allocations: 7.219 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.4353, allocations: 131.9 MB / 0.7635 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4356, allocations: 75.95 kB / 0.7636 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.739/1.175, allocations: 67.69 MB / 0.8297 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.166e-06/1.175, allocations: 4 kB / 0.8297 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001257/1.175, allocations: 116 kB / 0.8298 GB, free: 108.6 MB / 0.6511 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.01142/1.186, allocations: 5.769 MB / 0.8355 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.186, allocations: 16.03 kB / 0.8355 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001217/1.188, allocations: 0.7982 MB / 0.8363 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/1.189, allocations: 0.622 MB / 0.8369 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/1.194, allocations: 1.805 MB / 0.8386 GB, free: 99.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/1.195, allocations: 428.6 kB / 0.839 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009643/1.196, allocations: 0.6289 MB / 0.8396 GB, free: 98.41 MB / 0.6511 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.00119/1.197, allocations: 0.5239 MB / 0.8402 GB, free: 97.88 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.