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.001389/0.001389, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.00157/0.00157, allocations: 217.9 kB / 23.03 MB, free: 4.621 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.07353/0.07353, allocations: 12.22 MB / 325.4 MB, free: 7.027 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.002292/0.002292, allocations: 75.89 kB / 453.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1266, allocations: 56.39 MB / 0.4977 GB, free: 340 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005547/0.1321, allocations: 3.163 MB / 0.5008 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1341, allocations: 0.9538 MB / 0.5018 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1342, allocations: 11.88 kB / 0.5018 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.1346, allocations: 110.9 kB / 0.5019 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1348, allocations: 111.2 kB / 0.502 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.0007564/0.1356, allocations: 291.2 kB / 0.5023 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.1362, allocations: 0.491 MB / 0.5027 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.1365, allocations: 136.4 kB / 0.5029 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.1367, allocations: 259 kB / 0.5031 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.1371, allocations: 274.7 kB / 0.5034 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.1372, allocations: 52 kB / 0.5034 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1376, allocations: 231.8 kB / 0.5037 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.1378, allocations: 171.5 kB / 0.5038 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.138, allocations: 206.8 kB / 0.504 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.139, allocations: 0.7937 MB / 0.5048 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.139, allocations: 0 / 0.5048 GB, free: 9.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.139, allocations: 4 kB / 0.5048 GB, free: 9.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.139, allocations: 0 / 0.5048 GB, free: 9.07 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.002009/0.141, allocations: 1.182 MB / 0.506 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.141, allocations: 8.031 kB / 0.506 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.1411, allocations: 82.7 kB / 0.506 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1413, allocations: 64.52 kB / 0.5061 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.1418, allocations: 314 kB / 0.5064 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.1418, allocations: 33.36 kB / 0.5064 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.1419, allocations: 44.36 kB / 0.5065 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.1428, allocations: 480 kB / 0.5069 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1428, allocations: 7.938 kB / 0.5069 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.1428, allocations: 16 kB / 0.507 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1428, allocations: 8 kB / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.1433, allocations: 259.8 kB / 0.5072 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.1452, allocations: 1.276 MB / 0.5085 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.1458, allocations: 282.3 kB / 0.5087 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1461, allocations: 138.7 kB / 0.5089 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1461, allocations: 12 kB / 0.5089 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.1465, allocations: 268.6 kB / 0.5091 GB, free: 4.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.863e-06/0.1465, allocations: 0 / 0.5091 GB, free: 4.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001188/0.1477, allocations: 0.5921 MB / 0.5097 GB, free: 3.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.1478, allocations: 152.5 kB / 0.5098 GB, free: 3.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005641/0.1484, allocations: 417.4 kB / 0.5102 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.1484, allocations: 45.69 kB / 0.5103 GB, free: 3.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.1486, allocations: 236.8 kB / 0.5105 GB, free: 2.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.1488, allocations: 103.2 kB / 0.5106 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.149, allocations: 122.1 kB / 0.5107 GB, free: 2.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1492, allocations: 358.7 kB / 0.5111 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.1494, allocations: 128.9 kB / 0.5112 GB, free: 2.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.1499, allocations: 321.8 kB / 0.5115 GB, free: 1.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.1506, allocations: 492.3 kB / 0.512 GB, free: 1.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.1506, allocations: 0 / 0.512 GB, free: 1.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009723/0.1516, allocations: 0.4969 MB / 0.5125 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1516, allocations: 8 kB / 0.5125 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.1516, allocations: 12 kB / 0.5125 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.1517, allocations: 8 kB / 0.5125 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.152, allocations: 80.45 kB / 0.5126 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.152, allocations: 11.94 kB / 0.5126 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1522, allocations: 47.72 kB / 0.5126 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.1523, allocations: 24 kB / 0.5126 GB, free: 0.5117 MB / 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.0003993/0.1527, allocations: 243.5 kB / 0.5129 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1528, allocations: 43.75 kB / 0.5129 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.237/0.3897, allocations: 239.5 kB / 0.5131 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.3897, allocations: 5.531 kB / 0.5131 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3898, allocations: 2.438 kB / 0.5132 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3898, allocations: 5.094 kB / 0.5132 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.3914, allocations: 1.012 MB / 0.5141 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3914, allocations: 0 / 0.5141 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.3915, allocations: 14.98 kB / 0.5142 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.3915, allocations: 3.688 kB / 0.5142 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3915, allocations: 13.8 kB / 0.5142 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3915, allocations: 5.125 kB / 0.5142 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3915, allocations: 3.281 kB / 0.5142 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.3922, allocations: 0.6738 MB / 0.5148 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3923, allocations: 38.31 kB / 0.5149 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.3923, allocations: 14.38 kB / 0.5149 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.3925, allocations: 7.047 kB / 0.5149 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.3925, allocations: 27.45 kB / 0.5149 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.3926, allocations: 21.69 kB / 0.5149 GB, free: 20.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.3928, allocations: 233.4 kB / 0.5152 GB, free: 20.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3928, allocations: 1.562 kB / 0.5152 GB, free: 20.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006658/0.3935, allocations: 171 kB / 0.5153 GB, free: 20.57 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.002109/0.3956, allocations: 1.552 MB / 0.5168 GB, free: 19.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006778/0.3963, allocations: 349.4 kB / 0.5172 GB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3963, allocations: 1.062 kB / 0.5172 GB, free: 19.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.3965, allocations: 153.4 kB / 0.5173 GB, free: 19.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.3973, allocations: 149.4 kB / 0.5175 GB, free: 19.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.402, allocations: 3.895 MB / 0.5213 GB, free: 17.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4023, allocations: 241 kB / 0.5215 GB, free: 17.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.4025, allocations: 64.05 kB / 0.5216 GB, free: 17.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4027, allocations: 150.6 kB / 0.5217 GB, free: 17.58 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4027, allocations: 0 / 0.5217 GB, free: 17.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05843/0.4611, allocations: 11.94 MB / 0.5334 GB, free: 14.16 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.4401619620621204] Failed to read output from testmodel.py, exit status != 0: 0.8836928098462522 0.9042137769999999 0.760806764 Calling exit ...