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.0009438/0.0009438, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.0009487/0.0009487, allocations: 173 kB / 24.19 MB, free: 312 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.03718/0.03718, allocations: 9.155 MB / 270.2 MB, free: 4.125 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.443e-06/1.443e-06, allocations: 0 / 289.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.669e-05, allocations: 2.312 kB / 289.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.1103/0.1103, allocations: 2.451 MB / 292.2 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1116, allocations: 0.9631 MB / 293.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1118, allocations: 13.75 kB / 293.2 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.112, allocations: 87.11 kB / 293.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.1122, allocations: 52.33 kB / 293.4 MB, free: 17.68 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.0007427/0.1129, allocations: 316.3 kB / 293.7 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.1133, allocations: 389 kB / 294 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1135, allocations: 169.2 kB / 294.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1138, allocations: 258.5 kB / 294.5 MB, free: 17.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1141, allocations: 176.6 kB / 294.6 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.1141, allocations: 43.59 kB / 294.7 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.1144, allocations: 211.1 kB / 294.9 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1146, allocations: 154.7 kB / 295 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1147, allocations: 130.7 kB / 295.2 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.1153, allocations: 0.5185 MB / 295.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1153, allocations: 0 / 295.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1153, allocations: 0.6875 kB / 295.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1153, allocations: 5.125 kB / 295.7 MB, free: 16.59 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.0009936/0.1163, allocations: 0.9558 MB / 296.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1163, allocations: 9.688 kB / 296.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1164, allocations: 72.94 kB / 296.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1166, allocations: 240.2 kB / 297 MB, free: 15.67 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 6.906e-05/0.1167, allocations: 92.33 kB / 297 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1167, allocations: 45.84 kB / 297.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.1176, allocations: 0.8333 MB / 297.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1176, allocations: 4.078 kB / 297.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1176, allocations: 20.56 kB / 297.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.1177, allocations: 15.48 kB / 298 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1179, allocations: 125.7 kB / 298.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.1185, allocations: 1.063 MB / 299.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.1188, allocations: 448.5 kB / 299.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.119, allocations: 198.6 kB / 299.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.877e-05/0.1191, allocations: 41.78 kB / 299.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.1192, allocations: 190.2 kB / 300 MB, free: 13.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=78): time 2.374e-06/0.1192, allocations: 0 / 300 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=78): time 0.0004923/0.1197, allocations: 396.6 kB / 300.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.1198, allocations: 331.6 kB / 300.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1199, allocations: 220.8 kB / 300.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1199, allocations: 41.91 kB / 301 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.12, allocations: 145.7 kB / 301.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.12, allocations: 55.97 kB / 301.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.1201, allocations: 72.56 kB / 301.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.1201, allocations: 339.5 kB / 301.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.1201, allocations: 23.06 kB / 301.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.1202, allocations: 129 kB / 301.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1203, allocations: 189.7 kB / 301.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1203, allocations: 2.875 kB / 301.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001877/0.1205, allocations: 168.8 kB / 302.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1205, allocations: 7.594 kB / 302.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1205, allocations: 6.562 kB / 302.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1206, allocations: 10.19 kB / 302.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.1207, allocations: 39.06 kB / 302.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1207, allocations: 7.25 kB / 302.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.1207, allocations: 22.3 kB / 302.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1207, allocations: 13.09 kB / 302.2 MB, free: 12.04 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.0001194/0.1209, allocations: 152.6 kB / 302.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.1211, allocations: 241 kB / 302.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.1214, allocations: 275.5 kB / 302.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.1215, allocations: 15.41 kB / 302.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1215, allocations: 4.469 kB / 302.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1215, allocations: 5.469 kB / 302.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.1218, allocations: 359.3 kB / 303.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.1218, allocations: 10.64 kB / 303.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.122, allocations: 100.8 kB / 303.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.122, allocations: 5.656 kB / 303.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.122, allocations: 22.08 kB / 303.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.122, allocations: 13.38 kB / 303.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.122, allocations: 2.312 kB / 303.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1222, allocations: 284.2 kB / 303.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.1222, allocations: 55.45 kB / 303.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.1222, allocations: 23.31 kB / 303.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.1223, allocations: 20.22 kB / 303.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1224, allocations: 21.98 kB / 303.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.1224, allocations: 24.03 kB / 303.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1224, allocations: 64.19 kB / 303.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1224, allocations: 0 / 303.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.1228, allocations: 135.4 kB / 304 MB, free: 11.08 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.0007264/0.1235, allocations: 444.7 kB / 304.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.1239, allocations: 0.8746 MB / 305.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1239, allocations: 6.75 kB / 305.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.124, allocations: 0.7416 MB / 306 MB, free: 9.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.1247, allocations: 1.048 MB / 307.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.1254, allocations: 0.778 MB / 307.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.1254, allocations: 170.9 kB / 308 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.204e-05/0.1255, allocations: 30.75 kB / 308 MB, free: 7.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1256, allocations: 123.8 kB / 308.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1256, allocations: 0 / 308.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Templates: time 0.007738/0.1334, allocations: 7.208 MB / 315.4 MB, free: 1.703 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 -DOMC_RUST_SIMULATION_RUNTIME -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.6851955438032746]