Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001172/0.001173, allocations: 102.5 kB / 16.42 MB, free: 6.453 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.0011/0.0011, allocations: 192.3 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/2.945e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.006926/0.006964, allocations: 4.736 MB / 0.9561 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004907/0.01191, allocations: 2.116 MB / 0.9582 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.01322, allocations: 31.88 kB / 0.9582 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.01384, allocations: 177.9 kB / 0.9584 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.01455, allocations: 194.2 kB / 0.9585 GB, free: 432 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.01693, allocations: 0.8189 MB / 0.9593 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.01909, allocations: 1.757 MB / 0.9611 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.02139, allocations: 1.541 MB / 0.9626 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008229/0.02222, allocations: 0.7088 MB / 0.9633 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007111/0.02294, allocations: 0.704 MB / 0.9639 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.02318, allocations: 199.9 kB / 0.9641 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.02364, allocations: 295.8 kB / 0.9644 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001414/0.02507, allocations: 2.147 MB / 0.9665 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0007488/0.02583, allocations: 1.312 MB / 0.9678 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.02623, allocations: 247.2 kB / 0.968 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0005588/0.0268, allocations: 163 kB / 0.9682 GB, free: 6.453 MB / 0.7481 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)