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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 182.3 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 1.445/1.445, allocations: 221.3 MB / 235.1 MB, free: 14.37 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.0009221/0.0009218, allocations: 99.58 kB / 286.1 MB, free: 12.98 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.05474/0.05474, allocations: 11.9 MB / 348.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.095e-05, allocations: 4 kB / 410.1 MB, free: 58.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 53.36 MB / 463.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5323, allocations: 85.99 MB / 0.5366 GB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5326, allocations: 77.33 kB / 0.5367 GB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0206/0.5532, allocations: 7.506 MB / 0.544 GB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5532, allocations: 4 kB / 0.544 GB, free: 6.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.5532, allocations: 4 kB / 0.544 GB, free: 6.875 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] Error: Internal error 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 has size size 4 but 3 variables (sharedMemoryRead.pkgOut.autoPkgBitSize, sharedMemoryRead.bufferSize, sharedMemoryRead.initialized) Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001774/0.555, allocations: 1.115 MB / 0.5451 GB, free: 5.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5551, allocations: 12.03 kB / 0.5451 GB, free: 5.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.5552, allocations: 42.97 kB / 0.5451 GB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.5556, allocations: 299 kB / 0.5454 GB, free: 5.461 MB / 362.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: sharedMemoryRead.initialized = previous(sharedMemoryRead.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 9.809e-05/0.5557, allocations: 91.22 kB / 0.5455 GB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.5557, allocations: 34.5 kB / 0.5455 GB, free: 5.348 MB / 362.7 MB 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] Error: Internal error 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 has size size 4 but 3 variables (sharedMemoryRead.pkgOut.autoPkgBitSize, sharedMemoryRead.bufferSize, sharedMemoryRead.initialized) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0004917/0.5562, allocations: 302.8 kB / 0.5458 GB, free: 5.133 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.