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.001269/0.001269, allocations: 73.33 kB / 19.97 MB, free: 1.73 MB / 14.72 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.001485/0.001485, allocations: 171.2 kB / 23.26 MB, free: 4.859 MB / 14.72 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.402/1.402, allocations: 177.1 MB / 203.6 MB, free: 9.176 MB / 190.1 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.05812/0.05812, allocations: 9.171 MB / 269.1 MB, free: 7.906 MB / 254.1 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.493e-06/1.493e-06, allocations: 0 / 397.6 MB, free: 5.293 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.025e-05, allocations: 6.281 kB / 397.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.0039/0.003921, allocations: 2.323 MB / 399.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.005706, allocations: 0.9105 MB / 400.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.00583, allocations: 15.88 kB / 400.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.006084, allocations: 91.12 kB / 400.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.006304, allocations: 63.33 kB / 401 MB, free: 1.871 MB / 318.1 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.0008798/0.007184, allocations: 326.7 kB / 401.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.007661, allocations: 395.7 kB / 401.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.007942, allocations: 155.7 kB / 401.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.008243, allocations: 267.4 kB / 402.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.008504, allocations: 179.4 kB / 402.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.008576, allocations: 44 kB / 402.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.00887, allocations: 203.6 kB / 402.5 MB, free: 344 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.00904, allocations: 159.5 kB / 402.6 MB, free: 184 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.009191, allocations: 131.6 kB / 402.8 MB, free: 52 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.00999, allocations: 0.6852 MB / 403.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.009995, allocations: 4 kB / 403.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.009995, allocations: 0 / 403.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.01, allocations: 0 / 403.5 MB, free: 15.36 MB / 334.1 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.001578/0.01158, allocations: 1.036 MB / 404.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.01161, allocations: 12.02 kB / 404.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.01173, allocations: 52.61 kB / 404.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.01212, allocations: 280.5 kB / 404.8 MB, free: 13.89 MB / 334.1 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.000117/0.01224, allocations: 92.95 kB / 404.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.01231, allocations: 44.38 kB / 405 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.01414, allocations: 1.173 MB / 406.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.01416, allocations: 192 / 406.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.0142, allocations: 23.94 kB / 406.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.01424, allocations: 12 kB / 406.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.01478, allocations: 316 kB / 406.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.01602, allocations: 1.179 MB / 407.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.01705, allocations: 0.6921 MB / 408.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.01757, allocations: 365.3 kB / 408.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.01768, allocations: 43.91 kB / 408.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.01793, allocations: 195.8 kB / 409 MB, free: 9.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.01793, allocations: 3.938 kB / 409 MB, free: 9.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.001434/0.01937, allocations: 0.8156 MB / 409.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/0.0196, allocations: 334.6 kB / 410.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.01982, allocations: 227 kB / 410.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.01987, allocations: 41.7 kB / 410.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01999, allocations: 157.8 kB / 410.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.02004, allocations: 59.61 kB / 410.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.02014, allocations: 73.64 kB / 410.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.0203, allocations: 338.8 kB / 411 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.02041, allocations: 52.14 kB / 411 MB, free: 7.289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.0206, allocations: 154 kB / 411.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.02095, allocations: 228.8 kB / 411.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02096, allocations: 0 / 411.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004216/0.02138, allocations: 241.2 kB / 411.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.02139, allocations: 8 kB / 411.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.0214, allocations: 4.406 kB / 411.6 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.02142, allocations: 8 kB / 411.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.02156, allocations: 39.92 kB / 411.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.02158, allocations: 11.92 kB / 411.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.0217, allocations: 23.83 kB / 411.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.02173, allocations: 16.25 kB / 411.7 MB, free: 6.473 MB / 334.1 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.0002625/0.02199, allocations: 200 kB / 411.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008092/0.0228, allocations: 496.9 kB / 412.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/0.02368, allocations: 483.1 kB / 412.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.0237, allocations: 15.94 kB / 412.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.02371, allocations: 4 kB / 412.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.02372, allocations: 7.984 kB / 412.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.02434, allocations: 465.7 kB / 413.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.02436, allocations: 4 kB / 413.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.02469, allocations: 103.8 kB / 413.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.0247, allocations: 7.938 kB / 413.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.02474, allocations: 19.98 kB / 413.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.02475, allocations: 12.16 kB / 413.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.02476, allocations: 3.938 kB / 413.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.02592, allocations: 0.7832 MB / 414.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.02597, allocations: 63.39 kB / 414.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.02605, allocations: 27.98 kB / 414.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.02622, allocations: 19.94 kB / 414.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.02627, allocations: 19.97 kB / 414.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.02633, allocations: 27.98 kB / 414.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.02648, allocations: 148.6 kB / 414.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02648, allocations: 0 / 414.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000501/0.02698, allocations: 139.7 kB / 414.7 MB, free: 3.363 MB / 334.1 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.0008993/0.02788, allocations: 384.3 kB / 415.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.02902, allocations: 1.047 MB / 416.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.02902, allocations: 7.938 kB / 416.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.02965, allocations: 0.765 MB / 416.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.03141, allocations: 1.188 MB / 418.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.03282, allocations: 0.9156 MB / 419 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.0331, allocations: 280.6 kB / 419.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.0332, allocations: 38.94 kB / 419.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.03327, allocations: 40.48 kB / 419.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.03327, allocations: 4 kB / 419.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Templates: time 0.01287/0.04614, allocations: 6.592 MB / 426 MB, free: 8.141 MB / 350.1 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' (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' (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' (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' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:446:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 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.362552773207426] Failed to read output from testmodel.py, exit status != 0: 0.054149627685546875 0.071200416 0.057169419000000006 Calling exit ...