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.001652/0.001652, 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.001433/0.001433, allocations: 173.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 1.132/1.132, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.03813/0.03813, allocations: 9.145 MB / 269.1 MB, free: 4.488 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 397.8 MB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.911e-05/4.23e-05, allocations: 6.219 kB / 397.8 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.006046/0.006088, allocations: 3.179 MB / 401 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.008338, allocations: 0.9458 MB / 402 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.008803, allocations: 15.88 kB / 402 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.009342, allocations: 110.8 kB / 402.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.009819, allocations: 119.1 kB / 402.2 MB, free: 12.09 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.001204/0.01102, allocations: 294.9 kB / 402.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008127/0.01184, allocations: 0.4986 MB / 403 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.01223, allocations: 132.4 kB / 403.1 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.01276, allocations: 339.3 kB / 403.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.01324, allocations: 227.4 kB / 403.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.01337, allocations: 59.94 kB / 403.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.01395, allocations: 231.6 kB / 404 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.01418, allocations: 175.4 kB / 404.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.0144, allocations: 159.5 kB / 404.3 MB, free: 9.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.01572, allocations: 0.8098 MB / 405.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.01573, allocations: 4 kB / 405.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.01573, allocations: 0 / 405.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.01576, allocations: 4 kB / 405.1 MB, free: 9.176 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.002644/0.0184, allocations: 1.176 MB / 406.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/0.01847, allocations: 12.03 kB / 406.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.578e-05/0.01857, allocations: 82.7 kB / 406.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.01877, allocations: 60.56 kB / 406.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.01927, allocations: 305.4 kB / 406.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.01932, allocations: 33.36 kB / 406.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.01937, allocations: 36.38 kB / 406.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.02023, allocations: 492 kB / 407.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.02025, allocations: 192 / 407.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.02028, allocations: 16.38 kB / 407.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.0203, allocations: 16.12 kB / 407.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.02188, allocations: 267.6 kB / 407.6 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.02437, allocations: 1.276 MB / 408.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.02513, allocations: 278.3 kB / 409.1 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.0254, allocations: 139.4 kB / 409.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.02545, allocations: 11.92 kB / 409.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.02594, allocations: 256.8 kB / 409.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 4.529e-06/0.02595, allocations: 4 kB / 409.5 MB, free: 4.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001384/0.02733, allocations: 0.5974 MB / 410.1 MB, free: 3.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.02746, allocations: 160.4 kB / 410.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.02826, allocations: 405.5 kB / 410.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.02833, allocations: 45.69 kB / 410.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.02862, allocations: 244.7 kB / 411 MB, free: 2.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.02877, allocations: 103.2 kB / 411.1 MB, free: 2.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.02903, allocations: 122.2 kB / 411.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.02922, allocations: 354.7 kB / 411.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.02955, allocations: 128.9 kB / 411.6 MB, free: 2.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.02999, allocations: 321.8 kB / 412 MB, free: 1.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007365/0.03073, allocations: 492.5 kB / 412.4 MB, free: 1.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.03074, allocations: 0 / 412.4 MB, free: 1.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001083/0.03182, allocations: 0.5086 MB / 413 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.03186, allocations: 8 kB / 413 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.03188, allocations: 4 kB / 413 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/0.03192, allocations: 12 kB / 413 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.03223, allocations: 75.83 kB / 413 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.03225, allocations: 15.94 kB / 413.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.03254, allocations: 36.28 kB / 413.1 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.0326, allocations: 31.98 kB / 413.1 MB, free: 0.6172 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.0005346/0.03313, allocations: 231.3 kB / 413.4 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.03328, allocations: 47.7 kB / 413.4 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.03389, allocations: 252.4 kB / 413.7 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.03391, allocations: 12.02 kB / 413.7 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.03392, allocations: 4 kB / 413.7 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.03393, allocations: 0 / 413.7 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.03599, allocations: 1.01 MB / 414.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.036, allocations: 0 / 414.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.03609, allocations: 15.94 kB / 414.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.0361, allocations: 3.984 kB / 414.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.03614, allocations: 15.98 kB / 414.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.03614, allocations: 64 / 414.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.03615, allocations: 8 kB / 414.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.03727, allocations: 0.6651 MB / 415.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.03738, allocations: 51.59 kB / 415.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.03744, allocations: 11.92 kB / 415.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.03763, allocations: 4 kB / 415.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.03773, allocations: 31.84 kB / 415.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.03778, allocations: 15.98 kB / 415.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003528/0.03814, allocations: 235 kB / 415.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03814, allocations: 0 / 415.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001091/0.03923, allocations: 171.5 kB / 415.9 MB, free: 13.76 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.003453/0.04268, allocations: 1.552 MB / 417.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.04388, allocations: 353 kB / 417.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.04389, allocations: 128 / 417.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.04427, allocations: 151.8 kB / 417.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.0453, allocations: 126.3 kB / 418.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/0.05345, allocations: 3.902 MB / 422 MB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.05382, allocations: 243.7 kB / 422.2 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.05424, allocations: 58.92 kB / 422.3 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.05456, allocations: 152.4 kB / 422.4 MB, free: 7.035 MB / 394.7 MB Notification: Performance of SimCode: time 3.056e-06/0.05456, allocations: 0 / 422.4 MB, free: 7.035 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/0.1913, allocations: 12.21 MB / 434.6 MB, free: 10.89 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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:282 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:282 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:282 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:282 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.3s) 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 659] [Calling sys.exit(0), Time elapsed: 3.004209498874843]