Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00135/0.00135, allocations: 109.3 kB / 16.42 MB, free: 6.48 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.001312/0.001312, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.097/1.097, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.016/2.016, allocations: 437 MB / 0.7111 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.551e-05, allocations: 4.25 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.OperationModes): time 0.005082/0.005105, allocations: 4.759 MB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003174/0.00829, allocations: 2.108 MB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/0.008845, allocations: 35.88 kB / 1.026 GB, free: 2.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.00927, allocations: 174 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.009767, allocations: 194.1 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.01123, allocations: 0.8149 MB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.01273, allocations: 1.76 MB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.01426, allocations: 1.543 MB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005574/0.01483, allocations: 0.7088 MB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.01536, allocations: 0.7001 MB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.01556, allocations: 196 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.01589, allocations: 291.9 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001074/0.01698, allocations: 2.155 MB / 1.034 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0005537/0.01754, allocations: 1.304 MB / 1.035 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.01772, allocations: 251.2 kB / 1.036 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.000242/0.01797, allocations: 166.9 kB / 1.036 GB, free: 8.172 MB / 0.8106 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)