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 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.ConstantInput,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_Validation_ConstantInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.921/3.921, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.405e-05, allocations: 4.469 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.207, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2593/0.4663, allocations: 130.5 MB / 0.7622 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.4667, allocations: 75.95 kB / 0.7623 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6197/1.086, allocations: 22.44 MB / 0.7842 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.256e-06/1.086, allocations: 0 / 0.7842 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001121/1.087, allocations: 69.22 kB / 0.7842 GB, free: 132.3 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.009155/1.096, allocations: 3.517 MB / 0.7877 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.096, allocations: 10.91 kB / 0.7877 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/1.097, allocations: 492.6 kB / 0.7881 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.098, allocations: 353.3 kB / 0.7885 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/1.102, allocations: 1.094 MB / 0.7895 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/1.103, allocations: 241.1 kB / 0.7898 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007767/1.103, allocations: 361.8 kB / 0.7901 GB, free: 130.5 MB / 0.6511 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.001076/1.105, allocations: 401.7 kB / 0.7905 GB, free: 130.3 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.