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.001186/0.001186, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.002984, allocations: 447.8 kB / 10.35 MB, free: 348 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.001272/0.001272, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.002966, allocations: 467.6 kB / 11.69 MB, free: 2.477 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.9069/0.9069, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07672/0.9836, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.03553/0.03553, allocations: 9.162 MB / 253.1 MB, free: 6.094 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.005904/0.04144, allocations: 3.443 MB / 256.6 MB, free: 2.652 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.503e-06/1.503e-06, allocations: 0 / 257.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.196e-05, allocations: 2.312 kB / 257.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002774/0.002796, allocations: 2.471 MB / 260.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004078, allocations: 0.9764 MB / 261.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.004199, allocations: 11.88 kB / 261.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.004376, allocations: 91.12 kB / 261.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.004519, allocations: 55.45 kB / 261.5 MB, free: 13.74 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.0005796/0.005099, allocations: 318.1 kB / 261.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.005386, allocations: 379.7 kB / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.005601, allocations: 165.6 kB / 262.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.005806, allocations: 275.4 kB / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.005994, allocations: 171.5 kB / 262.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.006039, allocations: 48 kB / 262.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.006296, allocations: 215.6 kB / 263 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.8e-05/0.006394, allocations: 123.6 kB / 263.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.006477, allocations: 95.69 kB / 263.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.006921, allocations: 478.2 kB / 263.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.006932, allocations: 0 / 263.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006934, allocations: 0 / 263.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.006947, allocations: 0 / 263.7 MB, free: 11.52 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.001023/0.007971, allocations: 1.057 MB / 264.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.007999, allocations: 12.62 kB / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.008076, allocations: 68.89 kB / 264.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.008292, allocations: 233.1 kB / 265.1 MB, free: 10.06 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.566e-05/0.008368, allocations: 92.97 kB / 265.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.008406, allocations: 44.38 kB / 265.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.009105, allocations: 0.8307 MB / 266 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.009117, allocations: 192 / 266 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.009144, allocations: 19.94 kB / 266 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.009173, allocations: 16 kB / 266.1 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.009322, allocations: 141.6 kB / 266.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.009978, allocations: 1.067 MB / 267.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.01034, allocations: 438 kB / 267.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.01058, allocations: 205.3 kB / 267.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-05/0.01067, allocations: 43.98 kB / 267.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.0108, allocations: 183.9 kB / 268.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of pre-optimization done (n=78): time 2.054e-06/0.0108, allocations: 0 / 268.1 MB, free: 6.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=78): time 0.0004475/0.01125, allocations: 397.3 kB / 268.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.01137, allocations: 326.6 kB / 268.8 MB, free: 5.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.0115, allocations: 226.3 kB / 269 MB, free: 5.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.01153, allocations: 37.7 kB / 269.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.01159, allocations: 150.4 kB / 269.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.01163, allocations: 63.53 kB / 269.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.01169, allocations: 73.62 kB / 269.4 MB, free: 5.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.01176, allocations: 338.7 kB / 269.7 MB, free: 5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.01179, allocations: 24.22 kB / 269.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.01186, allocations: 121.2 kB / 269.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.01199, allocations: 180.9 kB / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.012, allocations: 4 kB / 270 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001623/0.01216, allocations: 177.3 kB / 270.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01218, allocations: 8 kB / 270.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01218, allocations: 4 kB / 270.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0122, allocations: 4 kB / 270.2 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.0123, allocations: 43.91 kB / 270.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01231, allocations: 11.92 kB / 270.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.01238, allocations: 15.89 kB / 270.3 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01239, allocations: 15.98 kB / 270.3 MB, free: 4.305 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.0001458/0.01254, allocations: 158.8 kB / 270.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.01276, allocations: 234.4 kB / 270.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.01305, allocations: 279.3 kB / 270.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.01308, allocations: 12 kB / 271 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01308, allocations: 4 kB / 271 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.01309, allocations: 3.984 kB / 271 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.01344, allocations: 366.6 kB / 271.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.01345, allocations: 11.98 kB / 271.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.01366, allocations: 123.8 kB / 271.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.01369, allocations: 43.64 kB / 271.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01369, allocations: 4 kB / 271.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.01371, allocations: 19.98 kB / 271.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.01372, allocations: 4 kB / 271.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01372, allocations: 11.88 kB / 271.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01388, allocations: 275.5 kB / 271.8 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.01392, allocations: 20 kB / 271.8 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.014, allocations: 20 kB / 271.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.01403, allocations: 27.89 kB / 271.9 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.01406, allocations: 20.14 kB / 271.9 MB, free: 2.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.845e-05/0.0141, allocations: 62.16 kB / 271.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0141, allocations: 0 / 271.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.01441, allocations: 143.6 kB / 272.1 MB, free: 2.414 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.0007851/0.01519, allocations: 449.8 kB / 272.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.01563, allocations: 0.8953 MB / 273.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.01564, allocations: 4 kB / 273.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.01586, allocations: 0.7386 MB / 274.2 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08926/0.1051, allocations: 1.068 MB / 275.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.106, allocations: 0.7864 MB / 276 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.1062, allocations: 172.7 kB / 276.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1063, allocations: 30.86 kB / 276.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.1065, allocations: 120.8 kB / 276.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of SimCode: time 1.924e-06/0.1065, allocations: 0 / 276.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01221/0.1187, allocations: 7.32 MB / 283.7 MB, free: 10.16 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.5064257234334946]