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.0008985/0.0008985, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8574/0.8574, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03388/0.03388, allocations: 9.142 MB / 269.9 MB, free: 4.453 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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 1.422e-06/1.422e-06, allocations: 0 / 398.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.797e-05, allocations: 6.219 kB / 398.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.003127/0.003145, allocations: 3.171 MB / 401.5 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004406, allocations: 0.9535 MB / 402.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.004569, allocations: 11.88 kB / 402.5 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.004827, allocations: 106.9 kB / 402.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.005052, allocations: 123.1 kB / 402.7 MB, free: 12.34 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo: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.0005807/0.005633, allocations: 294.8 kB / 403 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.006015, allocations: 0.4986 MB / 403.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.006229, allocations: 140.4 kB / 403.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.006478, allocations: 335.3 kB / 403.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.006696, allocations: 231.4 kB / 404.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.006749, allocations: 52 kB / 404.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.006998, allocations: 231.6 kB / 404.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.007125, allocations: 175.4 kB / 404.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.007237, allocations: 167.5 kB / 404.8 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.007863, allocations: 0.8059 MB / 405.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007866, allocations: 3.984 kB / 405.6 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007867, allocations: 0 / 405.6 MB, free: 9.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.007873, allocations: 0 / 405.6 MB, free: 9.43 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg 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.001227/0.0091, allocations: 1.176 MB / 406.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.009131, allocations: 8.031 kB / 406.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.009216, allocations: 64.56 kB / 406.8 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.009497, allocations: 309.3 kB / 407.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.009528, allocations: 37.36 kB / 407.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.00956, allocations: 32.38 kB / 407.2 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.01005, allocations: 488 kB / 407.7 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.01006, allocations: 4.188 kB / 407.7 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01009, allocations: 12.38 kB / 407.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.01009, allocations: 8.375 kB / 407.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.01039, allocations: 271.6 kB / 408 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.01133, allocations: 1.195 MB / 409.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.01169, allocations: 282.2 kB / 409.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.01182, allocations: 143.4 kB / 409.6 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01184, allocations: 8 kB / 409.6 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.01207, allocations: 256.6 kB / 409.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.693e-06/0.01207, allocations: 0 / 409.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007028/0.01278, allocations: 0.6027 MB / 410.4 MB, free: 4.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.01284, allocations: 148.5 kB / 410.6 MB, free: 4.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.01316, allocations: 409.5 kB / 411 MB, free: 3.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.01319, allocations: 45.7 kB / 411 MB, free: 3.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.01332, allocations: 252.6 kB / 411.3 MB, free: 3.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.01338, allocations: 95.27 kB / 411.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.01349, allocations: 122.1 kB / 411.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.01359, allocations: 354.8 kB / 411.8 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.01375, allocations: 124.9 kB / 412 MB, free: 2.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.01398, allocations: 325.7 kB / 412.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.01438, allocations: 496.4 kB / 412.8 MB, free: 1.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01438, allocations: 0 / 412.8 MB, free: 1.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005116/0.01489, allocations: 0.4975 MB / 413.3 MB, free: 1.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01491, allocations: 14.5 kB / 413.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.01492, allocations: 11.94 kB / 413.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.01493, allocations: 11.98 kB / 413.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.01506, allocations: 75.84 kB / 413.4 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.01508, allocations: 15.92 kB / 413.4 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01518, allocations: 43.72 kB / 413.4 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.01521, allocations: 24 kB / 413.4 MB, free: 1.055 MB / 378.7 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.000175/0.01538, allocations: 238.8 kB / 413.7 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.01543, allocations: 47.66 kB / 413.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.01569, allocations: 248.4 kB / 414 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.0157, allocations: 4 kB / 414 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.0157, allocations: 4 kB / 414 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.01571, allocations: 3.984 kB / 414 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.0165, allocations: 0.9194 MB / 414.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01651, allocations: 0 / 414.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.01653, allocations: 16 kB / 414.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01654, allocations: 7.984 kB / 414.9 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.01655, allocations: 7.984 kB / 414.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01656, allocations: 4 kB / 414.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.01656, allocations: 7.922 kB / 414.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.01707, allocations: 0.6745 MB / 415.6 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.01709, allocations: 35.7 kB / 415.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01712, allocations: 12.14 kB / 415.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.0172, allocations: 11.94 kB / 415.7 MB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01724, allocations: 19.91 kB / 415.7 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.01726, allocations: 19.98 kB / 415.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.01742, allocations: 243 kB / 416 MB, free: 14.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01742, allocations: 0 / 416 MB, free: 14.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.01779, allocations: 179.3 kB / 416.1 MB, free: 14.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 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.0006789/0.01847, allocations: 437 kB / 416.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004068/0.01888, allocations: 355.7 kB / 416.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01888, allocations: 5.625 kB / 416.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.01904, allocations: 155.7 kB / 417.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.01947, allocations: 131.8 kB / 417.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/0.0204, allocations: 0.8328 MB / 418 MB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.02055, allocations: 231.7 kB / 418.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.02061, allocations: 44.47 kB / 418.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02061, allocations: 0 / 418.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of Templates: time 0.006629/0.02724, allocations: 7.5 MB / 425.8 MB, free: 4.684 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_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' 452 | strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); | ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument 144 | extern char *strncpy (char *__restrict __dest, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTTCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.3691450655460358] Failed to read output from testmodel.py, exit status != 0: 0.03197585232555866 0.041421892 0.031893369000000005 Calling exit ...