Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 82.64 kB / 21.48 MB, free: 3.02 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 166 kB / 24.88 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9586/0.9586, allocations: 177.2 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0443/0.0443, allocations: 9.155 MB / 271 MB, free: 4.113 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 343.8 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.48e-05, allocations: 4.562 kB / 343.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003148/0.003163, allocations: 3.215 MB / 347 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004336, allocations: 0.9651 MB / 348 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.004475, allocations: 19.81 kB / 348 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.004702, allocations: 87.11 kB / 348.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.004856, allocations: 47.53 kB / 348.1 MB, free: 3.711 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0005946/0.00545, allocations: 334.8 kB / 348.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.005799, allocations: 459.5 kB / 348.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.006017, allocations: 177 kB / 349.1 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.006225, allocations: 295.3 kB / 349.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.006413, allocations: 203.4 kB / 349.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.006462, allocations: 44 kB / 349.6 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.006684, allocations: 215.6 kB / 349.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.006799, allocations: 163.5 kB / 350 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.006904, allocations: 151.5 kB / 350.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.007421, allocations: 0.5875 MB / 350.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.007423, allocations: 0 / 350.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007424, allocations: 0 / 350.7 MB, free: 1.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.00743, allocations: 4 kB / 350.7 MB, free: 1.109 MB / 314.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: 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 getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001126/0.008556, allocations: 1.232 MB / 351.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.008582, allocations: 8.031 kB / 352 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.008687, allocations: 104.6 kB / 352.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.008967, allocations: 320.1 kB / 352.4 MB, free: 15.35 MB / 330.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 6.274e-05/0.009029, allocations: 99.14 kB / 352.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.00908, allocations: 64.33 kB / 352.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.009865, allocations: 0.9786 MB / 353.5 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.009879, allocations: 7.938 kB / 353.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.00991, allocations: 23.98 kB / 353.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.01005, allocations: 19.98 kB / 353.6 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.01023, allocations: 151.6 kB / 353.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01127, allocations: 2.658 MB / 356.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.01171, allocations: 0.5661 MB / 356.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/0.01214, allocations: 262 kB / 357.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.01221, allocations: 48.48 kB / 357.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.01224, allocations: 53.83 kB / 357.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.114e-06/0.01224, allocations: 4 kB / 357.3 MB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.0006731/0.01292, allocations: 0.519 MB / 357.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.01303, allocations: 354.7 kB / 358.2 MB, free: 9.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.01321, allocations: 358 kB / 358.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.01324, allocations: 42.83 kB / 358.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01334, allocations: 256.2 kB / 358.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.01338, allocations: 79.39 kB / 358.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.01347, allocations: 103.3 kB / 359 MB, free: 8.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01358, allocations: 0.5196 MB / 359.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.01362, allocations: 27.97 kB / 359.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.01375, allocations: 265.3 kB / 359.8 MB, free: 7.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.01396, allocations: 335.8 kB / 360.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.01396, allocations: 7.938 kB / 360.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000264/0.01422, allocations: 269 kB / 360.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01424, allocations: 11.98 kB / 360.4 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01424, allocations: 4 kB / 360.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.01425, allocations: 11.94 kB / 360.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01437, allocations: 64.47 kB / 360.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01437, allocations: 8 kB / 360.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.01446, allocations: 31.84 kB / 360.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.01447, allocations: 16 kB / 360.5 MB, free: 6.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPSend.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,integrator1[1].local_reset,integrator1[2].local_reset,integrator1[3].local_reset) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.0146, allocations: 210.4 kB / 360.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.015, allocations: 324.1 kB / 361 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.01543, allocations: 432.3 kB / 361.5 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.01546, allocations: 19.92 kB / 361.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01546, allocations: 4.406 kB / 361.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.01547, allocations: 12.08 kB / 361.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.01592, allocations: 260.7 kB / 361.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.01593, allocations: 11.92 kB / 361.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.01615, allocations: 119.8 kB / 361.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01615, allocations: 4 kB / 361.9 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.01618, allocations: 31.97 kB / 361.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01619, allocations: 7.938 kB / 361.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01619, allocations: 4 kB / 361.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.01667, allocations: 1.411 MB / 363.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.01671, allocations: 59.47 kB / 363.4 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.01676, allocations: 28 kB / 363.4 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.01699, allocations: 12 kB / 363.4 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.01703, allocations: 23.91 kB / 363.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.01706, allocations: 31.98 kB / 363.5 MB, free: 3.383 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.01714, allocations: 206.9 kB / 363.7 MB, free: 3.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01714, allocations: 3.938 kB / 363.7 MB, free: 3.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.0177, allocations: 147.7 kB / 363.8 MB, free: 3.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008064/0.0185, allocations: 406.5 kB / 364.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.01906, allocations: 1.287 MB / 365.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01906, allocations: 0 / 365.5 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.01939, allocations: 1.107 MB / 366.6 MB, free: 256 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.02067, allocations: 1.441 MB / 368.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.02157, allocations: 0.9544 MB / 369 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.02172, allocations: 190.8 kB / 369.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.169e-05/0.02179, allocations: 39.27 kB / 369.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.02195, allocations: 162.1 kB / 369.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02195, allocations: 0 / 369.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of Templates: time 0.009432/0.03138, allocations: 8.061 MB / 377.5 MB, free: 5.375 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:393:136: error: use of undeclared identifier '_omcQ_24CLKPRE' 393 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[17]] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:406:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 406 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[18]] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:419:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 419 | (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[4]] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:453:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 453 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:482:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 482 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.o] Error 1 [Calling os._exit(0), Time elapsed: 1.7454379498958588]