Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 104.6 kB / 16.38 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 190.5 kB / 17.31 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.705e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling): time 0.007687/0.007729, allocations: 6.144 MB / 0.6789 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005303/0.01305, allocations: 2.838 MB / 0.6816 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009378/0.01401, allocations: 39.81 kB / 0.6817 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.01474, allocations: 280.8 kB / 0.6819 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.01539, allocations: 257.3 kB / 0.6822 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.01782, allocations: 1.271 MB / 0.6834 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.02049, allocations: 2.973 MB / 0.6863 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.02314, allocations: 2.275 MB / 0.6885 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.02418, allocations: 1.044 MB / 0.6896 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009165/0.02511, allocations: 1.031 MB / 0.6906 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004121/0.02553, allocations: 352 kB / 0.6909 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.02611, allocations: 463.8 kB / 0.6913 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.002082/0.02821, allocations: 3.302 MB / 0.6946 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.001145/0.02936, allocations: 1.989 MB / 0.6965 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.02993, allocations: 398.8 kB / 0.6969 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0004891/0.03042, allocations: 162.5 kB / 0.697 GB, free: 12.91 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (occSch.tOcc, occSch.tNonOcc, occSch.occupied, occSch.tNext) := Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)