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.0009097/0.0009097, allocations: 79.94 kB / 20.76 MB, free: 3.73 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.0009462/0.0009462, allocations: 173 kB / 24.18 MB, free: 316 kB / 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.9776/0.9776, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.04293/0.04293, allocations: 9.166 MB / 270.2 MB, free: 4.129 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.553e-06/1.553e-06, allocations: 0 / 289.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.39e-05, allocations: 2.312 kB / 289.7 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.1189/0.1189, allocations: 2.406 MB / 292.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1204, allocations: 0.9641 MB / 293.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1205, allocations: 13.78 kB / 293.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1208, allocations: 88.42 kB / 293.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.121, allocations: 53.34 kB / 293.3 MB, free: 17.52 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.0008727/0.1219, allocations: 328.6 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000463/0.1223, allocations: 389.8 kB / 294 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.1226, allocations: 164.6 kB / 294.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.1229, allocations: 267.1 kB / 294.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.1232, allocations: 168.6 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.1233, allocations: 42.72 kB / 294.6 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.1237, allocations: 204.6 kB / 294.8 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.1238, allocations: 158.8 kB / 294.9 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.1239, allocations: 130.6 kB / 295.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.1246, allocations: 0.5149 MB / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1246, allocations: 0 / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1246, allocations: 1.25 kB / 295.6 MB, free: 16.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1246, allocations: 1.062 kB / 295.6 MB, free: 16.44 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.001134/0.1258, allocations: 0.955 MB / 296.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1258, allocations: 10.22 kB / 296.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1259, allocations: 77 kB / 296.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1262, allocations: 237.4 kB / 296.9 MB, free: 15.51 MB / 266.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 7.194e-05/0.1262, allocations: 91.91 kB / 296.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.1263, allocations: 45.52 kB / 297 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.1272, allocations: 0.8331 MB / 297.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1272, allocations: 1.781 kB / 297.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.1272, allocations: 22.41 kB / 297.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/0.1272, allocations: 16.55 kB / 297.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1274, allocations: 126 kB / 298 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.1281, allocations: 1.064 MB / 299.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.1285, allocations: 450.8 kB / 299.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1287, allocations: 200.7 kB / 299.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.1288, allocations: 41.75 kB / 299.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.1289, allocations: 185.7 kB / 299.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=78): time 3.417e-06/0.1289, allocations: 1.156 kB / 299.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=78): time 0.0005628/0.1295, allocations: 396 kB / 300.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.1296, allocations: 324.7 kB / 300.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1297, allocations: 228.3 kB / 300.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1297, allocations: 39.17 kB / 300.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.1298, allocations: 145.9 kB / 301 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.1299, allocations: 57.64 kB / 301.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.1299, allocations: 71.02 kB / 301.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.13, allocations: 344.9 kB / 301.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.13, allocations: 22.88 kB / 301.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.1301, allocations: 130 kB / 301.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1303, allocations: 184.5 kB / 301.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1303, allocations: 1.344 kB / 301.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002288/0.1305, allocations: 174.4 kB / 302 MB, free: 11.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1305, allocations: 6.875 kB / 302 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1305, allocations: 4.281 kB / 302 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1305, allocations: 4.969 kB / 302 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.1306, allocations: 39.55 kB / 302 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1306, allocations: 5.766 kB / 302 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.1307, allocations: 23.69 kB / 302.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1307, allocations: 14.28 kB / 302.1 MB, free: 11.88 MB / 266.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.0001394/0.1309, allocations: 151.9 kB / 302.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.1311, allocations: 239 kB / 302.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.1315, allocations: 278.4 kB / 302.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.1315, allocations: 18.84 kB / 302.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1315, allocations: 2.594 kB / 302.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1315, allocations: 7.75 kB / 302.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.1319, allocations: 366 kB / 303.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.1319, allocations: 3.531 kB / 303.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.1321, allocations: 108.1 kB / 303.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1321, allocations: 2.312 kB / 303.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.1321, allocations: 21.28 kB / 303.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1321, allocations: 4.5 kB / 303.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1321, allocations: 2.469 kB / 303.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1323, allocations: 280.6 kB / 303.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.1323, allocations: 54.3 kB / 303.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.1324, allocations: 20.25 kB / 303.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.1325, allocations: 18.72 kB / 303.6 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1325, allocations: 23.48 kB / 303.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.1325, allocations: 25.98 kB / 303.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.438e-05/0.1326, allocations: 63.2 kB / 303.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1326, allocations: 0 / 303.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000437/0.133, allocations: 141.1 kB / 303.9 MB, free: 10.91 MB / 266.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.0007843/0.1338, allocations: 433 kB / 304.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.1342, allocations: 0.872 MB / 305.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.1342, allocations: 6.875 kB / 305.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1344, allocations: 0.7429 MB / 305.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.1351, allocations: 1.051 MB / 307 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.1358, allocations: 0.7737 MB / 307.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.1359, allocations: 172.6 kB / 307.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.929e-05/0.136, allocations: 29.47 kB / 307.9 MB, free: 7.711 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.1361, allocations: 129.2 kB / 308.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1361, allocations: 0 / 308.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of Templates: time 0.008496/0.1446, allocations: 7.215 MB / 315.3 MB, free: 1.684 MB / 266.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 -O2 -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:96: error: use of undeclared identifier '_omcQ_24CLKPRE' 367 | (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:380:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 380 | (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:393:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 393 | (data->localData[0]->booleanVars[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.6869813352823257]