Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",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.001569/0.001569, 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.669/2.669, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.001969/0.00197, allocations: 98.72 kB / 286.1 MB, free: 12.99 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.09559/0.09559, allocations: 11.9 MB / 348.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.241e-05/6.277e-05, allocations: 4 kB / 410.2 MB, free: 58.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2286, allocations: 53.36 MB / 463.6 MB, free: 4.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.798/1.027, allocations: 87.48 MB / 0.5381 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/1.027, allocations: 73.67 kB / 0.5382 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03802/1.065, allocations: 9.915 MB / 0.5479 GB, free: 3.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.065, allocations: 0 / 0.5479 GB, free: 3.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.196e-05/1.065, allocations: 15.94 kB / 0.5479 GB, free: 3.367 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 121 equation(s) and 118 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: 121 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003553/1.069, allocations: 1.355 MB / 0.5492 GB, free: 2.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001015/1.069, allocations: 12.59 kB / 0.5492 GB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/1.069, allocations: 87.7 kB / 0.5493 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/1.069, allocations: 55.44 kB / 0.5494 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/1.07, allocations: 371.3 kB / 0.5497 GB, free: 1.609 MB / 362.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.0002445/1.071, allocations: 92.66 kB / 0.5498 GB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.071, allocations: 51.95 kB / 0.5499 GB, free: 1.488 MB / 362.7 MB Error: Too many equations, over-determined system. The model has 121 equation(s) and 118 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.001061/1.072, allocations: 379.2 kB / 0.5502 GB, free: 1.211 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.