Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSch.occupied|cap.T|mode.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 103.9 kB / 16.42 MB, free: 6.477 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.001168/0.001168, allocations: 190 kB / 17.36 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.35/2.35, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.237e-05, allocations: 5.094 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.005687/0.005717, allocations: 4.748 MB / 1.059 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003625/0.009364, allocations: 2.112 MB / 1.061 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.009893, allocations: 27.88 kB / 1.061 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.01034, allocations: 181.9 kB / 1.062 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.01081, allocations: 186.1 kB / 1.062 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.01249, allocations: 0.8347 MB / 1.063 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.01394, allocations: 1.749 MB / 1.064 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.01556, allocations: 1.534 MB / 1.066 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.0162, allocations: 0.7127 MB / 1.066 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.0168, allocations: 0.7001 MB / 1.067 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.01702, allocations: 192 kB / 1.067 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.01738, allocations: 299.8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001202/0.01859, allocations: 2.147 MB / 1.07 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000624/0.01923, allocations: 1.304 MB / 1.071 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002206/0.01945, allocations: 243.2 kB / 1.071 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003251/0.01979, allocations: 166.9 kB / 1.071 GB, free: 6.531 MB / 0.8419 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.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes.occSch.getOutput(time, occSch.period, occSch.occupancy, occSch.firstEntryOccupied, 2)