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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.211/4.211, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.561e-05, allocations: 3.562 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.5087, allocations: 131.3 MB / 0.7571 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.5091, allocations: 71.97 kB / 0.7571 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7818/1.291, allocations: 66.61 MB / 0.8222 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.944e-06/1.291, allocations: 0 / 0.8222 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001276/1.291, allocations: 112 kB / 0.8223 GB, free: 119.5 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.01251/1.304, allocations: 5.764 MB / 0.8279 GB, free: 114 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.304, allocations: 19.91 kB / 0.8279 GB, free: 114 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/1.306, allocations: 0.6259 MB / 0.8286 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/1.311, allocations: 1.802 MB / 0.8303 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/1.311, allocations: 12 kB / 0.8303 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/1.312, allocations: 384 kB / 0.8307 GB, free: 111.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007242/1.313, allocations: 278.8 kB / 0.831 GB, free: 110.8 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.0007841/1.314, allocations: 464.4 kB / 0.8314 GB, free: 110.4 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.