Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestHardwareIOComedi.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.TestHardwareIOComedi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestHardwareIOComedi") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestHardwareIOComedi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestHardwareIOComedi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 112.2 kB / 17.14 MB, free: 6.039 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.001671/0.001671, allocations: 199 kB / 18.08 MB, free: 5.113 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.15 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.05775/0.05775, allocations: 12.05 MB / 304 MB, free: 3.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/2.991e-05, allocations: 4.672 kB / 420.7 MB, free: 17.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestHardwareIOComedi): time 0.004078/0.004116, allocations: 3.218 MB / 423.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.005495, allocations: 1.02 MB / 424.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.005648, allocations: 7.938 kB / 424.9 MB, free: 12.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/HardwareIO.mo:9:5-31:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.ComediConfig' contains a call to impure function 'Modelica_DeviceDrivers.HardwareIO.Comedi.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.006041, allocations: 75.38 kB / 425 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.006135, allocations: 43.53 kB / 425 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.0065, allocations: 211.3 kB / 425.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.006859, allocations: 371.4 kB / 425.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.007083, allocations: 96.7 kB / 425.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.007231, allocations: 135.5 kB / 425.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.007393, allocations: 159.2 kB / 426 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.007447, allocations: 31.98 kB / 426 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.007611, allocations: 95.97 kB / 426.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002673/0.007884, allocations: 0.4979 MB / 426.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.757e-05/0.007989, allocations: 338.8 kB / 427 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.008039, allocations: 39.81 kB / 427 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 4e-05/0.008084, allocations: 15.88 kB / 427 MB, free: 10.87 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (dataWrite1.min, dataWrite1.max, dataWrite1.cUnit) := Modelica_DeviceDrivers.HardwareIO.Comedi_.get_range(dataWrite1.comedi, dataWrite1.subDevice, dataWrite1.channel, dataWrite1.range)