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.001386/0.001386, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001498/0.001498, allocations: 212.5 kB / 23.79 MB, free: 4.414 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.55/1.55, allocations: 230.6 MB / 257.6 MB, free: 7.797 MB / 206.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.0637/0.0637, allocations: 12.23 MB / 326.2 MB, free: 7.027 MB / 254.1 MB " [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 0.002153/0.002153, allocations: 63.89 kB / 454.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1165, allocations: 56.4 MB / 0.499 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.005526/0.1221, allocations: 2.939 MB / 0.5018 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.124, allocations: 0.8757 MB / 0.5027 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1243, allocations: 11.88 kB / 0.5027 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1246, allocations: 75.2 kB / 0.5028 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1249, allocations: 59.52 kB / 0.5028 GB, free: 11.85 MB / 382.1 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.0009846/0.1259, allocations: 291.1 kB / 0.5031 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.1264, allocations: 407 kB / 0.5035 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.1267, allocations: 135.5 kB / 0.5036 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.127, allocations: 203.3 kB / 0.5038 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.1273, allocations: 214.9 kB / 0.504 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.1274, allocations: 48 kB / 0.5041 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.1277, allocations: 199.8 kB / 0.5043 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1279, allocations: 159.5 kB / 0.5044 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1281, allocations: 167.1 kB / 0.5046 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008015/0.1289, allocations: 0.673 MB / 0.5052 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1289, allocations: 0 / 0.5052 GB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1289, allocations: 0 / 0.5052 GB, free: 9.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1289, allocations: 0 / 0.5052 GB, free: 9.379 MB / 382.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 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.001815/0.1307, allocations: 1.077 MB / 0.5063 GB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1308, allocations: 8.031 kB / 0.5063 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1309, allocations: 52.61 kB / 0.5063 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.1313, allocations: 270.3 kB / 0.5066 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.1314, allocations: 33.36 kB / 0.5066 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.1314, allocations: 40.38 kB / 0.5067 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.1323, allocations: 484 kB / 0.5071 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1323, allocations: 192 / 0.5071 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.1324, allocations: 19.92 kB / 0.5071 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.1324, allocations: 15.98 kB / 0.5072 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.1329, allocations: 263.7 kB / 0.5074 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.1345, allocations: 1.152 MB / 0.5085 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006079/0.1351, allocations: 282.2 kB / 0.5088 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.1354, allocations: 151.3 kB / 0.509 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1354, allocations: 4 kB / 0.509 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.1358, allocations: 259.7 kB / 0.5092 GB, free: 5.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.1358, allocations: 0 / 0.5092 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001146/0.137, allocations: 0.5894 MB / 0.5098 GB, free: 4.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.1371, allocations: 152.4 kB / 0.5099 GB, free: 4.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.1374, allocations: 254.8 kB / 0.5102 GB, free: 4.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.1375, allocations: 41.7 kB / 0.5102 GB, free: 3.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1377, allocations: 208.7 kB / 0.5104 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1378, allocations: 107.2 kB / 0.5105 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.138, allocations: 126.3 kB / 0.5106 GB, free: 3.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.1382, allocations: 350.7 kB / 0.511 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1384, allocations: 125.2 kB / 0.5111 GB, free: 3.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.1389, allocations: 333.6 kB / 0.5114 GB, free: 2.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.1396, allocations: 0.4982 MB / 0.5119 GB, free: 2.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1396, allocations: 7.938 kB / 0.5119 GB, free: 2.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008806/0.1405, allocations: 497.6 kB / 0.5124 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.1405, allocations: 14.66 kB / 0.5124 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1405, allocations: 4 kB / 0.5124 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.1405, allocations: 12 kB / 0.5124 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1408, allocations: 83.77 kB / 0.5125 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.1408, allocations: 12 kB / 0.5125 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.141, allocations: 43.73 kB / 0.5125 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.1411, allocations: 27.98 kB / 0.5126 GB, free: 1.348 MB / 382.1 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.0003503/0.1414, allocations: 249.6 kB / 0.5128 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/0.1415, allocations: 31.8 kB / 0.5128 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.142, allocations: 243.3 kB / 0.5131 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.142, allocations: 4 kB / 0.5131 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.142, allocations: 0 / 0.5131 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.142, allocations: 3.984 kB / 0.5131 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2241/0.3662, allocations: 0.8896 MB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3662, allocations: 1.094 kB / 0.5139 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.3663, allocations: 20.08 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3663, allocations: 1.188 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.3663, allocations: 13.06 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3663, allocations: 1.188 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3663, allocations: 2.156 kB / 0.514 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.3671, allocations: 0.6637 MB / 0.5146 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.3672, allocations: 32.03 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3672, allocations: 7.594 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.3674, allocations: 6.891 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3674, allocations: 28.47 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.3675, allocations: 20.16 kB / 0.5147 GB, free: 20.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.602e-05/0.3676, allocations: 144.4 kB / 0.5148 GB, free: 20.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3676, allocations: 0.5938 kB / 0.5148 GB, free: 20.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000618/0.3682, allocations: 160.1 kB / 0.515 GB, free: 20.8 MB / 382.1 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.000807/0.369, allocations: 362.3 kB / 0.5153 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.3696, allocations: 356.7 kB / 0.5157 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3696, allocations: 0 / 0.5157 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.3698, allocations: 149.4 kB / 0.5158 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.3704, allocations: 79.64 kB / 0.5159 GB, free: 20.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3715, allocations: 0.7316 MB / 0.5166 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3717, allocations: 204.2 kB / 0.5168 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.3718, allocations: 27.08 kB / 0.5168 GB, free: 20.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3718, allocations: 0 / 0.5168 GB, free: 20.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01042/0.3822, allocations: 6.224 MB / 0.5229 GB, free: 19.61 MB / 382.1 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/jenkins1/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/jenkins1/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' 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 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: 4.325683898292482] Failed to read output from testmodel.py, exit status != 0: 0.3911292366683483 0.404050632 0.272251887 Calling exit ...