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.ConstantInput.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.Validation.ConstantInput,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_Validation_ConstantInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01088/0.01088, allocations: 105.9 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001165/0.001165, allocations: 182.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.933/1.933, allocations: 194.5 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.293/2.293, allocations: 236.1 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006831, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6391, allocations: 98.7 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/0.8959, allocations: 130.6 MB / 0.811 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.8963, allocations: 79.95 kB / 0.8111 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08544/0.9818, allocations: 22.34 MB / 0.8329 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.296e-06/0.9818, allocations: 0 / 0.8329 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001084/0.9819, allocations: 71.94 kB / 0.8329 GB, free: 4.953 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.007989/0.9899, allocations: 3.561 MB / 0.8364 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.99, allocations: 12.03 kB / 0.8364 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/0.9911, allocations: 489.8 kB / 0.8369 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9921, allocations: 351.7 kB / 0.8372 GB, free: 484 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.996, allocations: 1.1 MB / 0.8383 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003596/0.9964, allocations: 236 kB / 0.8385 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008908/0.9973, allocations: 360 kB / 0.8389 GB, free: 14.74 MB / 0.6667 GB Error: An independent subset of the model has imbalanced number of equations (1054) and variables (17). variables: baseLoad.EHisAve baseLoad.EActAve baseLoad._typeOfDay[1] baseLoad.iSam[12] baseLoad.iSam[11] baseLoad.iSam[10] baseLoad.iSam[9] baseLoad.iSam[8] baseLoad.iSam[7] baseLoad.iSam[6] baseLoad.iSam[5] baseLoad.iSam[4] baseLoad.iSam[3] baseLoad.iSam[2] baseLoad.iSam[1] baseLoad.sampleTrigger baseLoad.adj equations: 1 : baseLoad.sampleTrigger = sample(1, baseLoad.samStart, 3600.0) 2 : algorithm when baseLoad.sampleTrigger then for i in 1:baseLoad.nPre loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], baseLoad.nSam); end for; baseLoad.adj := 1.0; baseLoad.PPreHisSet[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := false; baseLoad.PPreHis[baseLoad._typeOfDay[1],Buildings.Controls.Predictors.ElectricalLoad$baseLoad.getIndex(baseLoad.iSam[1], baseLoad.nSam)] := 0.0; baseLoad.EHisAve := 0.0; baseLoad.EActAve := 0.0; for i in 1:12 loop baseLoad.iSam[i] := Buildings.Controls.Predictors.ElectricalLoad$baseLoad.incrementIndex(baseLoad.iSam[i], 24); end for; end when; Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001192/0.9985, allocations: 403.3 kB / 0.8393 GB, free: 14.32 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed.