Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.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.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001322, allocations: 102.3 kB / 16.37 MB, free: 6.371 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.001136/0.001136, allocations: 195.3 kB / 17.31 MB, free: 5.91 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.31 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.674/1.674, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.799e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.00641/0.006452, allocations: 5.326 MB / 0.6781 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003842/0.01031, allocations: 2.515 MB / 0.6805 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.01082, allocations: 35.81 kB / 0.6805 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.0112, allocations: 162.2 kB / 0.6807 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.01153, allocations: 134.5 kB / 0.6808 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.01275, allocations: 0.6982 MB / 0.6815 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.01395, allocations: 1.559 MB / 0.683 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.01523, allocations: 1.218 MB / 0.6842 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.01571, allocations: 0.549 MB / 0.6848 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.0162, allocations: 0.5405 MB / 0.6853 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.01639, allocations: 180 kB / 0.6855 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.01671, allocations: 283.8 kB / 0.6857 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.00101/0.01773, allocations: 1.769 MB / 0.6875 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005328/0.01827, allocations: 1.081 MB / 0.6885 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.01846, allocations: 207.4 kB / 0.6887 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001533/0.01862, allocations: 87.19 kB / 0.6888 GB, free: 5.461 MB / 0.5606 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.OptimalStartHeating.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)