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.001203/0.001203, allocations: 108.6 kB / 17.14 MB, free: 5.914 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.001195/0.001195, allocations: 199 kB / 18.07 MB, free: 4.992 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.264/1.264, allocations: 222.9 MB / 241.8 MB, free: 15.05 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.05274/0.05274, allocations: 12.06 MB / 304 MB, free: 3.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.021e-05, allocations: 6.219 kB / 420.7 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick): time 0.003469/0.003507, allocations: 2.69 MB / 423.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004522/0.003973, allocations: 311 kB / 423.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.004081, allocations: 7.938 kB / 423.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.004325, allocations: 55.62 kB / 423.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.004482, allocations: 23.78 kB / 423.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.004701, allocations: 95.7 kB / 423.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.004923, allocations: 183.9 kB / 424 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.005099, allocations: 81.47 kB / 424.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.005161, allocations: 63.7 kB / 424.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.595e-05/0.005252, allocations: 63.69 kB / 424.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.005285, allocations: 12 kB / 424.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.005371, allocations: 32 kB / 424.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001463/0.005522, allocations: 229.2 kB / 424.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.625e-05/0.005584, allocations: 157.6 kB / 424.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.005622, allocations: 23.94 kB / 424.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.336e-05/0.005651, allocations: 15.88 kB / 424.7 MB, free: 13.2 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)