Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) 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/DroneLibrary 1.0.0/package.mo", uses=false) Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: translateModel(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola") translateModel(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05212/0.05212, allocations: 12.04 MB / 28.35 MB, free: 1.77 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009148, allocations: 103.9 kB / 32.06 MB, free: 4.625 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009201/0.00092, allocations: 192.5 kB / 35.91 MB, free: 0.8008 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 262.5 MB, free: 7.336 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05341/0.05341, allocations: 13.68 MB / 329.2 MB, free: 496 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.477e-05, allocations: 2.5 kB / 453.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola): time 0.00384/0.003864, allocations: 3.345 MB / 456.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.004584, allocations: 0.5061 MB / 457.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004721, allocations: 11.94 kB / 457.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.004953, allocations: 95.23 kB / 457.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.005125, allocations: 59.45 kB / 457.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.005432, allocations: 179.6 kB / 457.6 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.00583, allocations: 427.3 kB / 458.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.006071, allocations: 172.9 kB / 458.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.006176, allocations: 127.4 kB / 458.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.006326, allocations: 143.2 kB / 458.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.006372, allocations: 28 kB / 458.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.006473, allocations: 59.97 kB / 458.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003268/0.006805, allocations: 0.5477 MB / 459.1 MB, free: 492 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001733/0.006984, allocations: 374.3 kB / 459.5 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.007052, allocations: 59.75 kB / 459.5 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd: time 5.63e-05/0.007113, allocations: 27.75 kB / 459.6 MB, free: 24 kB / 318.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)