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.001464/0.001464, allocations: 109.5 kB / 19.74 MB, free: 2.02 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.001621/0.001621, allocations: 215.5 kB / 23.05 MB, free: 4.949 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.06212/0.06212, allocations: 12.22 MB / 325.5 MB, free: 7.23 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 453.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 56.4 MB / 0.4978 GB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.007055/0.1495, allocations: 3.27 MB / 0.501 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1522, allocations: 1 MB / 0.502 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.1525, allocations: 11.88 kB / 0.502 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.1529, allocations: 110.9 kB / 0.5021 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.1533, allocations: 107.3 kB / 0.5022 GB, free: 11.96 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.001061/0.1543, allocations: 287.2 kB / 0.5025 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008253/0.1552, allocations: 0.4986 MB / 0.503 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.1555, allocations: 148.5 kB / 0.5031 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.1559, allocations: 243.2 kB / 0.5034 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.1564, allocations: 310.7 kB / 0.5037 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1565, allocations: 52 kB / 0.5037 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.157, allocations: 243.8 kB / 0.5039 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.1573, allocations: 171.5 kB / 0.5041 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.1576, allocations: 262.5 kB / 0.5044 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1588, allocations: 0.782 MB / 0.5051 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1588, allocations: 4 kB / 0.5051 GB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1588, allocations: 0 / 0.5051 GB, free: 8.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1588, allocations: 0 / 0.5051 GB, free: 8.977 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.002404/0.1612, allocations: 1.174 MB / 0.5063 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1613, allocations: 8.031 kB / 0.5063 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.1614, allocations: 90.64 kB / 0.5064 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.1616, allocations: 64.52 kB / 0.5064 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.1622, allocations: 318 kB / 0.5067 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.1623, allocations: 37.3 kB / 0.5068 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.1623, allocations: 40.38 kB / 0.5068 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1634, allocations: 484 kB / 0.5073 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1634, allocations: 3.938 kB / 0.5073 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.1635, allocations: 12 kB / 0.5073 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.1635, allocations: 15.94 kB / 0.5073 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.1641, allocations: 263.8 kB / 0.5075 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.1664, allocations: 1.362 MB / 0.5089 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.1672, allocations: 278.3 kB / 0.5091 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.1675, allocations: 143.4 kB / 0.5093 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.1676, allocations: 4 kB / 0.5093 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.168, allocations: 260.7 kB / 0.5095 GB, free: 4.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.016e-06/0.168, allocations: 4 kB / 0.5095 GB, free: 4.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001485/0.1695, allocations: 0.5869 MB / 0.5101 GB, free: 3.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.1697, allocations: 156.4 kB / 0.5103 GB, free: 3.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.1704, allocations: 409.5 kB / 0.5106 GB, free: 3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.1705, allocations: 45.69 kB / 0.5107 GB, free: 2.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.1707, allocations: 240.7 kB / 0.5109 GB, free: 2.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1709, allocations: 103.2 kB / 0.511 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.1711, allocations: 122.2 kB / 0.5111 GB, free: 2.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.1713, allocations: 362.7 kB / 0.5115 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.1716, allocations: 128.9 kB / 0.5116 GB, free: 1.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.1722, allocations: 317.8 kB / 0.5119 GB, free: 1.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008988/0.1731, allocations: 488.6 kB / 0.5124 GB, free: 1.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.1731, allocations: 4 kB / 0.5124 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001041/0.1741, allocations: 0.4969 MB / 0.5129 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1741, allocations: 10.66 kB / 0.5129 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/0.1742, allocations: 4 kB / 0.5129 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.1742, allocations: 12.16 kB / 0.5129 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.1746, allocations: 88.33 kB / 0.513 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.1747, allocations: 12 kB / 0.513 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1749, allocations: 43.73 kB / 0.513 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.1749, allocations: 28.38 kB / 0.5131 GB, free: 336 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.0004313/0.1753, allocations: 230.8 kB / 0.5133 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.1755, allocations: 43.75 kB / 0.5133 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2576/0.433, allocations: 248.8 kB / 0.5136 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.433, allocations: 7.766 kB / 0.5136 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4331, allocations: 1.281 kB / 0.5136 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4331, allocations: 4.547 kB / 0.5136 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.4346, allocations: 1.047 MB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4346, allocations: 1.969 kB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.4346, allocations: 18.97 kB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4346, allocations: 3.406 kB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4347, allocations: 7.344 kB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4347, allocations: 3.062 kB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4347, allocations: 0.5312 kB / 0.5146 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.4354, allocations: 0.6792 MB / 0.5153 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.4354, allocations: 36.3 kB / 0.5153 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.4355, allocations: 11.72 kB / 0.5153 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4356, allocations: 8.562 kB / 0.5153 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4357, allocations: 25.09 kB / 0.5154 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.4357, allocations: 18.28 kB / 0.5154 GB, free: 20.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.4359, allocations: 232.8 kB / 0.5156 GB, free: 20.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4359, allocations: 1.25 kB / 0.5156 GB, free: 20.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000689/0.4366, allocations: 178.5 kB / 0.5158 GB, free: 20.64 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.002661/0.4393, allocations: 1.517 MB / 0.5173 GB, free: 19.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.4399, allocations: 365.8 kB / 0.5176 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4399, allocations: 0 / 0.5176 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.4402, allocations: 153.1 kB / 0.5177 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.4409, allocations: 123.8 kB / 0.5179 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.4452, allocations: 3.906 MB / 0.5217 GB, free: 17.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.4455, allocations: 0.8481 MB / 0.5225 GB, free: 17.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000174/0.4457, allocations: 56.39 kB / 0.5226 GB, free: 17.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.4459, allocations: 149 kB / 0.5227 GB, free: 17.06 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4459, allocations: 1.156 kB / 0.5227 GB, free: 17.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/0.49, allocations: 11.27 MB / 0.5337 GB, free: 14.21 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '487.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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources/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/487.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: Not linked -- 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 -- 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 \"487\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources ss linked by target \"487\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.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.4938576971180737] Failed to read output from testmodel.py, exit status != 0: 0.8879643010441214 0.902772829 0.740777805 Calling exit ...