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.001425/0.001425, allocations: 101 kB / 20.52 MB, free: 1.449 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.001734/0.001734, allocations: 211.5 kB / 23.84 MB, free: 4.664 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.521/1.521, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.06431/0.06431, allocations: 12.23 MB / 326.2 MB, free: 7.258 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.002547/0.002547, allocations: 63.91 kB / 454.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1424, allocations: 56.4 MB / 0.4986 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005775/0.1482, allocations: 3.252 MB / 0.5018 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1503, allocations: 1 MB / 0.5028 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.1505, allocations: 15.88 kB / 0.5028 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.1508, allocations: 118.9 kB / 0.5029 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1511, allocations: 107.2 kB / 0.503 GB, free: 11.99 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.000888/0.152, allocations: 287.2 kB / 0.5033 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006329/0.1527, allocations: 0.4986 MB / 0.5037 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.153, allocations: 148.5 kB / 0.5039 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.1533, allocations: 247.1 kB / 0.5041 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.1537, allocations: 310.6 kB / 0.5044 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.1538, allocations: 52 kB / 0.5045 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.1542, allocations: 243.8 kB / 0.5047 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1544, allocations: 171.5 kB / 0.5049 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.1546, allocations: 254.5 kB / 0.5051 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1556, allocations: 0.7898 MB / 0.5059 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1557, allocations: 0 / 0.5059 GB, free: 9.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1557, allocations: 0 / 0.5059 GB, free: 9.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1557, allocations: 4 kB / 0.5059 GB, free: 9.004 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.002144/0.1578, allocations: 1.182 MB / 0.507 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.1579, allocations: 8.031 kB / 0.507 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.542e-05/0.1579, allocations: 17.19 kB / 0.5071 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.158, allocations: 78.7 kB / 0.5071 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.1582, allocations: 64.55 kB / 0.5072 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.1587, allocations: 318 kB / 0.5075 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.1588, allocations: 33.38 kB / 0.5075 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-05/0.1589, allocations: 40.34 kB / 0.5076 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009559/0.1598, allocations: 487.8 kB / 0.508 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.1598, allocations: 3.938 kB / 0.508 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.1599, allocations: 15.98 kB / 0.5081 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.1599, allocations: 12 kB / 0.5081 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.1604, allocations: 262.6 kB / 0.5083 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1624, allocations: 1.366 MB / 0.5097 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.1631, allocations: 282.3 kB / 0.5099 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.1634, allocations: 139.4 kB / 0.5101 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.1634, allocations: 4 kB / 0.5101 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.1638, allocations: 260.7 kB / 0.5103 GB, free: 4.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.1638, allocations: 0 / 0.5103 GB, free: 4.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001168/0.165, allocations: 0.5893 MB / 0.5109 GB, free: 3.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.1651, allocations: 156.5 kB / 0.511 GB, free: 3.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.1657, allocations: 417.4 kB / 0.5114 GB, free: 3.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.1657, allocations: 45.7 kB / 0.5115 GB, free: 2.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.1659, allocations: 240.8 kB / 0.5117 GB, free: 2.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1661, allocations: 103.2 kB / 0.5118 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.1663, allocations: 118.2 kB / 0.5119 GB, free: 2.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.1665, allocations: 354.7 kB / 0.5123 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.1668, allocations: 128.9 kB / 0.5124 GB, free: 2.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.1673, allocations: 325.8 kB / 0.5127 GB, free: 1.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.1681, allocations: 488.4 kB / 0.5132 GB, free: 1.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1681, allocations: 4 kB / 0.5132 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009732/0.169, allocations: 0.4974 MB / 0.5136 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.1691, allocations: 8 kB / 0.5137 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1691, allocations: 8.031 kB / 0.5137 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1691, allocations: 15.94 kB / 0.5137 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1694, allocations: 75.84 kB / 0.5137 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.1694, allocations: 11.98 kB / 0.5138 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1696, allocations: 39.73 kB / 0.5138 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.1696, allocations: 27.94 kB / 0.5138 GB, free: 356 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.0003192/0.1699, allocations: 247 kB / 0.5141 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.17, allocations: 39.77 kB / 0.5141 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2335/0.4036, allocations: 242.5 kB / 0.5143 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.4036, allocations: 3.094 kB / 0.5143 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4036, allocations: 2.25 kB / 0.5143 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4036, allocations: 4.047 kB / 0.5143 GB, free: 21.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.4052, allocations: 1.045 MB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.4052, allocations: 4.156 kB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.4053, allocations: 13.11 kB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.4053, allocations: 4.594 kB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.4053, allocations: 13.45 kB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.4053, allocations: 2.469 kB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4053, allocations: 6.219 kB / 0.5154 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.4062, allocations: 0.673 MB / 0.5161 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.4063, allocations: 36.84 kB / 0.5161 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.4063, allocations: 14.2 kB / 0.5161 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.4065, allocations: 11.25 kB / 0.5161 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.4065, allocations: 26.08 kB / 0.5161 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.4066, allocations: 15.03 kB / 0.5162 GB, free: 20.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003123/0.4069, allocations: 233.3 kB / 0.5164 GB, free: 20.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4069, allocations: 1.875 kB / 0.5164 GB, free: 20.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008356/0.4077, allocations: 171.4 kB / 0.5165 GB, free: 20.67 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.002229/0.41, allocations: 1.524 MB / 0.518 GB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008482/0.4108, allocations: 357.3 kB / 0.5184 GB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4108, allocations: 2.25 kB / 0.5184 GB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.4111, allocations: 148.9 kB / 0.5185 GB, free: 19.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4121, allocations: 143.8 kB / 0.5187 GB, free: 19.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.4174, allocations: 3.896 MB / 0.5225 GB, free: 17.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.4177, allocations: 0.8441 MB / 0.5233 GB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.418, allocations: 63.3 kB / 0.5233 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.4182, allocations: 146.6 kB / 0.5235 GB, free: 17.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4182, allocations: 192 / 0.5235 GB, free: 17.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04052/0.4587, allocations: 11.3 MB / 0.5345 GB, free: 14.25 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_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 \"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.4538415930001065] Failed to read output from testmodel.py, exit status != 0: 0.8916485639638267 0.909708828 0.7503998869999999 Calling exit ...