Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.47/2.47, allocations: 237.8 MB / 250.4 MB, free: 8.523 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.642e-05, allocations: 4 kB / 306.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 53.27 MB / 360 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.5858, allocations: 88.18 MB / 448.1 MB, free: 2.461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5861, allocations: 71.95 kB / 448.2 MB, free: 2.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04949/0.6356, allocations: 10.99 MB / 459.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6357, allocations: 0 / 459.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.786e-05/0.6357, allocations: 16 kB / 459.2 MB, free: 7.391 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getFloat.pkgIn.pkg = getReal.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].pkg getReal.pkgIn.pkg = uDPReceive.pkgOut.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.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 134 equation(s) and 131 variable(s). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/ClockedBlocks/Communication.mo:156:5-168:11:writable] Error: Internal error if not previous(uDPReceive.initialized) then uDPReceive.initialized = true uDPReceive.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive.port_recv, uDPReceive.bufferSize, true) getFloat.pkgOut[1].pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive.bufferSize) uDPReceive.bufferSize = if uDPReceive.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive.pkgOut.autoPkgBitSize) else uDPReceive.userBufferSize else uDPReceive.initialized = previous(uDPReceive.initialized) uDPReceive.socket = previous(uDPReceive.socket) uDPReceive.bufferSize = previous(uDPReceive.bufferSize) getFloat.pkgOut[1].pkg = previous(getFloat.pkgOut[1].pkg) end if has size size 4 but 3 variables (uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized) Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003526/0.6393, allocations: 1.466 MB / 460.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.6393, allocations: 8.031 kB / 460.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.6395, allocations: 98.52 kB / 460.8 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.6397, allocations: 63.25 kB / 460.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.6407, allocations: 398.1 kB / 461.2 MB, free: 5.242 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.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.000164/0.6409, allocations: 96.39 kB / 461.3 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.641, allocations: 59.95 kB / 461.4 MB, free: 5.078 MB / 378.7 MB Error: Too many equations, over-determined system. The model has 134 equation(s) and 131 variable(s). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_DeviceDrivers 2.0.0/ClockedBlocks/Communication.mo:156:5-168:11:writable] Error: Internal error if not previous(uDPReceive.initialized) then uDPReceive.initialized = true uDPReceive.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive.port_recv, uDPReceive.bufferSize, true) getFloat.pkgOut[1].pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive.bufferSize) uDPReceive.bufferSize = if uDPReceive.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive.pkgOut.autoPkgBitSize) else uDPReceive.userBufferSize else uDPReceive.initialized = previous(uDPReceive.initialized) uDPReceive.socket = previous(uDPReceive.socket) uDPReceive.bufferSize = previous(uDPReceive.bufferSize) getFloat.pkgOut[1].pkg = previous(getFloat.pkgOut[1].pkg) end if has size size 4 but 3 variables (uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.00116/0.6422, allocations: 411.9 kB / 461.8 MB, free: 4.68 MB / 378.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.