Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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.0007402/0.0007402, allocations: 88.44 kB / 20.74 MB, free: 3.82 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.0007505/0.0007505, 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.8515/0.8515, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.03826/0.03826, allocations: 9.138 MB / 269.9 MB, free: 4.445 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.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.488e-05, allocations: 5.375 kB / 398.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.003065/0.00309, allocations: 2.942 MB / 401.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004112, allocations: 0.8637 MB / 402.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004226, allocations: 11.88 kB / 402.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.004458, allocations: 87.12 kB / 402.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.004626, allocations: 63.39 kB / 402.3 MB, free: 11.55 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.005148, allocations: 302.9 kB / 402.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.005456, allocations: 402.9 kB / 403 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.005679, allocations: 147.5 kB / 403.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.005882, allocations: 275.4 kB / 403.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.006076, allocations: 183.4 kB / 403.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.00612, allocations: 44 kB / 403.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.006332, allocations: 199.7 kB / 403.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.006444, allocations: 159.5 kB / 404 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.00654, allocations: 139.6 kB / 404.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007869/0.007327, allocations: 0.7007 MB / 404.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00733, allocations: 4 kB / 404.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007332, allocations: 0 / 404.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.007337, allocations: 0 / 404.8 MB, free: 9.027 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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001119/0.008456, allocations: 1.067 MB / 405.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.008491, allocations: 12.03 kB / 405.9 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.008564, allocations: 52.64 kB / 405.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.008819, allocations: 269.1 kB / 406.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.008848, allocations: 29.36 kB / 406.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.008883, allocations: 40.38 kB / 406.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.009367, allocations: 488 kB / 406.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.00938, allocations: 192 / 406.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.009407, allocations: 20.38 kB / 406.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.009415, allocations: 8.375 kB / 406.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.009731, allocations: 267.7 kB / 407 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009149/0.01065, allocations: 1.152 MB / 408.2 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.01101, allocations: 274.4 kB / 408.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01114, allocations: 147.3 kB / 408.6 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.01117, allocations: 7.984 kB / 408.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.0114, allocations: 263.5 kB / 408.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.0114, allocations: 0 / 408.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006855/0.01209, allocations: 0.5924 MB / 409.4 MB, free: 4.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.01216, allocations: 156.5 kB / 409.6 MB, free: 3.926 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.01231, allocations: 243 kB / 409.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.01234, allocations: 45.69 kB / 409.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.01243, allocations: 212.6 kB / 410.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.01249, allocations: 103.3 kB / 410.2 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01259, allocations: 122.3 kB / 410.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.01268, allocations: 346.8 kB / 410.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.01283, allocations: 125.2 kB / 410.8 MB, free: 2.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.01305, allocations: 329.6 kB / 411.1 MB, free: 2.305 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.01369, allocations: 0.4981 MB / 411.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01369, allocations: 0 / 411.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004928/0.01419, allocations: 0.5007 MB / 412.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.0142, allocations: 8.875 kB / 412.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.01421, allocations: 8 kB / 412.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01423, allocations: 12 kB / 412.1 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01437, allocations: 83.83 kB / 412.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.01439, allocations: 15.92 kB / 412.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01449, allocations: 47.66 kB / 412.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.01451, allocations: 28 kB / 412.3 MB, free: 1.004 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.01469, allocations: 237.5 kB / 412.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.01473, allocations: 35.75 kB / 412.6 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.015, allocations: 240.2 kB / 412.8 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01501, allocations: 4 kB / 412.8 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.01501, allocations: 0 / 412.8 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01502, allocations: 4 kB / 412.8 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1296/0.1446, allocations: 0.8853 MB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1446, allocations: 4.984 kB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.1447, allocations: 13.92 kB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1447, allocations: 2.406 kB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.1447, allocations: 17.06 kB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1447, allocations: 5.234 kB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1447, allocations: 4.656 kB / 413.7 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.1453, allocations: 0.6715 MB / 414.4 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1454, allocations: 25.36 kB / 414.4 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1454, allocations: 12.8 kB / 414.4 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.1455, allocations: 8.516 kB / 414.5 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1455, allocations: 28.19 kB / 414.5 MB, free: 26.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.1456, allocations: 20.23 kB / 414.5 MB, free: 26.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.126e-05/0.1457, allocations: 138.1 kB / 414.6 MB, free: 26.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1457, allocations: 1.438 kB / 414.6 MB, free: 26.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.1461, allocations: 155 kB / 414.8 MB, free: 26.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * 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.0005505/0.1467, allocations: 355.9 kB / 415.1 MB, free: 26.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.1471, allocations: 364.3 kB / 415.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1471, allocations: 3.656 kB / 415.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.1473, allocations: 153.6 kB / 415.6 MB, free: 26.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1477, allocations: 70.84 kB / 415.7 MB, free: 26.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.1486, allocations: 0.7244 MB / 416.4 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.1488, allocations: 205.4 kB / 416.6 MB, free: 25.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.1488, allocations: 31.89 kB / 416.7 MB, free: 25.96 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1488, allocations: 3.562 kB / 416.7 MB, free: 25.96 MB / 330.7 MB Notification: Performance of Templates: time 0.008835/0.1577, allocations: 6.268 MB / 422.9 MB, free: 25.13 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeFunctions.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, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSizeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.397454052232206] Failed to read output from testmodel.py, exit status != 0: 0.1637368192896247 0.17042093600000002 0.161831218 Calling exit ...