Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.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.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, 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 2.574/2.574, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.001299/0.001298, allocations: 111.5 kB / 286.1 MB, free: 12.97 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.09127/0.09127, allocations: 11.9 MB / 348.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.27e-05/6.313e-05, allocations: 0 / 410.2 MB, free: 58.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2199, allocations: 53.36 MB / 463.6 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7854/1.005, allocations: 87.45 MB / 0.5381 GB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004833/1.006, allocations: 74.55 kB / 0.5382 GB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04885/1.055, allocations: 10.82 MB / 0.5487 GB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.843e-06/1.055, allocations: 0 / 0.5487 GB, free: 2.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.104e-05/1.055, allocations: 19.94 kB / 0.5487 GB, free: 2.637 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getInteger1.pkgIn.pkg = unpackInt1.pkgOut[1].pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg getReal.pkgIn.pkg = uDPReceive2_1.pkgOut.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg addInteger1.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg Error: Too many equations, over-determined system. The model has 141 equation(s) and 138 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:162:5-174:11:writable] Error: Internal error if not previous(uDPReceive2_1.initialized) then uDPReceive2_1.initialized = true uDPReceive2_1.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive2_1.port_recv, uDPReceive2_1.bufferSize, uDPReceive2_1.useRecvThread) getInteger1.pkgIn.pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive2_1.bufferSize) uDPReceive2_1.bufferSize = if uDPReceive2_1.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive2_1.pkgOut.autoPkgBitSize) else uDPReceive2_1.userBufferSize else uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) uDPReceive2_1.socket = previous(uDPReceive2_1.socket) uDPReceive2_1.bufferSize = previous(uDPReceive2_1.bufferSize) getInteger1.pkgIn.pkg = previous(getInteger1.pkgIn.pkg) end if has size size 4 but 3 variables (uDPReceive2_1.pkgOut.autoPkgBitSize, uDPReceive2_1.bufferSize, uDPReceive2_1.initialized) Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004412/1.06, allocations: 1.544 MB / 0.5503 GB, free: 1.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.892e-05/1.06, allocations: 15.97 kB / 0.5503 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/1.06, allocations: 102.3 kB / 0.5504 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/1.06, allocations: 63.19 kB / 0.5504 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/1.061, allocations: 374 kB / 0.5508 GB, free: 0.6758 MB / 362.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.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.0001791/1.061, allocations: 100 kB / 0.5509 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/1.061, allocations: 62.39 kB / 0.5509 GB, free: 0.543 MB / 362.7 MB Error: Too many equations, over-determined system. The model has 141 equation(s) and 138 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:162:5-174:11:writable] Error: Internal error if not previous(uDPReceive2_1.initialized) then uDPReceive2_1.initialized = true uDPReceive2_1.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive2_1.port_recv, uDPReceive2_1.bufferSize, uDPReceive2_1.useRecvThread) getInteger1.pkgIn.pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive2_1.bufferSize) uDPReceive2_1.bufferSize = if uDPReceive2_1.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive2_1.pkgOut.autoPkgBitSize) else uDPReceive2_1.userBufferSize else uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) uDPReceive2_1.socket = previous(uDPReceive2_1.socket) uDPReceive2_1.bufferSize = previous(uDPReceive2_1.bufferSize) getInteger1.pkgIn.pkg = previous(getInteger1.pkgIn.pkg) end if has size size 4 but 3 variables (uDPReceive2_1.pkgOut.autoPkgBitSize, uDPReceive2_1.bufferSize, uDPReceive2_1.initialized) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.001049/1.062, allocations: 421.8 kB / 0.5513 GB, free: 244 kB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.