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.000747/0.000747, allocations: 80.44 kB / 20.73 MB, free: 3.828 MB / 18.57 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.0007095/0.0007095, allocations: 165.9 kB / 24 MB, free: 0.5508 MB / 18.57 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.8181/0.8181, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03371/0.03371, allocations: 9.142 MB / 269.9 MB, free: 4.469 MB / 250.7 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 3.045e-06/3.045e-06, allocations: 3.984 kB / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.578e-05, allocations: 10.22 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003207/0.003233, allocations: 3.125 MB / 401.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004456, allocations: 0.9572 MB / 402.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.004597, allocations: 15.88 kB / 402.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.004842, allocations: 87.19 kB / 402.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.005042, allocations: 51.41 kB / 402.6 MB, free: 11.29 MB / 330.7 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.0006682/0.00571, allocations: 338.8 kB / 402.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.006074, allocations: 463.4 kB / 403.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.006312, allocations: 185 kB / 403.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.006545, allocations: 299.3 kB / 403.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.006759, allocations: 203.4 kB / 404 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.006808, allocations: 48 kB / 404.1 MB, free: 9.781 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.00703, allocations: 207.6 kB / 404.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.007144, allocations: 175.4 kB / 404.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.007243, allocations: 147.5 kB / 404.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.007846, allocations: 0.7708 MB / 405.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.007849, allocations: 0 / 405.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.00785, allocations: 0 / 405.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.007859, allocations: 0 / 405.3 MB, free: 8.488 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001259/0.009118, allocations: 1.121 MB / 406.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.00915, allocations: 8.031 kB / 406.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.009242, allocations: 68.52 kB / 406.5 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.009563, allocations: 329.3 kB / 406.9 MB, free: 6.871 MB / 330.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 9.566e-05/0.009659, allocations: 101 kB / 407 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.009712, allocations: 52.38 kB / 407 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.01093, allocations: 1.333 MB / 408.3 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.01095, allocations: 11.88 kB / 408.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.01098, allocations: 16 kB / 408.4 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.01101, allocations: 19.98 kB / 408.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.0114, allocations: 365.7 kB / 408.7 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.0125, allocations: 1.948 MB / 410.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.01317, allocations: 0.7579 MB / 411.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.01353, allocations: 411 kB / 411.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-05/0.01361, allocations: 44.42 kB / 411.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.01364, allocations: 55 kB / 412 MB, free: 1.453 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.414e-06/0.01364, allocations: 4 kB / 412 MB, free: 1.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.001037/0.01468, allocations: 0.896 MB / 412.9 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.01481, allocations: 355.8 kB / 413.2 MB, free: 132 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1209/0.1357, allocations: 302.1 kB / 413.5 MB, free: 27.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/0.1358, allocations: 41.8 kB / 413.5 MB, free: 27.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.1359, allocations: 199.8 kB / 413.7 MB, free: 27.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.1359, allocations: 77.22 kB / 413.8 MB, free: 27.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.136, allocations: 80.56 kB / 413.9 MB, free: 27.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.136, allocations: 342.3 kB / 414.2 MB, free: 26.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1361, allocations: 80.97 kB / 414.3 MB, free: 26.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1363, allocations: 240.4 kB / 414.5 MB, free: 26.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1365, allocations: 365.1 kB / 414.9 MB, free: 26.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1365, allocations: 5.797 kB / 414.9 MB, free: 26.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003585/0.1369, allocations: 363.1 kB / 415.2 MB, free: 26.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1369, allocations: 11.8 kB / 415.3 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1369, allocations: 5.781 kB / 415.3 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.137, allocations: 10.5 kB / 415.3 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1371, allocations: 59.75 kB / 415.3 MB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1371, allocations: 13.44 kB / 415.3 MB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.1372, allocations: 28.02 kB / 415.4 MB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1372, allocations: 20.62 kB / 415.4 MB, free: 26.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.1374, allocations: 226.5 kB / 415.6 MB, free: 26.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.138, allocations: 0.515 MB / 416.1 MB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.1387, allocations: 0.6717 MB / 416.8 MB, free: 25.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.1388, allocations: 16.28 kB / 416.8 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1388, allocations: 3.656 kB / 416.8 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.1388, allocations: 11.08 kB / 416.8 MB, free: 25.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1393, allocations: 300.1 kB / 417.1 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.1393, allocations: 5.203 kB / 417.1 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1395, allocations: 114.3 kB / 417.2 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1395, allocations: 6.375 kB / 417.2 MB, free: 25.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.1395, allocations: 29.27 kB / 417.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.1396, allocations: 12.95 kB / 417.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1396, allocations: 15.22 kB / 417.3 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1407, allocations: 1.828 MB / 419.1 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1408, allocations: 65 kB / 419.2 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.1408, allocations: 22.42 kB / 419.2 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.1411, allocations: 16.69 kB / 419.2 MB, free: 24.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1411, allocations: 32.17 kB / 419.3 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.1412, allocations: 29.31 kB / 419.3 MB, free: 24.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1413, allocations: 203.3 kB / 419.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1413, allocations: 1.312 kB / 419.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005629/0.1418, allocations: 146.8 kB / 419.6 MB, free: 24.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005463/0.1424, allocations: 395.8 kB / 420 MB, free: 23.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.143, allocations: 1.117 MB / 421.1 MB, free: 23.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.143, allocations: 2.875 kB / 421.1 MB, free: 23.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.1432, allocations: 0.7777 MB / 421.9 MB, free: 22.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.1445, allocations: 1.231 MB / 423.2 MB, free: 21.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1456, allocations: 1.121 MB / 424.3 MB, free: 20.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1459, allocations: 325.8 kB / 424.6 MB, free: 20.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.1459, allocations: 40.72 kB / 424.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1459, allocations: 1.188 kB / 424.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of Templates: time 0.007534/0.1535, allocations: 7.404 MB / 432 MB, free: 18.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-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"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' 452 | strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); | ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument 144 | extern char *strncpy (char *__restrict __dest, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:219:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 219 | if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:239:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' 239 | _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:240:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' 240 | _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:241:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 241 | _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; | ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:327:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 327 | if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:347:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' 347 | _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:348:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' 348 | _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:349:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 349 | _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; | ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:362:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' 362 | if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { | ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.443970011547208] Failed to read output from testmodel.py, exit status != 0: 0.15853928588330746 0.16416730000000002 0.15512541100000002 Calling exit ...