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.001758/0.001758, allocations: 88.98 kB / 20.25 MB, free: 4.172 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.001828/0.001828, allocations: 169.2 kB / 23.57 MB, free: 0.8555 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 1.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.06388/0.06388, allocations: 9.154 MB / 269.5 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.543e-06/1.543e-06, allocations: 0 / 341.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.258e-05, allocations: 2.312 kB / 341.8 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003053/0.003076, allocations: 2.376 MB / 344.2 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.00456, allocations: 0.9379 MB / 345.1 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.0047, allocations: 15.88 kB / 345.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.004942, allocations: 83.14 kB / 345.2 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.005142, allocations: 51.47 kB / 345.3 MB, free: 4.156 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.0007728/0.005915, allocations: 330.8 kB / 345.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.006219, allocations: 395.7 kB / 346 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.006461, allocations: 151.7 kB / 346.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.006741, allocations: 275.4 kB / 346.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.006986, allocations: 167.5 kB / 346.6 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.007049, allocations: 44 kB / 346.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.007316, allocations: 207.6 kB / 346.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.007445, allocations: 159.5 kB / 347 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.00756, allocations: 131.6 kB / 347.1 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.008136, allocations: 0.6812 MB / 347.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.00814, allocations: 0 / 347.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008142, allocations: 0 / 347.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.00815, allocations: 0 / 347.8 MB, free: 1.641 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.001257/0.009407, allocations: 1.173 MB / 348.9 MB, free: 396 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.009436, allocations: 8.031 kB / 349 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.009568, allocations: 88.61 kB / 349 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.009893, allocations: 279.9 kB / 349.3 MB, free: 15.99 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 0.0001248/0.01002, allocations: 96.89 kB / 349.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.01008, allocations: 40.38 kB / 349.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.01199, allocations: 1.082 MB / 350.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.01201, allocations: 192 / 350.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/0.01206, allocations: 19.94 kB / 350.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.0121, allocations: 16 kB / 350.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.01259, allocations: 236.6 kB / 350.8 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.01443, allocations: 1.646 MB / 352.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.01564, allocations: 0.685 MB / 353.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/0.01618, allocations: 352.1 kB / 353.5 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.01631, allocations: 47.92 kB / 353.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.01663, allocations: 236.1 kB / 353.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 3.106e-06/0.01663, allocations: 0 / 353.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.001435/0.01806, allocations: 0.6976 MB / 354.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002679/0.01833, allocations: 322.7 kB / 354.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.01867, allocations: 321.6 kB / 355.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.01873, allocations: 41.7 kB / 355.1 MB, free: 9.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.0189, allocations: 221.2 kB / 355.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.01897, allocations: 55.64 kB / 355.4 MB, free: 9.422 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.01912, allocations: 103.3 kB / 355.5 MB, free: 9.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.01941, allocations: 0.5157 MB / 356 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.01976, allocations: 48.2 kB / 356 MB, free: 8.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.02001, allocations: 207.5 kB / 356.3 MB, free: 8.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.02041, allocations: 271.1 kB / 356.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02041, allocations: 0 / 356.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004551/0.02087, allocations: 257.4 kB / 356.8 MB, free: 7.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.02089, allocations: 8 kB / 356.8 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02089, allocations: 0 / 356.8 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.02091, allocations: 8 kB / 356.8 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.02108, allocations: 35.91 kB / 356.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.0211, allocations: 15.92 kB / 356.8 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.02121, allocations: 19.83 kB / 356.9 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.02124, allocations: 19.98 kB / 356.9 MB, free: 7.781 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.0003037/0.02154, allocations: 230.7 kB / 357.1 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007736/0.02232, allocations: 419.2 kB / 357.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.02316, allocations: 419.3 kB / 357.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/0.02319, allocations: 15.94 kB / 357.9 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.0232, allocations: 4 kB / 357.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.02321, allocations: 7.922 kB / 357.9 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.02402, allocations: 0.5438 MB / 358.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.02404, allocations: 8.156 kB / 358.5 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.02438, allocations: 99.89 kB / 358.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.02439, allocations: 7.938 kB / 358.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.02443, allocations: 19.98 kB / 358.6 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/0.02444, allocations: 12.19 kB / 358.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.02445, allocations: 4 kB / 358.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.02566, allocations: 0.8007 MB / 359.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.02572, allocations: 55.5 kB / 359.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.02579, allocations: 20 kB / 359.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.02597, allocations: 19.98 kB / 359.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.02603, allocations: 27.95 kB / 359.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.02608, allocations: 24 kB / 359.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.02626, allocations: 200.5 kB / 359.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02626, allocations: 0 / 359.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.02678, allocations: 139.6 kB / 359.9 MB, free: 4.625 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.001358/0.02814, allocations: 400.3 kB / 360.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.02951, allocations: 1.364 MB / 361.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.02952, allocations: 0.8125 kB / 361.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008467/0.03036, allocations: 1.137 MB / 362.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.03255, allocations: 1.487 MB / 364.3 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.03413, allocations: 0.8969 MB / 365.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.03445, allocations: 268.8 kB / 365.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.03456, allocations: 38.95 kB / 365.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.03464, allocations: 36.48 kB / 365.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03465, allocations: 0 / 365.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.01378/0.04842, allocations: 6.65 MB / 372.2 MB, free: 8.355 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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-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:319:136: error: use of undeclared identifier '_omcQ_24CLKPRE' 319 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[17]] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:331:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 331 | (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[18]] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:343:118: error: use of undeclared identifier '_omcQ_24CLKPRE' 343 | (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[3]] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:368:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 368 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:446:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 446 | 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: 2.3021791139617562]