Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.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.0016/0.0016, allocations: 109 kB / 20.5 MB, free: 1.453 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.001834/0.001834, allocations: 208.1 kB / 23.8 MB, free: 4.672 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.454/1.454, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.06278/0.06278, allocations: 12.22 MB / 326.2 MB, free: 7.238 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_MQTT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003476/0.003476, allocations: 71.89 kB / 454.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1501, allocations: 56.39 MB / 0.499 GB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.009092/0.1592, allocations: 3.278 MB / 0.5022 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1629, allocations: 0.9927 MB / 0.5032 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.1631, allocations: 15.88 kB / 0.5032 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.1637, allocations: 110.9 kB / 0.5033 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.1642, allocations: 107.3 kB / 0.5034 GB, free: 11.48 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:1294:7-1306:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToMQTT' contains a call to impure function 'Modelica_DeviceDrivers.Communication.MQTT_.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:1284:7-1292:19:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readMQTT' contains a call to impure function 'Modelica_DeviceDrivers.Communication.MQTT_.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.001487/0.1657, allocations: 295.2 kB / 0.5037 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1667, allocations: 0.4987 MB / 0.5042 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.1672, allocations: 144.1 kB / 0.5043 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004615/0.1676, allocations: 247.2 kB / 0.5046 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.1683, allocations: 310.7 kB / 0.5049 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.1685, allocations: 52 kB / 0.5049 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006439/0.1691, allocations: 243.8 kB / 0.5052 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.1694, allocations: 167.5 kB / 0.5053 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.1698, allocations: 254.5 kB / 0.5056 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.1714, allocations: 0.7897 MB / 0.5063 GB, free: 8.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1714, allocations: 3.938 kB / 0.5063 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1714, allocations: 4 kB / 0.5063 GB, free: 8.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.1715, allocations: 0 / 0.5063 GB, free: 8.484 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 mqttSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg mqttReceive.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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003143/0.1746, allocations: 1.178 MB / 0.5075 GB, free: 7.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1746, allocations: 8.031 kB / 0.5075 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.1749, allocations: 68.5 kB / 0.5076 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.1757, allocations: 318 kB / 0.5079 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.1757, allocations: 29.38 kB / 0.5079 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.1758, allocations: 44.36 kB / 0.5079 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1772, allocations: 484 kB / 0.5084 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1773, allocations: 192 / 0.5084 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.1773, allocations: 23.92 kB / 0.5084 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.1774, allocations: 8 kB / 0.5084 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000955/0.1783, allocations: 265 kB / 0.5087 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.1815, allocations: 1.366 MB / 0.51 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1825, allocations: 274.3 kB / 0.5103 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.1829, allocations: 139.4 kB / 0.5104 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.183, allocations: 7.938 kB / 0.5104 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007256/0.1837, allocations: 256.7 kB / 0.5107 GB, free: 3.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/0.1837, allocations: 0 / 0.5107 GB, free: 3.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002152/0.1859, allocations: 0.5909 MB / 0.5112 GB, free: 3.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.186, allocations: 160.4 kB / 0.5114 GB, free: 3.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/0.187, allocations: 409.5 kB / 0.5118 GB, free: 2.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.1871, allocations: 41.7 kB / 0.5118 GB, free: 2.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.1874, allocations: 252.6 kB / 0.5121 GB, free: 2.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1876, allocations: 103.2 kB / 0.5122 GB, free: 2.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.1879, allocations: 118.2 kB / 0.5123 GB, free: 2.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.1882, allocations: 358.7 kB / 0.5126 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.1886, allocations: 124.9 kB / 0.5127 GB, free: 1.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.1894, allocations: 321.8 kB / 0.513 GB, free: 1.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.1906, allocations: 488.4 kB / 0.5135 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1906, allocations: 0 / 0.5135 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001726/0.1923, allocations: 0.5129 MB / 0.514 GB, free: 112 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.1924, allocations: 8 kB / 0.514 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.1924, allocations: 4 kB / 0.514 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/0.1924, allocations: 12 kB / 0.514 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.1929, allocations: 71.84 kB / 0.5141 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2609/0.4537, allocations: 16.78 kB / 0.5141 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.4541, allocations: 38.88 kB / 0.5142 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.4542, allocations: 27.19 kB / 0.5142 GB, free: 20.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,mqttSend.dummy,$PRE.mqttSend.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,mqttReceive.pkgOut.dummy,$PRE.mqttReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,mqttReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,mqttSend.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,mqttSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0003757/0.4545, allocations: 232.6 kB / 0.5144 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.4547, allocations: 46.47 kB / 0.5144 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.4551, allocations: 252.9 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4552, allocations: 6.219 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4552, allocations: 2.844 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4552, allocations: 5.062 kB / 0.5147 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.4565, allocations: 1.045 MB / 0.5157 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4566, allocations: 4.469 kB / 0.5157 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.4566, allocations: 9.188 kB / 0.5157 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.4566, allocations: 8.172 kB / 0.5157 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.4566, allocations: 10.5 kB / 0.5157 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.4567, allocations: 2.469 kB / 0.5158 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4567, allocations: 3.125 kB / 0.5158 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.4574, allocations: 0.6747 MB / 0.5164 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.4575, allocations: 46.17 kB / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.4575, allocations: 9.266 kB / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.4577, allocations: 6.906 kB / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.4577, allocations: 20.2 kB / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.4578, allocations: 27.47 kB / 0.5165 GB, free: 20.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.458, allocations: 225.5 kB / 0.5167 GB, free: 20.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.458, allocations: 3.156 kB / 0.5167 GB, free: 20.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000641/0.4586, allocations: 176.5 kB / 0.5169 GB, free: 20.16 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: 35 (getFloat.pkgOut[1].trigger,$whenCondition1,mqttReceive.pkgOut.dummy,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,mqttReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,mqttSend.bufferSize,mqttSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,mqttSend.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.002252/0.4609, allocations: 431.5 kB / 0.5173 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.4615, allocations: 354 kB / 0.5177 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4615, allocations: 2.344 kB / 0.5177 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.4617, allocations: 153.3 kB / 0.5178 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.4624, allocations: 125.5 kB / 0.5179 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4638, allocations: 0.8371 MB / 0.5187 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.464, allocations: 0.8391 MB / 0.5196 GB, free: 18.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.4641, allocations: 35.11 kB / 0.5196 GB, free: 18.94 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4641, allocations: 0 / 0.5196 GB, free: 18.94 MB / 382.1 MB Notification: Performance of Templates: time 0.0118/0.4759, allocations: 7.378 MB / 0.5268 GB, free: 18.15 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT.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_MQTTCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTTCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTTCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTTFunctions.cpp:6: /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_MQTTCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.288692265981808] Failed to read output from testmodel.py, exit status != 0: 0.4872972881421447 0.495751633 0.32155039300000005 Calling exit ...