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.001939/0.001939, 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.002311/0.002311, allocations: 210.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.543/1.543, allocations: 230.6 MB / 257.6 MB, free: 7.789 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.06387/0.06387, allocations: 12.24 MB / 326.2 MB, free: 7.031 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.00213/0.00213, allocations: 63.89 kB / 454.5 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.122, allocations: 56.39 MB / 0.499 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005837/0.1279, allocations: 3.169 MB / 0.5021 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1299, allocations: 0.9538 MB / 0.503 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.13, allocations: 11.88 kB / 0.503 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1304, allocations: 110.9 kB / 0.5031 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1307, allocations: 119.2 kB / 0.5032 GB, free: 11.45 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.0008921/0.1316, allocations: 287.2 kB / 0.5035 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.1322, allocations: 494.8 kB / 0.504 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.1325, allocations: 148.1 kB / 0.5041 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1328, allocations: 251.1 kB / 0.5043 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.1332, allocations: 278.7 kB / 0.5046 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-05/0.1333, allocations: 52 kB / 0.5047 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.1336, allocations: 227.8 kB / 0.5049 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.1338, allocations: 171.5 kB / 0.505 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.134, allocations: 206.8 kB / 0.5052 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009247/0.135, allocations: 0.7898 MB / 0.506 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.135, allocations: 7.938 kB / 0.506 GB, free: 8.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.135, allocations: 0 / 0.506 GB, free: 8.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.135, allocations: 0 / 0.506 GB, free: 8.566 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.001915/0.1369, allocations: 1.18 MB / 0.5072 GB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1369, allocations: 8.031 kB / 0.5072 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.1371, allocations: 64.52 kB / 0.5072 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1376, allocations: 314 kB / 0.5075 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.1376, allocations: 33.36 kB / 0.5076 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.1377, allocations: 48.36 kB / 0.5076 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.1385, allocations: 476.1 kB / 0.5081 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1385, allocations: 4.125 kB / 0.5081 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1385, allocations: 27.92 kB / 0.5081 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1385, allocations: 8 kB / 0.5081 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.139, allocations: 257.2 kB / 0.5084 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1406, allocations: 1.187 MB / 0.5095 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.1412, allocations: 286.3 kB / 0.5098 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.1414, allocations: 145.8 kB / 0.5099 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1415, allocations: 11.98 kB / 0.5099 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.1419, allocations: 260.6 kB / 0.5102 GB, free: 4.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.043e-06/0.1419, allocations: 0 / 0.5102 GB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001183/0.1431, allocations: 0.5908 MB / 0.5108 GB, free: 3.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.1432, allocations: 152.5 kB / 0.5109 GB, free: 3.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.1437, allocations: 417.4 kB / 0.5113 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.1438, allocations: 45.69 kB / 0.5113 GB, free: 2.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.144, allocations: 236.8 kB / 0.5116 GB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1441, allocations: 103.2 kB / 0.5117 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.1443, allocations: 126.1 kB / 0.5118 GB, free: 2.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1445, allocations: 358.7 kB / 0.5121 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1447, allocations: 124.9 kB / 0.5123 GB, free: 1.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.1451, allocations: 321.8 kB / 0.5126 GB, free: 1.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.1458, allocations: 484.4 kB / 0.513 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1458, allocations: 4 kB / 0.513 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009116/0.1467, allocations: 0.4967 MB / 0.5135 GB, free: 396 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1467, allocations: 8 kB / 0.5135 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1467, allocations: 8.812 kB / 0.5135 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1468, allocations: 8 kB / 0.5135 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.147, allocations: 87.77 kB / 0.5136 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/0.1471, allocations: 8 kB / 0.5136 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1473, allocations: 43.72 kB / 0.5137 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1473, allocations: 24 kB / 0.5137 GB, free: 208 kB / 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.2077/0.355, allocations: 238.7 kB / 0.5139 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3552, allocations: 42.17 kB / 0.514 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.3557, allocations: 251.8 kB / 0.5142 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3557, allocations: 3.906 kB / 0.5142 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3557, allocations: 1.625 kB / 0.5142 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3557, allocations: 5.422 kB / 0.5142 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.357, allocations: 0.9263 MB / 0.5151 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.357, allocations: 3.25 kB / 0.5151 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3571, allocations: 11.75 kB / 0.5151 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3571, allocations: 6.938 kB / 0.5151 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.3571, allocations: 20.28 kB / 0.5152 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3571, allocations: 0 / 0.5152 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3571, allocations: 1.781 kB / 0.5152 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/0.3579, allocations: 0.6751 MB / 0.5158 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.358, allocations: 38.34 kB / 0.5159 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.358, allocations: 17.14 kB / 0.5159 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.3582, allocations: 4.969 kB / 0.5159 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.3582, allocations: 21.34 kB / 0.5159 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.3583, allocations: 20.77 kB / 0.5159 GB, free: 20.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3585, allocations: 232 kB / 0.5161 GB, free: 20.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3585, allocations: 0 / 0.5161 GB, free: 20.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007352/0.3592, allocations: 173.1 kB / 0.5163 GB, free: 20.39 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.001398/0.3606, allocations: 447.2 kB / 0.5167 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006744/0.3613, allocations: 356.2 kB / 0.5171 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3613, allocations: 1.969 kB / 0.5171 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.3615, allocations: 149.5 kB / 0.5172 GB, free: 20.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.3623, allocations: 134.7 kB / 0.5173 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3638, allocations: 0.8378 MB / 0.5182 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.364, allocations: 234.2 kB / 0.5184 GB, free: 19.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.3641, allocations: 35.22 kB / 0.5184 GB, free: 19.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3641, allocations: 0 / 0.5184 GB, free: 19.75 MB / 382.1 MB Notification: Performance of Templates: time 0.0137/0.3778, allocations: 7.465 MB / 0.5257 GB, free: 18.95 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 -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_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.371496289037168] Failed to read output from testmodel.py, exit status != 0: 0.3865719372406602 0.399368953 0.261649205 Calling exit ...