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.SineInput.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.SineInput,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_Validation_SineInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.925/3.925, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.091e-05, allocations: 3.281 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2031, allocations: 98.72 MB / 0.6347 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/0.4427, allocations: 131.6 MB / 0.7632 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.443, allocations: 75.95 kB / 0.7633 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6228/1.066, allocations: 23.21 MB / 0.7859 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.685e-06/1.066, allocations: 1.312 kB / 0.7859 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001218/1.066, allocations: 66.41 kB / 0.786 GB, free: 132.8 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: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.009994/1.076, allocations: 3.568 MB / 0.7895 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.076, allocations: 13.22 kB / 0.7895 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009652/1.077, allocations: 496.8 kB / 0.79 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/1.079, allocations: 355 kB / 0.7903 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/1.083, allocations: 1.103 MB / 0.7914 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/1.083, allocations: 241.5 kB / 0.7916 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009778/1.084, allocations: 363.5 kB / 0.792 GB, free: 130.9 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.001107/1.085, allocations: 428 kB / 0.7924 GB, free: 130.8 MB / 0.6511 GB Error: pre-optimization module clockPartitioning (simulation) failed.