Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.0009111/0.0009111, 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.0009627/0.0009627, allocations: 167.9 kB / 24.88 MB, free: 8.887 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.9707/0.9707, allocations: 177.2 MB / 205.3 MB, free: 5.512 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.03599/0.03599, allocations: 9.153 MB / 271 MB, free: 4.109 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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 343.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.441e-05, allocations: 6.312 kB / 343.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00334/0.003355, allocations: 2.384 MB / 346.2 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.004736, allocations: 0.9261 MB / 347.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.004892, allocations: 19.81 kB / 347.1 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.005136, allocations: 83.23 kB / 347.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.00534, allocations: 51.41 kB / 347.3 MB, free: 3.531 MB / 266.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.0007442/0.006085, allocations: 330.8 kB / 347.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.006451, allocations: 387.7 kB / 348 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.006701, allocations: 159.7 kB / 348.1 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.006941, allocations: 267.4 kB / 348.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.007155, allocations: 171.5 kB / 348.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.007212, allocations: 44 kB / 348.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.007477, allocations: 211.6 kB / 348.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.0076, allocations: 155.5 kB / 348.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.862e-05/0.007698, allocations: 127.6 kB / 349.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.008259, allocations: 0.5175 MB / 349.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008262, allocations: 0 / 349.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.008262, allocations: 0 / 349.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.008269, allocations: 0 / 349.6 MB, free: 1.188 MB / 266.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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001173/0.009442, allocations: 1.138 MB / 350.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.009473, allocations: 8.031 kB / 350.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.009618, allocations: 100.6 kB / 350.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.009954, allocations: 271.8 kB / 351.1 MB, free: 15.57 MB / 282.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 9.569e-05/0.01005, allocations: 95.92 kB / 351.2 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.01011, allocations: 48.38 kB / 351.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.0112, allocations: 0.8404 MB / 352.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.01122, allocations: 8.125 kB / 352.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.01126, allocations: 19.94 kB / 352.1 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.01131, allocations: 19.98 kB / 352.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.01147, allocations: 123 kB / 352.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.01224, allocations: 1.561 MB / 353.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.01265, allocations: 0.532 MB / 354.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.01283, allocations: 235.8 kB / 354.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/0.0129, allocations: 55.91 kB / 354.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.01303, allocations: 210.7 kB / 354.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.004e-06/0.01303, allocations: 0 / 354.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.0005456/0.01358, allocations: 498.2 kB / 355.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.0137, allocations: 334.5 kB / 355.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.01384, allocations: 270.3 kB / 355.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.01387, allocations: 41.7 kB / 355.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.01395, allocations: 220.4 kB / 356.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.01399, allocations: 59.55 kB / 356.2 MB, free: 9.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.01406, allocations: 83.28 kB / 356.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01419, allocations: 0.5078 MB / 356.8 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.01422, allocations: 20.22 kB / 356.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.01431, allocations: 171.7 kB / 357 MB, free: 9.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.01447, allocations: 219.3 kB / 357.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01447, allocations: 0 / 357.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001968/0.01467, allocations: 209.2 kB / 357.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01468, allocations: 8 kB / 357.4 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01469, allocations: 4 kB / 357.4 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.0147, allocations: 4 kB / 357.4 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.01478, allocations: 35.91 kB / 357.5 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01478, allocations: 11.94 kB / 357.5 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.01485, allocations: 20.3 kB / 357.5 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.01486, allocations: 19.98 kB / 357.5 MB, free: 8.512 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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) * 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 (26): * Single equations (assignments): 25 * 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.0001398/0.015, allocations: 194.7 kB / 357.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.0153, allocations: 314.1 kB / 358 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.01565, allocations: 330.9 kB / 358.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.01566, allocations: 12 kB / 358.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.01567, allocations: 7.938 kB / 358.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.01567, allocations: 8.141 kB / 358.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.01603, allocations: 473.4 kB / 358.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.01604, allocations: 7.984 kB / 358.8 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.01622, allocations: 103.8 kB / 358.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01622, allocations: 8 kB / 358.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.01625, allocations: 23.98 kB / 359 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.01625, allocations: 7.938 kB / 359 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01626, allocations: 7.938 kB / 359 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01646, allocations: 360.8 kB / 359.3 MB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.01649, allocations: 59.47 kB / 359.4 MB, free: 6.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.01654, allocations: 31.92 kB / 359.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.01662, allocations: 12 kB / 359.4 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.01665, allocations: 20.11 kB / 359.5 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.01668, allocations: 23.98 kB / 359.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.017e-05/0.01675, allocations: 176.5 kB / 359.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01675, allocations: 0 / 359.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.01705, allocations: 143.6 kB / 359.8 MB, free: 6.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,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,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * 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.000556/0.0176, allocations: 409 kB / 360.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.01813, allocations: 1.248 MB / 361.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01813, allocations: 0 / 361.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.01854, allocations: 1.098 MB / 362.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.01941, allocations: 1.411 MB / 363.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.02017, allocations: 0.8018 MB / 364.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.02028, allocations: 174.6 kB / 364.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.18e-05/0.02034, allocations: 26.97 kB / 364.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.02049, allocations: 150.1 kB / 365.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02049, allocations: 0 / 365.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of Templates: time 0.008013/0.02851, allocations: 7.327 MB / 372.4 MB, free: 9.492 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread -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_UDPWithoutReceiveThread.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:367:136: error: use of undeclared identifier '_omcQ_24CLKPRE' 367 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[17]] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:380:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 380 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[18]] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:393:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 393 | (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[3]] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:427:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 427 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:494:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 494 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.o] Error 1 [Calling os._exit(0), Time elapsed: 1.6811827858909965]