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.0007433/0.0007433, allocations: 80.53 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.0007884/0.0007884, allocations: 174.3 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.9798/0.9798, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.04103/0.04103, allocations: 9.138 MB / 269.1 MB, free: 4.484 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 2.545e-06/2.545e-06, allocations: 0 / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.731e-05, allocations: 2.281 kB / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005893/0.00592, allocations: 3.167 MB / 400.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.007853, allocations: 0.9536 MB / 401.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.008119, allocations: 11.88 kB / 401.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.008516, allocations: 114.8 kB / 401.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.008926, allocations: 111.2 kB / 401.4 MB, free: 12.86 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.000946/0.009873, allocations: 298.9 kB / 401.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007118/0.01058, allocations: 0.4986 MB / 402.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.01092, allocations: 132.4 kB / 402.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.01144, allocations: 339.3 kB / 402.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007225/0.01216, allocations: 235.3 kB / 402.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.01229, allocations: 56 kB / 403 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.01274, allocations: 231.6 kB / 403.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.01293, allocations: 175.4 kB / 403.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.01313, allocations: 163.5 kB / 403.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.01414, allocations: 0.8098 MB / 404.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.01415, allocations: 0 / 404.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01415, allocations: 0 / 404.3 MB, free: 9.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.01416, allocations: 0 / 404.3 MB, free: 9.945 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.001498/0.01566, allocations: 1.176 MB / 405.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.0157, allocations: 12.03 kB / 405.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.225e-05/0.01577, allocations: 82.7 kB / 405.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.0159, allocations: 60.56 kB / 405.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.01627, allocations: 309.3 kB / 406 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.01631, allocations: 37.36 kB / 406 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.01635, allocations: 32.38 kB / 406 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.01695, allocations: 492 kB / 406.5 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01696, allocations: 4.188 kB / 406.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.01699, allocations: 12.38 kB / 406.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.017, allocations: 12.12 kB / 406.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.01741, allocations: 275.7 kB / 406.8 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.01882, allocations: 1.276 MB / 408.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.01984, allocations: 282.3 kB / 408.3 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.02, allocations: 139.4 kB / 408.5 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.02003, allocations: 8 kB / 408.5 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.02032, allocations: 248.7 kB / 408.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.02032, allocations: 0 / 408.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008139/0.02114, allocations: 0.6104 MB / 409.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.02122, allocations: 152.5 kB / 409.5 MB, free: 4.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.02184, allocations: 409.5 kB / 409.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.02188, allocations: 45.69 kB / 409.9 MB, free: 4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.02203, allocations: 244.7 kB / 410.2 MB, free: 3.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/0.0221, allocations: 99.25 kB / 410.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.02237, allocations: 122.2 kB / 410.4 MB, free: 3.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.02249, allocations: 362.7 kB / 410.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.02269, allocations: 124.9 kB / 410.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.02313, allocations: 321.8 kB / 411.2 MB, free: 2.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.0236, allocations: 492.3 kB / 411.7 MB, free: 2.074 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.02361, allocations: 4 kB / 411.7 MB, free: 2.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006362/0.02425, allocations: 0.5011 MB / 412.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.02427, allocations: 10.81 kB / 412.2 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.02429, allocations: 8 kB / 412.2 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.02431, allocations: 8 kB / 412.2 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.02448, allocations: 79.83 kB / 412.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.02449, allocations: 11.94 kB / 412.3 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.02462, allocations: 35.78 kB / 412.3 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.02465, allocations: 27.98 kB / 412.3 MB, free: 1.387 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.0002378/0.02488, allocations: 243.8 kB / 412.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.02494, allocations: 51.64 kB / 412.6 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.02542, allocations: 249.1 kB / 412.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.02542, allocations: 7.938 kB / 412.9 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.02543, allocations: 4 kB / 412.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02544, allocations: 0 / 412.9 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.0265, allocations: 1.014 MB / 413.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.0265, allocations: 0 / 413.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.02654, allocations: 11.98 kB / 413.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.02655, allocations: 4 kB / 413.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.02657, allocations: 11.98 kB / 413.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.02657, allocations: 7.938 kB / 413.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.02657, allocations: 0 / 413.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.02715, allocations: 0.6689 MB / 414.6 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.02719, allocations: 47.66 kB / 414.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.02722, allocations: 7.984 kB / 414.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.02731, allocations: 8 kB / 414.7 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.02736, allocations: 31.84 kB / 414.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.02739, allocations: 15.98 kB / 414.7 MB, free: 14.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.02758, allocations: 239 kB / 415 MB, free: 14.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02758, allocations: 0 / 415 MB, free: 14.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005081/0.02809, allocations: 163.5 kB / 415.1 MB, free: 14.53 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.002083/0.03017, allocations: 1.559 MB / 416.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.0307, allocations: 348.8 kB / 417 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.03071, allocations: 0 / 417 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.03088, allocations: 147.8 kB / 417.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.03151, allocations: 127.6 kB / 417.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.03734, allocations: 3.906 MB / 421.2 MB, free: 8.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.03765, allocations: 243.7 kB / 421.4 MB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.03796, allocations: 62.91 kB / 421.5 MB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.03821, allocations: 148.4 kB / 421.6 MB, free: 7.801 MB / 394.7 MB Notification: Performance of SimCode: time 2.895e-06/0.03821, allocations: 0 / 421.6 MB, free: 7.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.07324, allocations: 12.11 MB / 433.7 MB, free: 11.75 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.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 660] [Calling sys.exit(0), Time elapsed: 2.3257341645658016] Failed to read output from testmodel.py, exit status != 0: 0.3563851686194539 0.5518185840000001 0.535171156 Calling exit ...