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.001141/0.001141, allocations: 81.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001756/0.002896, 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.0011/0.0011, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001532/0.002632, 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.9223/0.9223, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07825/1.001, 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.03516/0.03516, allocations: 9.156 MB / 253.3 MB, free: 5.988 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.006013/0.04117, allocations: 3.447 MB / 256.8 MB, free: 2.539 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_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.583e-06/1.583e-06, allocations: 0 / 258.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.44e-05, allocations: 6.312 kB / 258.1 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004506/0.00453, allocations: 2.486 MB / 260.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.006555, allocations: 0.9848 MB / 261.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.00676, allocations: 15.88 kB / 261.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.007022, allocations: 83.12 kB / 261.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.007257, allocations: 59.45 kB / 261.7 MB, free: 13.59 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.0009982/0.008255, allocations: 333.8 kB / 262 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004864/0.008741, allocations: 371.8 kB / 262.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.009049, allocations: 165.6 kB / 262.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.009414, allocations: 283.4 kB / 262.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.00973, allocations: 175.5 kB / 263 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.009818, allocations: 44 kB / 263 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.01024, allocations: 215.5 kB / 263.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.01038, allocations: 131.6 kB / 263.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01051, allocations: 91.75 kB / 263.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007228/0.01123, allocations: 482.1 kB / 263.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.01124, allocations: 0 / 263.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01124, allocations: 0 / 263.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.01126, allocations: 0 / 263.9 MB, free: 11.34 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.001613/0.01287, allocations: 1.057 MB / 265 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.01291, allocations: 8.625 kB / 265 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.01304, allocations: 68.89 kB / 265.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.01338, allocations: 229.1 kB / 265.3 MB, free: 9.898 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 0.0001159/0.0135, allocations: 100.5 kB / 265.4 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.01355, allocations: 44.38 kB / 265.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.01472, allocations: 0.8347 MB / 266.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.01474, allocations: 8.062 kB / 266.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.01479, allocations: 23.94 kB / 266.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.01483, allocations: 16 kB / 266.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.0151, allocations: 129.6 kB / 266.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01614, allocations: 1.063 MB / 267.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.01673, allocations: 448.2 kB / 267.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.01699, allocations: 196.8 kB / 268.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.01711, allocations: 47.97 kB / 268.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.0173, allocations: 187.9 kB / 268.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=78): time 3.437e-06/0.01731, allocations: 0 / 268.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=78): time 0.0007246/0.01803, allocations: 390.2 kB / 268.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.01821, allocations: 332.8 kB / 269.1 MB, free: 5.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.0184, allocations: 226.3 kB / 269.3 MB, free: 5.504 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.01845, allocations: 37.7 kB / 269.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.01855, allocations: 149.7 kB / 269.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.0186, allocations: 59.55 kB / 269.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.01869, allocations: 69.62 kB / 269.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.01879, allocations: 335.5 kB / 269.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-05/0.01885, allocations: 32.2 kB / 270 MB, free: 4.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.01896, allocations: 121.2 kB / 270.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.01918, allocations: 184.6 kB / 270.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01918, allocations: 0 / 270.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002592/0.01944, allocations: 169.6 kB / 270.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01946, allocations: 12.03 kB / 270.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.01947, allocations: 4 kB / 270.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01949, allocations: 4 kB / 270.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.01965, allocations: 47.91 kB / 270.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01966, allocations: 11.92 kB / 270.5 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01976, allocations: 19.89 kB / 270.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01979, allocations: 8 kB / 270.5 MB, free: 4.145 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.0002078/0.01999, allocations: 178 kB / 270.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.02038, allocations: 234.4 kB / 270.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.02092, allocations: 295.6 kB / 271.2 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/0.02096, allocations: 15.98 kB / 271.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.02097, allocations: 4 kB / 271.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.02098, allocations: 3.984 kB / 271.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.02155, allocations: 358.2 kB / 271.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.02156, allocations: 4 kB / 271.6 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.02192, allocations: 119.8 kB / 271.7 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.02197, allocations: 51.78 kB / 271.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.02198, allocations: 4 kB / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.02203, allocations: 23.98 kB / 271.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/0.02203, allocations: 7.938 kB / 271.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.02204, allocations: 7.938 kB / 271.8 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.0223, allocations: 272.5 kB / 272.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.02238, allocations: 23.98 kB / 272.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.02254, allocations: 20 kB / 272.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.02259, allocations: 15.91 kB / 272.1 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.02264, allocations: 27.98 kB / 272.2 MB, free: 2.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.272e-05/0.02272, allocations: 58.22 kB / 272.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02272, allocations: 0 / 272.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005179/0.02323, allocations: 139.6 kB / 272.4 MB, free: 2.227 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.001149/0.02438, allocations: 464.2 kB / 272.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008/0.02518, allocations: 0.8763 MB / 273.7 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/0.0252, allocations: 8 kB / 273.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.0257, allocations: 0.7658 MB / 274.5 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1/0.1257, allocations: 1.489 MB / 276 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.1266, allocations: 0.7786 MB / 276.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.1268, allocations: 171.4 kB / 276.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.045e-05/0.1268, allocations: 33.69 kB / 276.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.127, allocations: 120.5 kB / 277 MB, free: 10.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.193e-06/0.127, allocations: 0 / 277 MB, free: 10.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01001/0.137, allocations: 7.303 MB / 284.3 MB, free: 9.516 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 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_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:364:96: error: use of undeclared identifier '_omcQ_24CLKPRE' 364 | (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:377:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 377 | (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:390:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 390 | (data->localData[0]->booleanVars[3] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:424:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 424 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:491:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 491 | 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.5364930480718613]