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.0009556/0.0009556, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001249/0.001249, allocations: 177.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9192/0.9192, allocations: 177.1 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03471/0.03471, allocations: 9.148 MB / 269.1 MB, free: 4.465 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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 1.613e-06/1.613e-06, allocations: 0 / 397.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.467e-05, allocations: 2.281 kB / 397.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.003995/0.004019, allocations: 3.179 MB / 400.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.005492, allocations: 0.9497 MB / 401.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.005743, allocations: 11.88 kB / 401.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.006207, allocations: 106.9 kB / 401.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.006523, allocations: 123.2 kB / 401.4 MB, free: 12.87 MB / 378.7 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.0006623/0.007186, allocations: 294.8 kB / 401.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.007628, allocations: 0.4947 MB / 402.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.007925, allocations: 140.4 kB / 402.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.00823, allocations: 335.3 kB / 402.7 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.008517, allocations: 235.4 kB / 402.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.008587, allocations: 52 kB / 403 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.008904, allocations: 227.6 kB / 403.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.009044, allocations: 179.4 kB / 403.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.009171, allocations: 159.6 kB / 403.5 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007471/0.009918, allocations: 0.8214 MB / 404.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.009922, allocations: 0 / 404.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.009924, allocations: 0 / 404.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.009932, allocations: 0 / 404.3 MB, free: 9.953 MB / 378.7 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.001478/0.01141, allocations: 1.172 MB / 405.5 MB, free: 8.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.01145, allocations: 8.031 kB / 405.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.01152, allocations: 82.7 kB / 405.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.01162, allocations: 64.55 kB / 405.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.01195, allocations: 309.3 kB / 406 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.01198, allocations: 33.36 kB / 406 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.01202, allocations: 36.38 kB / 406 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.01258, allocations: 492 kB / 406.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.0126, allocations: 192 / 406.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.01262, allocations: 16.36 kB / 406.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.01263, allocations: 16.12 kB / 406.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.01297, allocations: 263.7 kB / 406.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01424, allocations: 1.272 MB / 408.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.01465, allocations: 282.2 kB / 408.3 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.01479, allocations: 151 kB / 408.5 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.01482, allocations: 8 kB / 408.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.01508, allocations: 256.6 kB / 408.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.01508, allocations: 0 / 408.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.000786/0.01587, allocations: 0.6027 MB / 409.3 MB, free: 4.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.01594, allocations: 148.5 kB / 409.5 MB, free: 4.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.01632, allocations: 409.5 kB / 409.9 MB, free: 4.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.01635, allocations: 41.7 kB / 409.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01648, allocations: 248.6 kB / 410.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.01654, allocations: 103.2 kB / 410.3 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.01667, allocations: 122.2 kB / 410.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01679, allocations: 358.7 kB / 410.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.01697, allocations: 124.9 kB / 410.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.01723, allocations: 321.8 kB / 411.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/0.01768, allocations: 0.4887 MB / 411.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.01769, allocations: 4 kB / 411.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005676/0.01825, allocations: 0.5006 MB / 412.2 MB, free: 1.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01828, allocations: 8 kB / 412.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.01829, allocations: 8 kB / 412.2 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.01831, allocations: 8.781 kB / 412.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01846, allocations: 75.78 kB / 412.3 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.01848, allocations: 23.92 kB / 412.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.0186, allocations: 35.78 kB / 412.3 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.01863, allocations: 24 kB / 412.4 MB, free: 1.395 MB / 378.7 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.0002435/0.01887, allocations: 239.3 kB / 412.6 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.01893, allocations: 39.72 kB / 412.6 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.01928, allocations: 256.4 kB / 412.9 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.01928, allocations: 8.031 kB / 412.9 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.01929, allocations: 0 / 412.9 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.0193, allocations: 7.984 kB / 412.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.02042, allocations: 1.005 MB / 413.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02042, allocations: 0 / 413.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.02047, allocations: 12 kB / 413.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.02048, allocations: 4 kB / 413.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.0205, allocations: 11.98 kB / 413.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.0205, allocations: 0 / 413.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.02051, allocations: 8 kB / 413.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.0211, allocations: 0.6697 MB / 414.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.02115, allocations: 51.58 kB / 414.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.02118, allocations: 4 kB / 414.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.02127, allocations: 16.05 kB / 414.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.02132, allocations: 23.91 kB / 414.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.02135, allocations: 15.98 kB / 414.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.02154, allocations: 235 kB / 414.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02154, allocations: 0 / 414.9 MB, free: 14.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004945/0.02203, allocations: 167.5 kB / 415.1 MB, free: 14.55 MB / 394.7 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.00159/0.02362, allocations: 1.559 MB / 416.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.02412, allocations: 356.6 kB / 417 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.02413, allocations: 0 / 417 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.0243, allocations: 143.8 kB / 417.2 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.02481, allocations: 133.5 kB / 417.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.02835, allocations: 3.906 MB / 421.2 MB, free: 8.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.02853, allocations: 235.7 kB / 421.4 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.02867, allocations: 58.92 kB / 421.5 MB, free: 7.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.02882, allocations: 152.4 kB / 421.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02883, allocations: 0 / 421.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.05479, allocations: 12.12 MB / 433.7 MB, free: 11.76 MB / 410.7 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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources/fmi -- 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/jenkins/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 (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources ss linked by target \"487\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.157470385544002] Failed to read output from testmodel.py, exit status != 0: 0.300836019217968 0.5127500159999999 0.500795522 Calling exit ...