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.0009593/0.0009593, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.0009708/0.0009708, allocations: 169 kB / 23.84 MB, free: 0.7305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9622/0.9622, allocations: 177.2 MB / 204.2 MB, free: 5.613 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.03556/0.03556, allocations: 9.155 MB / 269.9 MB, free: 4.238 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.373e-06/1.373e-06, allocations: 0 / 342.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.562e-05, allocations: 2.312 kB / 342.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002452/0.002468, allocations: 2.415 MB / 345 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003514, allocations: 0.9495 MB / 345.9 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.003626, allocations: 11.88 kB / 345.9 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.00383, allocations: 83.17 kB / 346 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.003989, allocations: 59.41 kB / 346.1 MB, free: 3.742 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.0004931/0.004482, allocations: 326.8 kB / 346.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.004715, allocations: 387.8 kB / 346.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.004919, allocations: 163.7 kB / 346.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.00507, allocations: 271.4 kB / 347.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.005231, allocations: 167.5 kB / 347.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.005273, allocations: 44 kB / 347.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.005455, allocations: 211.6 kB / 347.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.005551, allocations: 155.5 kB / 347.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.005636, allocations: 135.6 kB / 347.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.006025, allocations: 0.5097 MB / 348.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006028, allocations: 0 / 348.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.006028, allocations: 0 / 348.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.006033, allocations: 0 / 348.4 MB, free: 1.398 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.0009554/0.006989, allocations: 1.138 MB / 349.5 MB, free: 184 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.00702, allocations: 12.03 kB / 349.5 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.007119, allocations: 88.61 kB / 349.6 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.007382, allocations: 275.8 kB / 349.9 MB, free: 15.79 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 8.192e-05/0.007463, allocations: 104 kB / 350 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.007509, allocations: 44.38 kB / 350 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.008513, allocations: 0.903 MB / 351 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.008526, allocations: 4.188 kB / 351 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.008562, allocations: 27.92 kB / 351 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.0086, allocations: 19.98 kB / 351 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.008831, allocations: 149.1 kB / 351.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.009701, allocations: 1.599 MB / 352.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.01023, allocations: 0.568 MB / 353.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.01048, allocations: 269.1 kB / 353.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.321e-05/0.01056, allocations: 51.92 kB / 353.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.01071, allocations: 210.3 kB / 353.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.01071, allocations: 0 / 353.8 MB, free: 11.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=78): time 0.0007163/0.01143, allocations: 0.5427 MB / 354.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.01157, allocations: 329.7 kB / 354.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.01173, allocations: 273.7 kB / 355 MB, free: 10.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.01176, allocations: 41.7 kB / 355 MB, free: 10.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.01185, allocations: 212.4 kB / 355.2 MB, free: 9.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.0119, allocations: 63.48 kB / 355.3 MB, free: 9.918 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.01197, allocations: 75.34 kB / 355.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01211, allocations: 0.5117 MB / 355.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.01216, allocations: 32.2 kB / 355.9 MB, free: 9.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.01227, allocations: 163.8 kB / 356.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.01245, allocations: 231.5 kB / 356.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01245, allocations: 0 / 356.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002331/0.01269, allocations: 221.1 kB / 356.5 MB, free: 8.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.0127, allocations: 8 kB / 356.5 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01271, allocations: 4.406 kB / 356.5 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01272, allocations: 8 kB / 356.5 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01282, allocations: 35.92 kB / 356.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01283, allocations: 15.97 kB / 356.6 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.0129, allocations: 19.83 kB / 356.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.01292, allocations: 12 kB / 356.6 MB, free: 8.445 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.0001641/0.01308, allocations: 198.5 kB / 356.8 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/0.01347, allocations: 337.1 kB / 357.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.0139, allocations: 359.4 kB / 357.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.01392, allocations: 15.94 kB / 357.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01392, allocations: 4.25 kB / 357.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.01393, allocations: 3.984 kB / 357.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.01435, allocations: 0.5125 MB / 358 MB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.01436, allocations: 4 kB / 358 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.01463, allocations: 107.8 kB / 358.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01464, allocations: 7.938 kB / 358.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.01467, allocations: 20.16 kB / 358.1 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.01467, allocations: 15.98 kB / 358.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01468, allocations: 0 / 358.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.01529, allocations: 0.6872 MB / 358.8 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.01533, allocations: 51.52 kB / 358.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.01538, allocations: 27.98 kB / 358.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.01547, allocations: 16 kB / 358.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.01552, allocations: 23.91 kB / 359 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.01556, allocations: 27.98 kB / 359 MB, free: 5.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.01565, allocations: 180.5 kB / 359.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01565, allocations: 0 / 359.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.01598, allocations: 143.6 kB / 359.3 MB, free: 5.613 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.0006587/0.01664, allocations: 414.8 kB / 359.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.01732, allocations: 1.263 MB / 361 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01733, allocations: 0 / 361 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.01771, allocations: 1.106 MB / 362.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.01873, allocations: 1.445 MB / 363.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.01959, allocations: 0.812 MB / 364.3 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01969, allocations: 170.2 kB / 364.5 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.602e-05/0.01976, allocations: 38.94 kB / 364.5 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.01982, allocations: 36.48 kB / 364.6 MB, free: 228 kB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01982, allocations: 0 / 364.6 MB, free: 228 kB / 282.7 MB Notification: Performance of Templates: time 0.008623/0.02844, allocations: 6.638 MB / 371.2 MB, free: 9.699 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c: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: 1.6979947332292795]