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 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.SineInput,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Predictors_Validation_SineInput",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.01084/0.01084, allocations: 107.5 kB / 15.05 MB, free: 5.934 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.00119/0.00119, allocations: 179 kB / 15.94 MB, free: 5.898 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.955/1.955, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.315/2.315, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006498, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6535, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.8849, allocations: 131.7 MB / 0.812 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.8852, allocations: 79.95 kB / 0.8121 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08518/0.9704, allocations: 23.11 MB / 0.8347 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9705, allocations: 0 / 0.8347 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001089/0.9706, allocations: 64 kB / 0.8347 GB, free: 3.266 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.00819/0.9788, allocations: 3.613 MB / 0.8382 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.9789, allocations: 8.031 kB / 0.8383 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009618/0.9799, allocations: 498 kB / 0.8387 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008481/0.9807, allocations: 359.6 kB / 0.8391 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.9839, allocations: 1.101 MB / 0.8401 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.9842, allocations: 244.3 kB / 0.8404 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006445/0.9849, allocations: 360 kB / 0.8407 GB, free: 12.98 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.001191/0.9861, allocations: 441.7 kB / 0.8411 GB, free: 12.53 MB / 0.6667 GB Error: pre-optimization module clockPartitioning (simulation) failed.