Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.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(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108.6 kB / 17.14 MB, free: 6.051 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.001394/0.001394, allocations: 194.6 kB / 18.08 MB, free: 5.121 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.371/1.371, allocations: 222.9 MB / 241.8 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05887/0.05887, allocations: 12.05 MB / 304 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.179e-05, allocations: 4.953 kB / 420.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick): time 0.003089/0.003119, allocations: 2.687 MB / 423.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004313/0.003563, allocations: 322.9 kB / 423.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.003663, allocations: 7.875 kB / 423.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.003895, allocations: 51.7 kB / 423.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.004034, allocations: 31.78 kB / 423.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.004244, allocations: 83.7 kB / 423.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.004449, allocations: 191.9 kB / 424 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.00461, allocations: 81.5 kB / 424.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.004667, allocations: 55.78 kB / 424.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.004756, allocations: 63.7 kB / 424.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.004788, allocations: 8 kB / 424.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.004868, allocations: 39.97 kB / 424.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001316/0.005006, allocations: 237.2 kB / 424.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.383e-05/0.005065, allocations: 153.6 kB / 424.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.0051, allocations: 19.94 kB / 424.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.393e-05/0.005129, allocations: 7.938 kB / 424.7 MB, free: 13.21 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (joystickInput.AxesRaw, joystickInput.buttons_, joystickInput.pOV_) := Modelica_DeviceDrivers.InputDevices.GameController_.getData(joystickInput.joystick)