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") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.18/2.18, allocations: 237.8 MB / 250.4 MB, free: 8.711 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.261e-05, allocations: 6.953 kB / 306.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09377, allocations: 53.27 MB / 359.9 MB, free: 5.594 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4501, allocations: 85.93 MB / 445.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4504, allocations: 72.47 kB / 445.9 MB, free: 4.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03116/0.4816, allocations: 7.474 MB / 453.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.02e-06/0.4816, allocations: 0 / 453.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.4817, allocations: 15.94 kB / 453.4 MB, free: 13.3 MB / 378.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). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/ClockedBlocks/Communication.mo:36:5-47: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) 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.002166/0.4839, allocations: 1.102 MB / 454.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4839, allocations: 12.03 kB / 454.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.484, allocations: 38.16 kB / 454.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.4846, allocations: 303.2 kB / 454.8 MB, free: 11.74 MB / 378.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 0.0001364/0.4847, allocations: 92.11 kB / 454.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.4848, allocations: 36 kB / 454.9 MB, free: 11.6 MB / 378.7 MB Error: Too many equations, over-determined system. The model has 90 equation(s) and 87 variable(s). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/ClockedBlocks/Communication.mo:36:5-47: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) 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.0007076/0.4855, allocations: 302.3 kB / 455.2 MB, free: 11.3 MB / 378.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.