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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.00148, allocations: 187.6 kB / 7.846 MB, free: 1.137 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.4 MB / 229.6 MB, free: 13.5 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 102.7 kB / 280.5 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05884/0.05884, allocations: 11.89 MB / 343.2 MB, free: 12.11 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3324/0.3913, allocations: 59.47 MB / 402.6 MB, free: 89.54 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.5312, allocations: 53.34 MB / 456 MB, free: 37.99 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.9326, allocations: 87.59 MB / 0.5308 GB, free: 10.94 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.9329, allocations: 71.92 kB / 0.5309 GB, free: 10.94 MB / 354.8 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] Warning: Equation 25 (size: 4) 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 is not big enough to solve for enough variables. Remaining unsolved variables are: uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized Already solved: Equations used to solve those variables: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Examples.mo:323:5-324:38:writable] Warning: Equation 104 (size: 1) getFloat.pkgIn.autoPkgBitSize = getReal.pkgOut[1].autoPkgBitSize is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: getReal.pkgOut[1].autoPkgBitSize, getFloat.pkgIn.autoPkgBitSize Equations used to solve those variables: Equation 30 (size: 1): getReal.pkgIn.autoPkgBitSize = if getReal.nu == 1 then 8 * Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(getReal.pkgOut[1].autoPkgBitSize) + 64 * getReal.n else 64 * getReal.n Equation 52 (size: 1): getFloat.pkgIn.autoPkgBitSize = if getFloat.nu == 1 then 8 * Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(getFloat.pkgOut[1].autoPkgBitSize) + 32 * getFloat.n else 32 * getFloat.n Error: Internal error SimCode: The model Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP could not be translated to FMU