Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.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.0007349/0.0007349, allocations: 81.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001752, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 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.001092/0.001092, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002529, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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.9106/0.9106, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08112/0.9917, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.05996/0.05996, allocations: 9.169 MB / 253.3 MB, free: 5.984 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.008269/0.06823, allocations: 3.452 MB / 256.8 MB, free: 2.531 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 258.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.637e-05, allocations: 2.312 kB / 258.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003136/0.003152, allocations: 3.321 MB / 261.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004325, allocations: 1.008 MB / 262.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.004444, allocations: 19.81 kB / 262.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.0046, allocations: 99.06 kB / 262.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.004709, allocations: 43.53 kB / 262.6 MB, free: 12.71 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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.0005128/0.005222, allocations: 336.5 kB / 262.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.005557, allocations: 443.6 kB / 263.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.005765, allocations: 190.9 kB / 263.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.005991, allocations: 320.3 kB / 263.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.006194, allocations: 203.4 kB / 264 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.006244, allocations: 52 kB / 264.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.006456, allocations: 215.6 kB / 264.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.006559, allocations: 131.6 kB / 264.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.006647, allocations: 115.6 kB / 264.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.00707, allocations: 0.5292 MB / 265.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.007079, allocations: 0 / 265.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.00708, allocations: 0 / 265.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.007087, allocations: 0 / 265.1 MB, free: 10.21 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001062/0.008149, allocations: 1.151 MB / 266.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.008182, allocations: 8.625 kB / 266.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.008268, allocations: 96.81 kB / 266.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.008531, allocations: 281.4 kB / 266.6 MB, free: 8.59 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.124e-05/0.008602, allocations: 105 kB / 266.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.008649, allocations: 48.38 kB / 266.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.009506, allocations: 0.9483 MB / 267.7 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.009521, allocations: 15.86 kB / 267.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.009548, allocations: 16 kB / 267.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.009578, allocations: 16 kB / 267.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.00979, allocations: 154.5 kB / 267.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.01063, allocations: 1.756 MB / 269.6 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.01099, allocations: 478.3 kB / 270.1 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.01117, allocations: 211 kB / 270.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-05/0.01124, allocations: 44.47 kB / 270.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.01127, allocations: 55 kB / 270.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=83): time 2.164e-06/0.01127, allocations: 0 / 270.4 MB, free: 4.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=83): time 0.0005373/0.0118, allocations: 437.5 kB / 270.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.01193, allocations: 354.7 kB / 271.2 MB, free: 3.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.01207, allocations: 270.8 kB / 271.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.0121, allocations: 41.7 kB / 271.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.01217, allocations: 181.9 kB / 271.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.01221, allocations: 67.62 kB / 271.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.01228, allocations: 85.58 kB / 271.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.01235, allocations: 342.8 kB / 272.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.01239, allocations: 31.91 kB / 272.2 MB, free: 2.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.01249, allocations: 190.5 kB / 272.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.01267, allocations: 273 kB / 272.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01267, allocations: 8 kB / 272.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002086/0.01288, allocations: 225.6 kB / 272.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.01289, allocations: 8 kB / 272.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0129, allocations: 11.98 kB / 272.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01291, allocations: 11.94 kB / 272.9 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01304, allocations: 63.91 kB / 273 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01304, allocations: 11.94 kB / 273 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.01313, allocations: 31.77 kB / 273 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.01315, allocations: 24.23 kB / 273 MB, free: 1.555 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (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,integrator1[1].local_reset,integrator1[2].local_reset,integrator1[3].local_reset) * 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 (36): * Single equations (assignments): 35 * 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.0001098/0.01326, allocations: 162.6 kB / 273.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.01358, allocations: 264.6 kB / 273.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.01396, allocations: 372.6 kB / 273.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.01398, allocations: 15.94 kB / 273.8 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01398, allocations: 4 kB / 273.8 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.01399, allocations: 7.984 kB / 273.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.0144, allocations: 213.3 kB / 274 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.01441, allocations: 7.984 kB / 274 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.01466, allocations: 140 kB / 274.2 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.0147, allocations: 59.48 kB / 274.2 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.0147, allocations: 4 kB / 274.2 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.01473, allocations: 23.98 kB / 274.3 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.01473, allocations: 4 kB / 274.3 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01474, allocations: 11.92 kB / 274.3 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1064/0.1211, allocations: 0.9209 MB / 275.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1212, allocations: 25.66 kB / 275.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.1215, allocations: 15.81 kB / 275.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1215, allocations: 26.92 kB / 275.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.1216, allocations: 22.8 kB / 275.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.398e-05/0.1216, allocations: 92.22 kB / 275.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1216, allocations: 0 / 275.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005816/0.1222, allocations: 152.5 kB / 275.5 MB, free: 10.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,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) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * 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.0008059/0.123, allocations: 452.4 kB / 276 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.1236, allocations: 0.9229 MB / 276.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.1236, allocations: 4 kB / 276.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.1241, allocations: 0.7647 MB / 277.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.1253, allocations: 1.627 MB / 279.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1265, allocations: 0.9269 MB / 280.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.1266, allocations: 186.7 kB / 280.4 MB, free: 6.789 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.202e-05/0.1267, allocations: 34.77 kB / 280.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1269, allocations: 139.1 kB / 280.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1269, allocations: 0 / 280.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of Templates: time 0.01037/0.1373, allocations: 7.95 MB / 288.5 MB, free: 4.996 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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_UDP -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_UDP.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:390:96: error: use of undeclared identifier '_omcQ_24CLKPRE' 390 | (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:403:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 403 | (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:416:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 416 | (data->localData[0]->booleanVars[4] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:450:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 450 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:479:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 479 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.o] Error 1 [Calling os._exit(0), Time elapsed: 1.5666676722466946]