Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 182.4 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.73/2.73, allocations: 221.4 MB / 235.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 96.58 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07321/0.07321, allocations: 11.89 MB / 348.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.577e-05/7.632e-05, allocations: 4 kB / 410.2 MB, free: 58.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2137, allocations: 53.36 MB / 463.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.848/1.062, allocations: 88.28 MB / 0.5389 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000412/1.062, allocations: 74.86 kB / 0.539 GB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0571/1.12, allocations: 11.07 MB / 0.5498 GB, free: 1.645 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.73e-06/1.12, allocations: 0 / 0.5498 GB, free: 1.645 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001156/1.12, allocations: 16 kB / 0.5498 GB, free: 1.629 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getFloat.pkgIn.pkg = getReal.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].pkg getReal.pkgIn.pkg = uDPReceive.pkgOut.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg Error: Too many equations, over-determined system. The model has 134 equation(s) and 131 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:162:5-174:11:writable] Error: Internal error if not previous(uDPReceive.initialized) then uDPReceive.initialized = true uDPReceive.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive.port_recv, uDPReceive.bufferSize, uDPReceive.useRecvThread) getFloat.pkgOut[1].pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive.bufferSize) uDPReceive.bufferSize = if uDPReceive.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive.pkgOut.autoPkgBitSize) else uDPReceive.userBufferSize else uDPReceive.initialized = previous(uDPReceive.initialized) uDPReceive.socket = previous(uDPReceive.socket) uDPReceive.bufferSize = previous(uDPReceive.bufferSize) getFloat.pkgOut[1].pkg = previous(getFloat.pkgOut[1].pkg) end if has size size 4 but 3 variables (uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized) Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.006286/1.126, allocations: 1.468 MB / 0.5512 GB, free: 276 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.636e-05/1.126, allocations: 8.031 kB / 0.5512 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003224/1.127, allocations: 100.5 kB / 0.5513 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/1.127, allocations: 63.25 kB / 0.5514 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.128, allocations: 404.7 kB / 0.5518 GB, free: 15.73 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/1.129, allocations: 108.7 kB / 0.5519 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/1.129, allocations: 51.08 kB / 0.5519 GB, free: 15.59 MB / 378.7 MB Error: Too many equations, over-determined system. The model has 134 equation(s) and 131 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:162:5-174:11:writable] Error: Internal error if not previous(uDPReceive.initialized) then uDPReceive.initialized = true uDPReceive.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive.port_recv, uDPReceive.bufferSize, uDPReceive.useRecvThread) getFloat.pkgOut[1].pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive.bufferSize) uDPReceive.bufferSize = if uDPReceive.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive.pkgOut.autoPkgBitSize) else uDPReceive.userBufferSize else uDPReceive.initialized = previous(uDPReceive.initialized) uDPReceive.socket = previous(uDPReceive.socket) uDPReceive.bufferSize = previous(uDPReceive.bufferSize) getFloat.pkgOut[1].pkg = previous(getFloat.pkgOut[1].pkg) end if has size size 4 but 3 variables (uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001563/1.131, allocations: 423.2 kB / 0.5523 GB, free: 15.29 MB / 378.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.