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: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_SharedMemory",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.001422/0.001422, allocations: 185.4 kB / 7.844 MB, free: 2.512 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.342/1.342, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.001039/0.001039, allocations: 93.53 kB / 280.5 MB, free: 1.242 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.05675/0.05675, allocations: 11.9 MB / 343.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2507/0.3075, allocations: 59.46 MB / 402.6 MB, free: 64.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.4233, allocations: 53.35 MB / 456 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.7956, allocations: 85.69 MB / 0.529 GB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.7959, allocations: 77.03 kB / 0.5291 GB, free: 180 kB / 346.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 Error: Internal error SimCode: The model Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_SharedMemory could not be translated to FMU