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.00195/0.00195, allocations: 75.05 kB / 20.55 MB, free: 1.242 MB / 14.72 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.002499/0.002499, allocations: 164.8 kB / 23.8 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.2 MB / 204.2 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] 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.05788/0.05788, allocations: 9.155 MB / 269.7 MB, free: 7.883 MB / 254.1 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 0.001929/0.001929, allocations: 72.12 kB / 398.1 MB, free: 6.535 MB / 366.1 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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09412, allocations: 56.34 MB / 454.4 MB, free: 14.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00395/0.09807, allocations: 2.331 MB / 456.7 MB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.0997, allocations: 0.9186 MB / 457.6 MB, free: 10.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.09982, allocations: 11.88 kB / 457.7 MB, free: 10.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1, allocations: 83.19 kB / 457.7 MB, free: 10.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1002, allocations: 55.53 kB / 457.8 MB, free: 10.68 MB / 430.1 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.0008106/0.101, allocations: 338.9 kB / 458.1 MB, free: 10.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.1015, allocations: 387.8 kB / 458.5 MB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.1017, allocations: 159.6 kB / 458.7 MB, free: 9.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1019, allocations: 191.4 kB / 458.8 MB, free: 9.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1022, allocations: 207 kB / 459 MB, free: 9.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.1023, allocations: 44 kB / 459.1 MB, free: 9.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1025, allocations: 199.8 kB / 459.3 MB, free: 9.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.1027, allocations: 163.5 kB / 459.4 MB, free: 9.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1028, allocations: 155.1 kB / 459.6 MB, free: 8.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006932/0.1035, allocations: 0.673 MB / 460.3 MB, free: 8.188 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1035, allocations: 0 / 460.3 MB, free: 8.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1035, allocations: 0 / 460.3 MB, free: 8.188 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1036, allocations: 0 / 460.3 MB, free: 8.188 MB / 430.1 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.001484/0.105, allocations: 1.032 MB / 461.3 MB, free: 7.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1051, allocations: 8.031 kB / 461.3 MB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.1052, allocations: 60.61 kB / 461.4 MB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1055, allocations: 277.8 kB / 461.6 MB, free: 6.719 MB / 430.1 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.0001061/0.1056, allocations: 96.95 kB / 461.7 MB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.1057, allocations: 44.36 kB / 461.8 MB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.1074, allocations: 1.187 MB / 463 MB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1074, allocations: 3.938 kB / 463 MB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.1074, allocations: 16 kB / 463 MB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.1075, allocations: 16 kB / 463 MB, free: 5.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.108, allocations: 311 kB / 463.3 MB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1091, allocations: 1.179 MB / 464.5 MB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.11, allocations: 0.7019 MB / 465.2 MB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.1105, allocations: 369.5 kB / 465.5 MB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.774e-05/0.1106, allocations: 47.91 kB / 465.6 MB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.1109, allocations: 199.7 kB / 465.8 MB, free: 2.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.1109, allocations: 0 / 465.8 MB, free: 2.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=78): time 0.00136/0.1122, allocations: 0.8055 MB / 466.6 MB, free: 1.457 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.1124, allocations: 334.5 kB / 466.9 MB, free: 1.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1126, allocations: 219.1 kB / 467.1 MB, free: 0.8398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1127, allocations: 41.7 kB / 467.2 MB, free: 0.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1128, allocations: 165.7 kB / 467.3 MB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.1128, allocations: 79.55 kB / 467.4 MB, free: 0.5508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.113, allocations: 142.5 kB / 467.6 MB, free: 412 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1131, allocations: 350.8 kB / 467.9 MB, free: 52 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1134, allocations: 121.9 kB / 468 MB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.1139, allocations: 0.5742 MB / 468.6 MB, free: 15.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.1147, allocations: 0.7721 MB / 469.4 MB, free: 14.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.1147, allocations: 4 kB / 469.4 MB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009749/0.1157, allocations: 0.6689 MB / 470 MB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1157, allocations: 12.97 kB / 470 MB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1157, allocations: 20.19 kB / 470.1 MB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.1158, allocations: 28 kB / 470.1 MB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.1162, allocations: 155.7 kB / 470.2 MB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.1162, allocations: 31.86 kB / 470.3 MB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.1165, allocations: 63.62 kB / 470.3 MB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.1165, allocations: 48 kB / 470.4 MB, free: 13.1 MB / 446.1 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: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.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 (85): * Single equations (assignments): 84 * 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.0002841/0.1168, allocations: 253.6 kB / 470.6 MB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000743/0.1175, allocations: 0.4919 MB / 471.1 MB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/0.1183, allocations: 475.2 kB / 471.6 MB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.1184, allocations: 12 kB / 471.6 MB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1184, allocations: 4 kB / 471.6 MB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1184, allocations: 3.984 kB / 471.6 MB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.119, allocations: 485.5 kB / 472.1 MB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.119, allocations: 4 kB / 472.1 MB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/0.1193, allocations: 103.8 kB / 472.2 MB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1193, allocations: 7.938 kB / 472.2 MB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.1194, allocations: 24.14 kB / 472.2 MB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1194, allocations: 8 kB / 472.2 MB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1194, allocations: 4 kB / 472.2 MB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.1204, allocations: 0.7829 MB / 473 MB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.1205, allocations: 51.53 kB / 473.1 MB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.1205, allocations: 27.98 kB / 473.1 MB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1207, allocations: 19.98 kB / 473.1 MB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.1208, allocations: 27.84 kB / 473.1 MB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.1208, allocations: 27.98 kB / 473.2 MB, free: 10.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1209, allocations: 144.7 kB / 473.3 MB, free: 10.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1209, allocations: 4 kB / 473.3 MB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006449/0.1216, allocations: 163.6 kB / 473.5 MB, free: 9.914 MB / 446.1 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.0008462/0.1224, allocations: 388.4 kB / 473.9 MB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.1237, allocations: 1.214 MB / 475.1 MB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1237, allocations: 0 / 475.1 MB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.1242, allocations: 0.7702 MB / 475.8 MB, free: 7.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.1258, allocations: 1.176 MB / 477 MB, free: 6.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1272, allocations: 0.9346 MB / 477.9 MB, free: 5.359 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1274, allocations: 281.9 kB / 478.2 MB, free: 5.055 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1276, allocations: 64.22 kB / 478.3 MB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.216e-05/0.1277, allocations: 44.48 kB / 478.3 MB, free: 4.949 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1277, allocations: 4 kB / 478.3 MB, free: 4.945 MB / 446.1 MB Notification: Performance of Templates: time 0.1788/0.3064, allocations: 7.244 MB / 485.6 MB, free: 64 MB / 446.1 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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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' (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' (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' (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' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:446:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 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: 2.7249401699518785] Failed to read output from testmodel.py, exit status != 0: 0.31409707700368017 0.322671056 0.21709208000000002 Calling exit ...