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.001782/0.001782, allocations: 108.3 kB / 17.16 MB, free: 5.855 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.002036/0.002036, allocations: 213.1 kB / 20.14 MB, free: 2.898 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.692/1.692, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06301/0.06301, allocations: 12.22 MB / 321.8 MB, free: 13.27 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.001992/0.001992, allocations: 66.84 kB / 448.1 MB, free: 38.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.1006, allocations: 56.37 MB / 0.4927 GB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.004909/0.1055, allocations: 3.168 MB / 0.4957 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1077, allocations: 0.9927 MB / 0.4967 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.1079, allocations: 11.88 kB / 0.4967 GB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.1083, allocations: 110.9 kB / 0.4968 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1086, allocations: 107.3 kB / 0.4969 GB, free: 13.23 MB / 366.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.0008266/0.1094, allocations: 287.2 kB / 0.4972 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.1101, allocations: 0.4908 MB / 0.4977 GB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.1104, allocations: 180 kB / 0.4979 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1107, allocations: 251.1 kB / 0.4981 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.1111, allocations: 302.6 kB / 0.4984 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.711e-05/0.1112, allocations: 56 kB / 0.4984 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.1116, allocations: 223.8 kB / 0.4987 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.1118, allocations: 171.5 kB / 0.4988 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.112, allocations: 258.5 kB / 0.4991 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1131, allocations: 0.7859 MB / 0.4998 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1131, allocations: 4 kB / 0.4998 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1131, allocations: 3.938 kB / 0.4998 GB, free: 10.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1131, allocations: 0 / 0.4998 GB, free: 10.23 MB / 366.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.002124/0.1152, allocations: 1.261 MB / 0.5011 GB, free: 8.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1153, allocations: 12.03 kB / 0.5011 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1154, allocations: 86.64 kB / 0.5012 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.1155, allocations: 68.52 kB / 0.5012 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.1161, allocations: 360 kB / 0.5016 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.1161, allocations: 33.36 kB / 0.5016 GB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.1162, allocations: 52.3 kB / 0.5017 GB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.117, allocations: 472.1 kB / 0.5021 GB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1171, allocations: 7.922 kB / 0.5021 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.1171, allocations: 16 kB / 0.5021 GB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1171, allocations: 16 kB / 0.5021 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.1176, allocations: 259.7 kB / 0.5024 GB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.1196, allocations: 1.394 MB / 0.5038 GB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.1202, allocations: 282.3 kB / 0.504 GB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.1204, allocations: 143.3 kB / 0.5042 GB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1205, allocations: 12.06 kB / 0.5042 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004311/0.1209, allocations: 260.5 kB / 0.5044 GB, free: 5.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.1209, allocations: 7.938 kB / 0.5044 GB, free: 5.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001217/0.1221, allocations: 0.5895 MB / 0.505 GB, free: 4.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.1223, allocations: 156.4 kB / 0.5052 GB, free: 4.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.1228, allocations: 401.5 kB / 0.5055 GB, free: 4.047 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.1229, allocations: 45.69 kB / 0.5056 GB, free: 3.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1231, allocations: 244.7 kB / 0.5058 GB, free: 3.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1232, allocations: 103.2 kB / 0.5059 GB, free: 3.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.1234, allocations: 130.1 kB / 0.506 GB, free: 3.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1236, allocations: 358.7 kB / 0.5064 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.1239, allocations: 129 kB / 0.5065 GB, free: 3.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.1243, allocations: 322.4 kB / 0.5068 GB, free: 2.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.1251, allocations: 488.4 kB / 0.5073 GB, free: 2.059 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1251, allocations: 4 kB / 0.5073 GB, free: 2.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009515/0.126, allocations: 0.4932 MB / 0.5078 GB, free: 1.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1261, allocations: 8 kB / 0.5078 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1261, allocations: 4 kB / 0.5078 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.1261, allocations: 12 kB / 0.5078 GB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1264, allocations: 75.83 kB / 0.5079 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.1264, allocations: 19.92 kB / 0.5079 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.1266, allocations: 43.67 kB / 0.5079 GB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.1267, allocations: 24.41 kB / 0.5079 GB, free: 1.371 MB / 366.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.0003296/0.127, allocations: 243 kB / 0.5082 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.1271, allocations: 39.83 kB / 0.5082 GB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.1276, allocations: 254.8 kB / 0.5084 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1276, allocations: 12 kB / 0.5085 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1276, allocations: 0 / 0.5085 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1276, allocations: 3.984 kB / 0.5085 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.1292, allocations: 1.075 MB / 0.5095 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1292, allocations: 0 / 0.5095 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.1293, allocations: 19.92 kB / 0.5095 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1293, allocations: 0 / 0.5095 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.1293, allocations: 15.92 kB / 0.5095 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1293, allocations: 4.469 kB / 0.5096 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1293, allocations: 4.094 kB / 0.5096 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/0.1303, allocations: 0.6686 MB / 0.5102 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.1304, allocations: 116.8 kB / 0.5103 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.1305, allocations: 11.92 kB / 0.5103 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1306, allocations: 8 kB / 0.5103 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.1307, allocations: 23.97 kB / 0.5104 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.1307, allocations: 15.98 kB / 0.5104 GB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000301/0.131, allocations: 231.1 kB / 0.5106 GB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 0 / 0.5106 GB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007199/0.1317, allocations: 171.5 kB / 0.5108 GB, free: 14.36 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.002756/0.1345, allocations: 1.525 MB / 0.5123 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000784/0.1353, allocations: 347.5 kB / 0.5126 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1353, allocations: 1.625 kB / 0.5126 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.1356, allocations: 157.7 kB / 0.5127 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.1364, allocations: 116.1 kB / 0.5128 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/0.1426, allocations: 3.918 MB / 0.5167 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.1432, allocations: 0.8463 MB / 0.5175 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002087/0.1434, allocations: 63.08 kB / 0.5176 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.1437, allocations: 147.4 kB / 0.5177 GB, free: 7.043 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1437, allocations: 0 / 0.5177 GB, free: 7.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.1861, allocations: 10.92 MB / 0.5284 GB, free: 12.22 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.fmutmp/sources ss linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_MQTT.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.3529015259991866] Failed to read output from testmodel.py, exit status != 0: 0.6253630949940998 0.6401553959999999 0.523965565 Calling exit ...