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.001397/0.001397, allocations: 111.7 kB / 19.74 MB, free: 2.164 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.001641/0.001641, allocations: 221.8 kB / 23.05 MB, free: 5.004 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.06428/0.06428, allocations: 12.22 MB / 325.5 MB, free: 7.273 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.002344/0.002344, allocations: 67.91 kB / 453.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.137, allocations: 56.4 MB / 0.4978 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005523/0.1425, allocations: 3.274 MB / 0.501 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1445, allocations: 1 MB / 0.502 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.1447, allocations: 15.88 kB / 0.502 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1451, allocations: 110.9 kB / 0.5021 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.1454, allocations: 107.2 kB / 0.5022 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.0008239/0.1462, allocations: 291.2 kB / 0.5025 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.1468, allocations: 0.4947 MB / 0.503 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.1471, allocations: 136.5 kB / 0.5031 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.1474, allocations: 259.1 kB / 0.5034 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.1478, allocations: 298.7 kB / 0.5036 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.1479, allocations: 60 kB / 0.5037 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.1482, allocations: 235.8 kB / 0.5039 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1484, allocations: 175.5 kB / 0.5041 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.1487, allocations: 262.5 kB / 0.5043 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009757/0.1497, allocations: 0.7898 MB / 0.5051 GB, free: 9.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1497, allocations: 0 / 0.5051 GB, free: 9.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1497, allocations: 0 / 0.5051 GB, free: 9.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.1497, allocations: 0 / 0.5051 GB, free: 9.02 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.001982/0.1516, allocations: 1.182 MB / 0.5063 GB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.1517, allocations: 12.03 kB / 0.5063 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.1518, allocations: 82.7 kB / 0.5064 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.152, allocations: 68.5 kB / 0.5064 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.1525, allocations: 314 kB / 0.5067 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.1526, allocations: 29.31 kB / 0.5068 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/0.1527, allocations: 44.36 kB / 0.5068 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.1536, allocations: 480.1 kB / 0.5073 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1536, allocations: 7.875 kB / 0.5073 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.1537, allocations: 19.98 kB / 0.5073 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.1537, allocations: 12 kB / 0.5073 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.1543, allocations: 259.8 kB / 0.5075 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1563, allocations: 1.362 MB / 0.5089 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.157, allocations: 278.5 kB / 0.5091 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.1572, allocations: 139.4 kB / 0.5093 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1572, allocations: 12 kB / 0.5093 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.1577, allocations: 260.6 kB / 0.5095 GB, free: 4.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.1577, allocations: 0 / 0.5095 GB, free: 4.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001257/0.159, allocations: 0.5868 MB / 0.5101 GB, free: 3.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.1591, allocations: 152.5 kB / 0.5102 GB, free: 3.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.1598, allocations: 413.5 kB / 0.5106 GB, free: 3.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.1598, allocations: 41.69 kB / 0.5107 GB, free: 2.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.16, allocations: 248.7 kB / 0.5109 GB, free: 2.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1601, allocations: 111.2 kB / 0.511 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.1603, allocations: 118.2 kB / 0.5111 GB, free: 2.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1605, allocations: 354.7 kB / 0.5115 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.1607, allocations: 128.9 kB / 0.5116 GB, free: 2.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.1611, allocations: 321.8 kB / 0.5119 GB, free: 1.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.1618, allocations: 484.4 kB / 0.5124 GB, free: 1.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.1618, allocations: 4 kB / 0.5124 GB, free: 1.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000918/0.1628, allocations: 0.5005 MB / 0.5129 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1628, allocations: 8.906 kB / 0.5129 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1628, allocations: 16.16 kB / 0.5129 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.1628, allocations: 12 kB / 0.5129 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.1631, allocations: 75.84 kB / 0.513 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.1631, allocations: 11.98 kB / 0.513 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1633, allocations: 39.73 kB / 0.513 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.1634, allocations: 27.98 kB / 0.513 GB, free: 380 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.0003282/0.1637, allocations: 242.7 kB / 0.5133 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.1638, allocations: 39.77 kB / 0.5133 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.207/0.3708, allocations: 244.4 kB / 0.5135 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.3708, allocations: 4.188 kB / 0.5136 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.3708, allocations: 2.641 kB / 0.5136 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3708, allocations: 3.703 kB / 0.5136 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.3724, allocations: 1.046 MB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3724, allocations: 3.125 kB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.3725, allocations: 15.66 kB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3725, allocations: 3.312 kB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3725, allocations: 10.55 kB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3725, allocations: 2.344 kB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3725, allocations: 6.016 kB / 0.5146 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3733, allocations: 0.6749 MB / 0.5153 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.3734, allocations: 39.39 kB / 0.5153 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.3734, allocations: 9.203 kB / 0.5153 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3736, allocations: 10.44 kB / 0.5153 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3736, allocations: 23.23 kB / 0.5154 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.3737, allocations: 22.31 kB / 0.5154 GB, free: 20.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.3739, allocations: 227.6 kB / 0.5156 GB, free: 20.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3739, allocations: 3.094 kB / 0.5156 GB, free: 20.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007583/0.3747, allocations: 175.9 kB / 0.5158 GB, free: 20.66 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.002238/0.3769, allocations: 1.521 MB / 0.5173 GB, free: 19.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.3776, allocations: 359.6 kB / 0.5176 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3776, allocations: 0 / 0.5176 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.3778, allocations: 152.2 kB / 0.5177 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.3786, allocations: 134 kB / 0.5179 GB, free: 19.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/0.3837, allocations: 3.898 MB / 0.5217 GB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.384, allocations: 0.8396 MB / 0.5225 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.3843, allocations: 68.33 kB / 0.5226 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3845, allocations: 146.3 kB / 0.5227 GB, free: 17.1 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3845, allocations: 0 / 0.5227 GB, free: 17.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.4275, allocations: 11.27 MB / 0.5337 GB, free: 14.26 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.484714622994943] Failed to read output from testmodel.py, exit status != 0: 0.856418171999394 0.867983396 0.715848808 Calling exit ...