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.00196/0.00196, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.00148/0.00148, allocations: 216.3 kB / 23.81 MB, free: 4.516 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.508/1.508, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.06308/0.06308, allocations: 12.22 MB / 326.2 MB, free: 7.148 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.001974/0.001974, allocations: 63.89 kB / 454.1 MB, free: 8.852 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 56.4 MB / 0.4985 GB, free: 368 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.00772/0.1495, allocations: 3.159 MB / 0.5016 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.152, allocations: 0.9499 MB / 0.5025 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.1523, allocations: 11.88 kB / 0.5025 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.1528, allocations: 110.9 kB / 0.5026 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.1533, allocations: 115.2 kB / 0.5028 GB, free: 12 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.001114/0.1544, allocations: 291.2 kB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008222/0.1552, allocations: 0.4948 MB / 0.5035 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.1556, allocations: 148.4 kB / 0.5037 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.1561, allocations: 251.1 kB / 0.5039 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.1566, allocations: 306.7 kB / 0.5042 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1568, allocations: 52 kB / 0.5042 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.1573, allocations: 231.8 kB / 0.5045 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.1576, allocations: 175.5 kB / 0.5046 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.1579, allocations: 210.8 kB / 0.5048 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.1591, allocations: 0.7937 MB / 0.5056 GB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1591, allocations: 0 / 0.5056 GB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1592, allocations: 0 / 0.5056 GB, free: 9.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.1592, allocations: 4 kB / 0.5056 GB, free: 9.055 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.002505/0.1617, allocations: 1.174 MB / 0.5068 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1617, allocations: 12.03 kB / 0.5068 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.943e-05/0.1618, allocations: 9.188 kB / 0.5068 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.1619, allocations: 82.7 kB / 0.5069 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1621, allocations: 68.5 kB / 0.5069 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.1627, allocations: 310 kB / 0.5072 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.1628, allocations: 29.38 kB / 0.5072 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.1629, allocations: 44.36 kB / 0.5073 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.164, allocations: 483.8 kB / 0.5077 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.164, allocations: 4 kB / 0.5077 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.164, allocations: 19.98 kB / 0.5078 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.164, allocations: 12 kB / 0.5078 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.1646, allocations: 263.7 kB / 0.508 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1666, allocations: 1.272 MB / 0.5093 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.1673, allocations: 278.3 kB / 0.5095 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.1675, allocations: 139.4 kB / 0.5097 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1675, allocations: 4 kB / 0.5097 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004749/0.168, allocations: 276.6 kB / 0.5099 GB, free: 4.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.695e-06/0.168, allocations: 0 / 0.5099 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001226/0.1692, allocations: 0.593 MB / 0.5105 GB, free: 3.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.1694, allocations: 156.5 kB / 0.5107 GB, free: 3.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.17, allocations: 413.5 kB / 0.5111 GB, free: 3.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.17, allocations: 41.69 kB / 0.5111 GB, free: 3.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.1703, allocations: 236.7 kB / 0.5113 GB, free: 2.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1704, allocations: 107.2 kB / 0.5114 GB, free: 2.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.1706, allocations: 126.1 kB / 0.5115 GB, free: 2.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1708, allocations: 354.7 kB / 0.5119 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.171, allocations: 128.9 kB / 0.512 GB, free: 2.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.1715, allocations: 329.7 kB / 0.5123 GB, free: 1.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.1722, allocations: 488.4 kB / 0.5128 GB, free: 1.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.1722, allocations: 4 kB / 0.5128 GB, free: 1.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001004/0.1732, allocations: 0.4929 MB / 0.5133 GB, free: 0.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.1732, allocations: 8 kB / 0.5133 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.1733, allocations: 11.98 kB / 0.5133 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1733, allocations: 8 kB / 0.5133 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.1736, allocations: 68.53 kB / 0.5134 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.1736, allocations: 19.92 kB / 0.5134 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1738, allocations: 43.73 kB / 0.5134 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.1739, allocations: 27.94 kB / 0.5135 GB, free: 496 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.0003147/0.1742, allocations: 239.1 kB / 0.5137 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/0.1743, allocations: 35.77 kB / 0.5137 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2831/0.4574, allocations: 252.9 kB / 0.514 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.4574, allocations: 4.156 kB / 0.514 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.4574, allocations: 0.6562 kB / 0.514 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4574, allocations: 2.703 kB / 0.514 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.4592, allocations: 1.015 MB / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4592, allocations: 0 / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/0.4593, allocations: 16.42 kB / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4593, allocations: 2.156 kB / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.4593, allocations: 14.09 kB / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4593, allocations: 4.312 kB / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4593, allocations: 1.75 kB / 0.515 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.4602, allocations: 0.6785 MB / 0.5157 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.4602, allocations: 43.38 kB / 0.5157 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.4603, allocations: 8.281 kB / 0.5157 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4604, allocations: 6.016 kB / 0.5157 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.4605, allocations: 28 kB / 0.5157 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.4605, allocations: 21.38 kB / 0.5158 GB, free: 20.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.4607, allocations: 229.4 kB / 0.516 GB, free: 20.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 0.5469 kB / 0.516 GB, free: 20.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007296/0.4615, allocations: 170.2 kB / 0.5161 GB, free: 20.73 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.002544/0.464, allocations: 1.553 MB / 0.5177 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007822/0.4648, allocations: 367.2 kB / 0.518 GB, free: 19.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4648, allocations: 1.188 kB / 0.518 GB, free: 19.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.4651, allocations: 148.6 kB / 0.5181 GB, free: 19.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.4659, allocations: 130.3 kB / 0.5183 GB, free: 19.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.4708, allocations: 3.908 MB / 0.5221 GB, free: 17.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.4711, allocations: 241 kB / 0.5223 GB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.4714, allocations: 56.02 kB / 0.5224 GB, free: 17.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.4716, allocations: 153.9 kB / 0.5225 GB, free: 17.74 MB / 382.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4716, allocations: 0 / 0.5225 GB, free: 17.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.5105, allocations: 11.59 MB / 0.5338 GB, free: 14.7 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.512145924032666] Failed to read output from testmodel.py, exit status != 0: 0.9527264679782093 0.966715398 0.804894387 Calling exit ...