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"}) Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.408/2.408, allocations: 237.8 MB / 250.4 MB, free: 8.609 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.175e-05/5.186e-05, allocations: 6.953 kB / 306.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 53.26 MB / 360 MB, free: 5.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.573, allocations: 85.94 MB / 445.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5733, allocations: 71.95 kB / 446 MB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03289/0.6062, allocations: 7.471 MB / 453.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6063, allocations: 0 / 453.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.6063, allocations: 11.94 kB / 453.5 MB, free: 13.21 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.002458/0.6088, allocations: 1.113 MB / 454.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.6089, allocations: 12.02 kB / 454.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.609, allocations: 78.53 kB / 454.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.6091, allocations: 35.62 kB / 454.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.6097, allocations: 295.2 kB / 455 MB, free: 11.56 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.0001324/0.6099, allocations: 88.17 kB / 455.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/0.61, allocations: 36 kB / 455.1 MB, free: 11.43 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.0007991/0.6108, allocations: 306.8 kB / 455.4 MB, free: 11.13 MB / 378.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.