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.002043/0.002043, allocations: 75.75 kB / 20.55 MB, free: 1.082 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.002925/0.002925, allocations: 160.9 kB / 23.8 MB, free: 4.168 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.544/1.544, allocations: 177.2 MB / 204.2 MB, free: 9.043 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.0624/0.0624, allocations: 9.159 MB / 269.7 MB, free: 7.945 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_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 0.002132/0.002132, allocations: 75.83 kB / 398 MB, free: 6.598 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.1188/0.1209, allocations: 56.34 MB / 454.4 MB, free: 14.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.006233/0.1271, allocations: 3.139 MB / 457.5 MB, free: 11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.1293, allocations: 0.9537 MB / 458.5 MB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.1296, allocations: 19.88 kB / 458.5 MB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1299, allocations: 87.12 kB / 458.6 MB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1302, allocations: 47.53 kB / 458.6 MB, free: 9.891 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.001136/0.1313, allocations: 342.9 kB / 459 MB, free: 9.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.132, allocations: 459.5 kB / 459.4 MB, free: 9.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.1323, allocations: 169.1 kB / 459.6 MB, free: 8.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.1326, allocations: 219.2 kB / 459.8 MB, free: 8.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.133, allocations: 242.8 kB / 460 MB, free: 8.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.1331, allocations: 44 kB / 460.1 MB, free: 8.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.1335, allocations: 219.8 kB / 460.3 MB, free: 8.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.1337, allocations: 163.5 kB / 460.4 MB, free: 8.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.1339, allocations: 186.9 kB / 460.6 MB, free: 7.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1349, allocations: 0.7546 MB / 461.4 MB, free: 7.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.1349, allocations: 0 / 461.4 MB, free: 7.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1349, allocations: 0 / 461.4 MB, free: 7.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.135, allocations: 4 kB / 461.4 MB, free: 7.121 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002114/0.1371, allocations: 1.128 MB / 462.5 MB, free: 5.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1371, allocations: 8.031 kB / 462.5 MB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1373, allocations: 72.56 kB / 462.6 MB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.1378, allocations: 334 kB / 462.9 MB, free: 5.492 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.0001439/0.138, allocations: 92.97 kB / 463 MB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.1381, allocations: 60.12 kB / 463.1 MB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.1402, allocations: 1.325 MB / 464.4 MB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1402, allocations: 11.88 kB / 464.4 MB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.1402, allocations: 20 kB / 464.4 MB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.1403, allocations: 16 kB / 464.4 MB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.1409, allocations: 361.7 kB / 464.8 MB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.143, allocations: 1.96 MB / 466.8 MB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.1441, allocations: 0.7661 MB / 467.5 MB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.1447, allocations: 411 kB / 467.9 MB, free: 176 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.1448, allocations: 44.41 kB / 468 MB, free: 132 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.1449, allocations: 58.94 kB / 468 MB, free: 60 kB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.745e-06/0.1449, allocations: 0 / 468 MB, free: 60 kB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.001769/0.1467, allocations: 0.8889 MB / 468.9 MB, free: 15.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002746/0.1469, allocations: 358.6 kB / 469.3 MB, free: 14.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.1473, allocations: 304.2 kB / 469.6 MB, free: 14.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.1473, allocations: 45.7 kB / 469.6 MB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1475, allocations: 197.5 kB / 469.8 MB, free: 14.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.1476, allocations: 95.48 kB / 469.9 MB, free: 14.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1478, allocations: 154.6 kB / 470 MB, free: 13.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.148, allocations: 358.8 kB / 470.4 MB, free: 13.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1483, allocations: 161.9 kB / 470.5 MB, free: 13.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.149, allocations: 0.6815 MB / 471.2 MB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.1502, allocations: 0.9051 MB / 472.1 MB, free: 11.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.1502, allocations: 8 kB / 472.1 MB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001378/0.1516, allocations: 0.8137 MB / 473 MB, free: 10.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1516, allocations: 12 kB / 473 MB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.1516, allocations: 20 kB / 473 MB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/0.1517, allocations: 27.98 kB / 473 MB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.1522, allocations: 167.7 kB / 473.2 MB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.592e-05/0.1522, allocations: 35.86 kB / 473.2 MB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.1526, allocations: 83.73 kB / 473.3 MB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.1526, allocations: 48.44 kB / 473.3 MB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (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,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,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 (98): * Single equations (assignments): 97 * 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.000353/0.153, allocations: 285.5 kB / 473.6 MB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.1541, allocations: 0.5194 MB / 474.1 MB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.1553, allocations: 0.6759 MB / 474.8 MB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/0.1554, allocations: 12 kB / 474.8 MB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1554, allocations: 4 kB / 474.8 MB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.1554, allocations: 12.14 kB / 474.8 MB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.1562, allocations: 300.8 kB / 475.1 MB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.1562, allocations: 7.984 kB / 475.1 MB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000444/0.1566, allocations: 119.8 kB / 475.3 MB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.1567, allocations: 7.938 kB / 475.3 MB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.1567, allocations: 27.98 kB / 475.3 MB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.1567, allocations: 4 kB / 475.3 MB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.1567, allocations: 7.938 kB / 475.3 MB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.1589, allocations: 1.835 MB / 477.1 MB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.159, allocations: 67.45 kB / 477.2 MB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.1591, allocations: 24 kB / 477.2 MB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.1596, allocations: 20 kB / 477.3 MB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.1596, allocations: 19.95 kB / 477.3 MB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.1597, allocations: 35.98 kB / 477.3 MB, free: 6.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.1599, allocations: 195.1 kB / 477.5 MB, free: 5.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1599, allocations: 0 / 477.5 MB, free: 5.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001148/0.1611, allocations: 175.6 kB / 477.7 MB, free: 5.699 MB / 446.1 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.0009979/0.1621, allocations: 400.2 kB / 478.1 MB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.1637, allocations: 1.314 MB / 479.4 MB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.1637, allocations: 4 kB / 479.4 MB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.1644, allocations: 0.7842 MB / 480.2 MB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.1669, allocations: 1.207 MB / 481.4 MB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1688, allocations: 1.141 MB / 482.5 MB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1693, allocations: 330.2 kB / 482.8 MB, free: 444 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.1695, allocations: 96.52 kB / 482.9 MB, free: 348 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.1696, allocations: 44.48 kB / 483 MB, free: 300 kB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1696, allocations: 0 / 483 MB, free: 300 kB / 446.1 MB Notification: Performance of Templates: time 0.1871/0.3567, allocations: 7.996 MB / 491 MB, free: 63.1 MB / 446.1 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 -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_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:343: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_UDP.c:355: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_UDP.c:367:118: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[4]] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:392:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:434:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 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: 3.0167061479296535] Failed to read output from testmodel.py, exit status != 0: 0.36482035205699503 0.373060237 0.23585097600000002 Calling exit ...