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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 103.5 kB / 16.45 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 183.6 kB / 17.38 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06239/0.06239, allocations: 12.05 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 419.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1044, allocations: 52.32 MB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005131/0.1095, allocations: 3.141 MB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1115, allocations: 0.9888 MB / 476 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.1118, allocations: 7.938 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.1123, allocations: 110.9 kB / 476.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1127, allocations: 103.2 kB / 476.2 MB, free: 8.965 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0008726/0.1136, allocations: 283.2 kB / 476.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000652/0.1143, allocations: 498.7 kB / 477 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.1147, allocations: 251.9 kB / 477.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003396/0.1151, allocations: 251 kB / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.1155, allocations: 294.7 kB / 477.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1156, allocations: 59.98 kB / 477.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.116, allocations: 223.8 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1162, allocations: 167.5 kB / 478.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.1165, allocations: 266.4 kB / 478.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.1175, allocations: 0.7859 MB / 479.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1175, allocations: 3.938 kB / 479.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1176, allocations: 0 / 479.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.1176, allocations: 0 / 479.3 MB, free: 5.914 MB / 350.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.002405/0.12, allocations: 1.273 MB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1201, allocations: 8.031 kB / 480.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1202, allocations: 82.7 kB / 480.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.1204, allocations: 60.56 kB / 480.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.1209, allocations: 371.9 kB / 481.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.1209, allocations: 29.36 kB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.121, allocations: 44.36 kB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.1218, allocations: 476.1 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1219, allocations: 11.88 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1219, allocations: 19.94 kB / 481.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1219, allocations: 8 kB / 481.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004861/0.1224, allocations: 265.3 kB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1243, allocations: 1.394 MB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.1249, allocations: 310.3 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1252, allocations: 154.3 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.1252, allocations: 8.078 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.1256, allocations: 256.7 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.506e-06/0.1256, allocations: 0 / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001191/0.1268, allocations: 0.583 MB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.127, allocations: 160.5 kB / 484.7 MB, free: 104 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.1276, allocations: 409.5 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.1276, allocations: 45.69 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.1278, allocations: 240.7 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.128, allocations: 103.2 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.1281, allocations: 122.2 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1283, allocations: 358.7 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.1286, allocations: 133 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.129, allocations: 326.4 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.1297, allocations: 492.5 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.1297, allocations: 0 / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008778/0.1306, allocations: 0.4974 MB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1306, allocations: 15.94 kB / 487.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1306, allocations: 8 kB / 487.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1307, allocations: 8 kB / 487.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1309, allocations: 79.83 kB / 487.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.131, allocations: 12.38 kB / 487.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1312, allocations: 35.78 kB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.1312, allocations: 24 kB / 487.6 MB, free: 13.02 MB / 366.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.0002939/0.1315, allocations: 246.7 kB / 487.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.1316, allocations: 43.72 kB / 487.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.1321, allocations: 244.5 kB / 488.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1321, allocations: 4 kB / 488.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1321, allocations: 0 / 488.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1321, allocations: 12.02 kB / 488.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1336, allocations: 1.082 MB / 489.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1336, allocations: 0 / 489.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1337, allocations: 11.98 kB / 489.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1337, allocations: 4 kB / 489.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.1337, allocations: 15.92 kB / 489.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1338, allocations: 4 kB / 489.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1338, allocations: 4.141 kB / 489.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.1347, allocations: 0.6803 MB / 489.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.1348, allocations: 112.8 kB / 490 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.1348, allocations: 15.92 kB / 490.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.135, allocations: 4 kB / 490.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1351, allocations: 23.97 kB / 490.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.1351, allocations: 19.98 kB / 490.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.1354, allocations: 231.2 kB / 490.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1354, allocations: 3.938 kB / 490.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006746/0.136, allocations: 167.5 kB / 490.5 MB, free: 10 MB / 366.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.002072/0.1381, allocations: 1.522 MB / 492 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.1389, allocations: 364.1 kB / 492.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1389, allocations: 0 / 492.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.1391, allocations: 180 kB / 492.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.1399, allocations: 118.2 kB / 492.7 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/0.1451, allocations: 3.937 MB / 496.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.1455, allocations: 0.8385 MB / 497.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.1457, allocations: 58.92 kB / 497.5 MB, free: 2.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.1459, allocations: 151.4 kB / 497.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.146, allocations: 0 / 497.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.175, allocations: 10.87 MB / 0.4966 GB, free: 7.922 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmutmp/sources/../binaries/linux64 -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libIPHlpApi.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libpaho-mqtt3cs.a -- Linking /usr/lib/x86_64-linux-gnu/libpthread.a -- Linking ss-NOTFOUND -- Linking /usr/lib/x86_64-linux-gnu/libcrypto.so -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libIPHlpApi.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libpaho-mqtt3cs.a;/usr/lib/x86_64-linux-gnu/libpthread.a;ss-NOTFOUND;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: ss linked by target "Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmutmp/sources -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER CMake Generate step failed. Build files cannot be regenerated correctly.