Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory.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: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory") [: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.0009159/0.0009159, allocations: 188.2 kB / 7.847 MB, free: 2.477 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.06/1.06, allocations: 221.4 MB / 229.7 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008098/0.0008097, allocations: 97.97 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.04861/0.04861, allocations: 11.89 MB / 343.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.38e-06, allocations: 0 / 402.6 MB, free: 64.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07314/0.07316, allocations: 53.35 MB / 455.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/0.298, allocations: 85.69 MB / 0.5289 GB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.2982, allocations: 70.09 kB / 0.529 GB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.0186/0.3168, allocations: 7.078 MB / 0.5359 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.3168, allocations: 8 kB / 0.5359 GB, free: 10.09 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getInteger.pkgIn.pkg = getReal.pkgOut[1].pkg getReal.pkgIn.pkg = sharedMemoryRead.pkgOut.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addInteger.pkgIn.pkg = addReal.pkgOut[1].pkg addReal.pkgIn.pkg = packager.pkgOut.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 90 equation(s) and 87 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:38:5-49:11:writable] Warning: Equation 35 (size: 4) if not previous(sharedMemoryRead.initialized) then sharedMemoryRead.initialized = true sharedMemoryRead.sm = Modelica_DeviceDrivers.Communication.SharedMemory.constructor(sharedMemoryRead.memoryID, sharedMemoryRead.bufferSize, true) getInteger.pkgIn.pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(sharedMemoryRead.bufferSize) sharedMemoryRead.bufferSize = if sharedMemoryRead.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(sharedMemoryRead.pkgOut.autoPkgBitSize) else sharedMemoryRead.userBufferSize else sharedMemoryRead.initialized = previous(sharedMemoryRead.initialized) sharedMemoryRead.sm = previous(sharedMemoryRead.sm) sharedMemoryRead.bufferSize = previous(sharedMemoryRead.bufferSize) getInteger.pkgIn.pkg = previous(getInteger.pkgIn.pkg) end if is not big enough to solve for enough variables. Remaining unsolved variables are: sharedMemoryRead.pkgOut.autoPkgBitSize, sharedMemoryRead.bufferSize, sharedMemoryRead.initialized Already solved: Equations used to solve those variables: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:514:10-514:113:writable] Warning: Equation 27 (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 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: getReal.pkgIn.autoPkgBitSize, getReal.pkgOut[1].autoPkgBitSize Equations used to solve those variables: Equation 71 (size: 1): getReal.pkgIn.autoPkgBitSize = sharedMemoryRead.pkgOut.autoPkgBitSize Equation 74 (size: 1): getInteger.pkgIn.autoPkgBitSize = getReal.pkgOut[1].autoPkgBitSize