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.0007914/0.0007914, allocations: 79.36 kB / 20.46 MB, free: 4.109 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.0009162/0.0009162, allocations: 169 kB / 23.84 MB, free: 0.7344 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.942/0.942, allocations: 177.2 MB / 204.3 MB, free: 5.633 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.03575/0.03575, allocations: 9.14 MB / 269.9 MB, free: 4.277 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.583e-06/1.583e-06, allocations: 0 / 342.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.662e-05, allocations: 6.25 kB / 342.5 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003048/0.003075, allocations: 2.418 MB / 345 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004238, allocations: 0.9495 MB / 345.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004358, allocations: 15.88 kB / 345.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.004579, allocations: 87.17 kB / 346 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.004762, allocations: 55.41 kB / 346.1 MB, free: 3.77 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.0007101/0.005472, allocations: 326.8 kB / 346.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.005853, allocations: 395.7 kB / 346.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.006124, allocations: 163.7 kB / 346.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.006348, allocations: 259.5 kB / 347.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.006577, allocations: 179.5 kB / 347.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.006632, allocations: 40 kB / 347.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.006879, allocations: 207.6 kB / 347.6 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.006989, allocations: 155.5 kB / 347.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.007076, allocations: 127.6 kB / 347.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.007525, allocations: 0.5253 MB / 348.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007528, allocations: 0 / 348.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007529, allocations: 0 / 348.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.007536, allocations: 0 / 348.4 MB, free: 1.418 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.001053/0.00859, allocations: 1.135 MB / 349.5 MB, free: 208 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.008625, allocations: 8.031 kB / 349.5 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.008727, allocations: 88.61 kB / 349.6 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.009026, allocations: 279.8 kB / 349.9 MB, free: 15.81 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.339e-05/0.00912, allocations: 101 kB / 350 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.00916, allocations: 40.38 kB / 350 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.01017, allocations: 0.9069 MB / 351 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.01019, allocations: 4.188 kB / 351 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.01023, allocations: 19.94 kB / 351 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.01027, allocations: 12 kB / 351 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.01053, allocations: 163.2 kB / 351.1 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.01151, allocations: 1.595 MB / 352.7 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.01207, allocations: 0.5744 MB / 353.3 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.01233, allocations: 269.3 kB / 353.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/0.01241, allocations: 47.91 kB / 353.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.01257, allocations: 214.5 kB / 353.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.244e-06/0.01257, allocations: 0 / 353.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.0007331/0.01331, allocations: 0.5428 MB / 354.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.01344, allocations: 333.7 kB / 354.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.01361, allocations: 269.7 kB / 355 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.01365, allocations: 37.7 kB / 355 MB, free: 10.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.01374, allocations: 216.4 kB / 355.2 MB, free: 10 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.01378, allocations: 59.5 kB / 355.3 MB, free: 9.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.01387, allocations: 83.33 kB / 355.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01399, allocations: 0.5117 MB / 355.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.01404, allocations: 24.22 kB / 355.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.01415, allocations: 171.7 kB / 356.1 MB, free: 9.078 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.01434, allocations: 227.3 kB / 356.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01434, allocations: 0 / 356.3 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002457/0.01459, allocations: 221.1 kB / 356.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.0146, allocations: 4 kB / 356.5 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01461, allocations: 4.406 kB / 356.5 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01462, allocations: 15.98 kB / 356.5 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.01472, allocations: 31.92 kB / 356.6 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01473, allocations: 7.984 kB / 356.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.0148, allocations: 23.83 kB / 356.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01482, allocations: 19.98 kB / 356.6 MB, free: 8.465 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,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * 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.0001572/0.01498, allocations: 190.5 kB / 356.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.01536, allocations: 341.1 kB / 357.1 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.01576, allocations: 351.5 kB / 357.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.01579, allocations: 23.86 kB / 357.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01579, allocations: 4 kB / 357.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.0158, allocations: 0 / 357.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.01621, allocations: 0.5128 MB / 358 MB, free: 6.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.01622, allocations: 8 kB / 358 MB, free: 6.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.0164, allocations: 103.8 kB / 358.1 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.01641, allocations: 8.312 kB / 358.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.01643, allocations: 23.98 kB / 358.1 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01644, allocations: 12.16 kB / 358.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01644, allocations: 0 / 358.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.01703, allocations: 0.695 MB / 358.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.01706, allocations: 55.5 kB / 358.9 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.01711, allocations: 20 kB / 358.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.01719, allocations: 16 kB / 358.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.01723, allocations: 23.89 kB / 359 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.01726, allocations: 32 kB / 359 MB, free: 5.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.01734, allocations: 180.5 kB / 359.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01734, allocations: 0 / 359.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.01764, allocations: 143.6 kB / 359.3 MB, free: 5.633 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.0005987/0.01824, allocations: 398.3 kB / 359.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.01885, allocations: 1.272 MB / 361 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01885, allocations: 0 / 361 MB, free: 4.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.0192, allocations: 1.109 MB / 362.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.02011, allocations: 1.445 MB / 363.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007807/0.02089, allocations: 0.812 MB / 364.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.021, allocations: 170.2 kB / 364.5 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.02106, allocations: 34.95 kB / 364.5 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.02111, allocations: 36.5 kB / 364.6 MB, free: 256 kB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02111, allocations: 4 kB / 364.6 MB, free: 252 kB / 282.7 MB Notification: Performance of Templates: time 0.008632/0.02975, allocations: 7.121 MB / 371.7 MB, free: 9.25 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:358:136: error: use of undeclared identifier '_omcQ_24CLKPRE' 358 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[17]] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:371:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 371 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[18]] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:384:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 384 | (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[3]] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:410:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 410 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:493:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 493 | 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.7483711810782552]