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.001385/0.001385, allocations: 105 kB / 20.49 MB, free: 1.457 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.001614/0.001614, allocations: 217 kB / 23.8 MB, free: 4.652 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.428/1.428, allocations: 230.6 MB / 257.6 MB, free: 8.027 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.06361/0.06361, allocations: 12.22 MB / 326.2 MB, free: 7.273 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.002214/0.002214, allocations: 59.89 kB / 454.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1108, allocations: 56.4 MB / 0.4991 GB, free: 24 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.005219/0.116, allocations: 3.023 MB / 0.502 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1179, allocations: 0.9223 MB / 0.5029 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.1182, allocations: 11.88 kB / 0.5029 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1185, allocations: 79.2 kB / 0.503 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.1188, allocations: 59.52 kB / 0.503 GB, free: 11.91 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.000972/0.1198, allocations: 295.1 kB / 0.5033 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005949/0.1204, allocations: 410.8 kB / 0.5037 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.1207, allocations: 139.5 kB / 0.5039 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.121, allocations: 195.4 kB / 0.504 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.1215, allocations: 246.9 kB / 0.5043 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1216, allocations: 44 kB / 0.5043 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.122, allocations: 207.8 kB / 0.5045 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1222, allocations: 151.5 kB / 0.5047 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1224, allocations: 214.8 kB / 0.5049 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000942/0.1233, allocations: 0.6691 MB / 0.5055 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1233, allocations: 8 kB / 0.5055 GB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1233, allocations: 0 / 0.5055 GB, free: 9.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.1234, allocations: 3.984 kB / 0.5055 GB, free: 9.355 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.001916/0.1253, allocations: 1.066 MB / 0.5066 GB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1253, allocations: 12.03 kB / 0.5066 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1255, allocations: 52.61 kB / 0.5066 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.1259, allocations: 266.3 kB / 0.5069 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.126, allocations: 33.36 kB / 0.5069 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.126, allocations: 44.38 kB / 0.507 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.1269, allocations: 487.9 kB / 0.5074 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1269, allocations: 192 / 0.5074 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.1269, allocations: 19.94 kB / 0.5074 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1269, allocations: 12 kB / 0.5075 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.1275, allocations: 266.4 kB / 0.5077 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1294, allocations: 1.323 MB / 0.509 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.1299, allocations: 278.3 kB / 0.5093 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.1302, allocations: 139.4 kB / 0.5094 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.1302, allocations: 16 kB / 0.5094 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.1306, allocations: 255.7 kB / 0.5097 GB, free: 4.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.594e-06/0.1306, allocations: 0 / 0.5097 GB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001171/0.1318, allocations: 0.5886 MB / 0.5102 GB, free: 4.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.1319, allocations: 160.5 kB / 0.5104 GB, free: 4.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.1322, allocations: 246.9 kB / 0.5106 GB, free: 3.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.1323, allocations: 45.7 kB / 0.5107 GB, free: 3.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1324, allocations: 200.7 kB / 0.5109 GB, free: 3.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.1326, allocations: 115.1 kB / 0.511 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.1327, allocations: 126.3 kB / 0.5111 GB, free: 3.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1329, allocations: 346.7 kB / 0.5114 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1332, allocations: 129.2 kB / 0.5115 GB, free: 2.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.1336, allocations: 333 kB / 0.5119 GB, free: 2.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.1343, allocations: 0.4943 MB / 0.5123 GB, free: 1.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.1343, allocations: 4 kB / 0.5123 GB, free: 1.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008879/0.1352, allocations: 0.4966 MB / 0.5128 GB, free: 1.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1352, allocations: 8 kB / 0.5128 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.1352, allocations: 8.875 kB / 0.5128 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1352, allocations: 8 kB / 0.5129 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.1355, allocations: 87.77 kB / 0.5129 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.1355, allocations: 12 kB / 0.513 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.1357, allocations: 39.73 kB / 0.513 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.1358, allocations: 27.98 kB / 0.513 GB, free: 1.152 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.0003275/0.1361, allocations: 253.6 kB / 0.5133 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.1362, allocations: 31.8 kB / 0.5133 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.1366, allocations: 234.2 kB / 0.5135 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1366, allocations: 8 kB / 0.5135 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1366, allocations: 0 / 0.5135 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1367, allocations: 3.984 kB / 0.5135 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.193/0.3297, allocations: 1.003 MB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3297, allocations: 3.469 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.3298, allocations: 17.81 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3298, allocations: 0.9844 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.3298, allocations: 14.39 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3298, allocations: 5.438 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3298, allocations: 2.984 kB / 0.5145 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.3305, allocations: 0.657 MB / 0.5152 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.3306, allocations: 32.48 kB / 0.5152 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.3306, allocations: 10.53 kB / 0.5152 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3308, allocations: 7.344 kB / 0.5152 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.3308, allocations: 26.8 kB / 0.5153 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.3308, allocations: 24.11 kB / 0.5153 GB, free: 20.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.903e-05/0.3309, allocations: 141.6 kB / 0.5154 GB, free: 20.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3309, allocations: 0 / 0.5154 GB, free: 20.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00064/0.3316, allocations: 157.6 kB / 0.5156 GB, free: 20.82 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.0007905/0.3324, allocations: 349.8 kB / 0.5159 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.333, allocations: 361.1 kB / 0.5162 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.333, allocations: 0 / 0.5162 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.3333, allocations: 149.6 kB / 0.5164 GB, free: 20.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.3339, allocations: 80.98 kB / 0.5165 GB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.3351, allocations: 0.7171 MB / 0.5172 GB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3354, allocations: 0.8142 MB / 0.518 GB, free: 19.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.3355, allocations: 31.5 kB / 0.518 GB, free: 19.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3355, allocations: 0 / 0.518 GB, free: 19.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01053/0.346, allocations: 6.163 MB / 0.524 GB, free: 19.05 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -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.392801376059651] Failed to read output from testmodel.py, exit status != 0: 0.3549567658919841 0.36695614800000004 0.24082650400000002 Calling exit ...