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.001764/0.001764, allocations: 123.8 kB / 17.89 MB, free: 5.027 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.002146/0.002146, allocations: 211.2 kB / 20.84 MB, free: 2.082 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.582/1.582, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.06172/0.06172, allocations: 12.22 MB / 322.5 MB, free: 13.27 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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 62.84 kB / 448.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1102, allocations: 56.37 MB / 0.4933 GB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.004281/0.1145, allocations: 3.167 MB / 0.4964 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1164, allocations: 0.9926 MB / 0.4974 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1165, allocations: 15.88 kB / 0.4974 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1168, allocations: 106.9 kB / 0.4975 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1171, allocations: 111.2 kB / 0.4976 GB, free: 13.24 MB / 366.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.0007765/0.1179, allocations: 279.2 kB / 0.4979 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.1185, allocations: 0.4948 MB / 0.4984 GB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1189, allocations: 179.9 kB / 0.4985 GB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.1192, allocations: 251.1 kB / 0.4988 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1196, allocations: 298.7 kB / 0.4991 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.745e-05/0.1196, allocations: 52 kB / 0.4991 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.12, allocations: 227.8 kB / 0.4993 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.1202, allocations: 179.5 kB / 0.4995 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.1205, allocations: 258.5 kB / 0.4998 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.1214, allocations: 0.782 MB / 0.5005 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1214, allocations: 3.984 kB / 0.5005 GB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1214, allocations: 0 / 0.5005 GB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1214, allocations: 3.938 kB / 0.5005 GB, free: 10.25 MB / 366.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.002018/0.1235, allocations: 1.265 MB / 0.5018 GB, free: 8.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1235, allocations: 11.97 kB / 0.5018 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.635e-05/0.1235, allocations: 25.12 kB / 0.5018 GB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.1236, allocations: 78.7 kB / 0.5019 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1238, allocations: 68.5 kB / 0.5019 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.1243, allocations: 363.9 kB / 0.5023 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.1244, allocations: 37.36 kB / 0.5023 GB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.1244, allocations: 36.38 kB / 0.5024 GB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.1252, allocations: 487.8 kB / 0.5028 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1253, allocations: 0 / 0.5028 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.1253, allocations: 19.98 kB / 0.5028 GB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1253, allocations: 12 kB / 0.5028 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.1258, allocations: 259.8 kB / 0.5031 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1277, allocations: 1.39 MB / 0.5045 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.1282, allocations: 282.3 kB / 0.5047 GB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.1285, allocations: 143.4 kB / 0.5049 GB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1285, allocations: 8.062 kB / 0.5049 GB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.1289, allocations: 260.5 kB / 0.5051 GB, free: 5.238 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.1289, allocations: 3.938 kB / 0.5051 GB, free: 5.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001153/0.1301, allocations: 0.5927 MB / 0.5057 GB, free: 4.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1302, allocations: 152.5 kB / 0.5058 GB, free: 4.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.1308, allocations: 405.5 kB / 0.5062 GB, free: 4.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.1308, allocations: 45.69 kB / 0.5063 GB, free: 4.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.131, allocations: 248.7 kB / 0.5065 GB, free: 3.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1311, allocations: 103.2 kB / 0.5066 GB, free: 3.652 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.1313, allocations: 122.2 kB / 0.5067 GB, free: 3.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1315, allocations: 358.7 kB / 0.5071 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.1318, allocations: 125 kB / 0.5072 GB, free: 3.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1322, allocations: 334.4 kB / 0.5075 GB, free: 2.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.1329, allocations: 484.4 kB / 0.508 GB, free: 2.066 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1329, allocations: 0 / 0.508 GB, free: 2.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009157/0.1338, allocations: 0.5083 MB / 0.5085 GB, free: 1.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1338, allocations: 8.812 kB / 0.5085 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1338, allocations: 4 kB / 0.5085 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.1339, allocations: 16 kB / 0.5085 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1341, allocations: 71.83 kB / 0.5086 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.1341, allocations: 15.94 kB / 0.5086 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1343, allocations: 39.67 kB / 0.5086 GB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.1344, allocations: 35.92 kB / 0.5086 GB, free: 1.363 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.0003154/0.1347, allocations: 235.1 kB / 0.5089 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.1348, allocations: 43.75 kB / 0.5089 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.1353, allocations: 244.5 kB / 0.5091 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1353, allocations: 4 kB / 0.5091 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.1353, allocations: 4 kB / 0.5092 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1353, allocations: 0 / 0.5092 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1369, allocations: 1.089 MB / 0.5102 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1369, allocations: 4 kB / 0.5102 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.137, allocations: 12 kB / 0.5102 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.137, allocations: 0 / 0.5102 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.137, allocations: 15.92 kB / 0.5102 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.137, allocations: 0 / 0.5102 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.137, allocations: 480 / 0.5102 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.138, allocations: 0.6726 MB / 0.5109 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1381, allocations: 120.8 kB / 0.511 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.1381, allocations: 7.938 kB / 0.511 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1383, allocations: 7.984 kB / 0.511 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1384, allocations: 19.98 kB / 0.5111 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.1384, allocations: 24.03 kB / 0.5111 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.1387, allocations: 235 kB / 0.5113 GB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1387, allocations: 0 / 0.5113 GB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007553/0.1395, allocations: 175.5 kB / 0.5115 GB, free: 14.36 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.002726/0.1422, allocations: 1.515 MB / 0.5129 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007888/0.143, allocations: 347 kB / 0.5133 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.143, allocations: 4.25 kB / 0.5133 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.1433, allocations: 151.8 kB / 0.5134 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/0.1441, allocations: 131.5 kB / 0.5136 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.1498, allocations: 3.922 MB / 0.5174 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.1503, allocations: 0.8424 MB / 0.5182 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.1505, allocations: 62.91 kB / 0.5183 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.1508, allocations: 147.4 kB / 0.5184 GB, free: 7.039 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1508, allocations: 0 / 0.5184 GB, free: 7.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.1822, allocations: 10.96 MB / 0.5291 GB, free: 12.18 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- 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 master/Resources/Library/linux64/libIPHlpApi.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libpaho-mqtt3cs.a -- Linking pthread-NOTFOUND -- Linking ss-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libcrypto.a -- CVODE_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libIPHlpApi.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libpaho-mqtt3cs.a;pthread-NOTFOUND;ss-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libcrypto.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.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: pthread 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 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 Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.340078513021581] Failed to read output from testmodel.py, exit status != 0: 0.5836059650173411 0.6110237620000001 0.48471969800000003 Calling exit ...