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.001566/0.001566, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001775/0.001775, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.0654/0.0654, allocations: 12.23 MB / 325.4 MB, free: 7.039 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.002143/0.002143, allocations: 67.89 kB / 453.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1151, allocations: 56.4 MB / 0.4977 GB, free: 332 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.005744/0.1208, allocations: 3.167 MB / 0.5008 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.123, allocations: 0.9499 MB / 0.5018 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1232, allocations: 11.88 kB / 0.5018 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.1235, allocations: 110.9 kB / 0.5019 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1239, allocations: 115.2 kB / 0.502 GB, free: 11.95 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1294:7-1306:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToMQTT' contains a call to impure function 'Modelica_DeviceDrivers.Communication.MQTT_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1284:7-1292:19:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readMQTT' contains a call to impure function 'Modelica_DeviceDrivers.Communication.MQTT_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.1247, allocations: 295.1 kB / 0.5023 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.1253, allocations: 494.8 kB / 0.5027 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.1256, allocations: 144.4 kB / 0.5029 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.1258, allocations: 255.1 kB / 0.5031 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.1262, allocations: 270.7 kB / 0.5034 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.264e-05/0.1263, allocations: 52 kB / 0.5034 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1267, allocations: 239.7 kB / 0.5037 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1269, allocations: 163.5 kB / 0.5038 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1271, allocations: 206.8 kB / 0.504 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.128, allocations: 0.7937 MB / 0.5048 GB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.128, allocations: 0 / 0.5048 GB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.128, allocations: 0 / 0.5048 GB, free: 9.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.128, allocations: 0 / 0.5048 GB, free: 9.066 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg mqttSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg mqttReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001921/0.1299, allocations: 1.182 MB / 0.5059 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.13, allocations: 12.03 kB / 0.506 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.1301, allocations: 78.7 kB / 0.506 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.1302, allocations: 68.5 kB / 0.5061 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.1307, allocations: 314 kB / 0.5064 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.1308, allocations: 33.38 kB / 0.5064 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.1308, allocations: 40.36 kB / 0.5065 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.1316, allocations: 484 kB / 0.5069 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1317, allocations: 3.938 kB / 0.5069 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.1317, allocations: 19.97 kB / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1317, allocations: 12 kB / 0.507 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.1322, allocations: 266.6 kB / 0.5072 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1341, allocations: 1.272 MB / 0.5085 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.1347, allocations: 278.3 kB / 0.5087 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.135, allocations: 139.4 kB / 0.5089 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.135, allocations: 8 kB / 0.5089 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.1354, allocations: 260.7 kB / 0.5091 GB, free: 4.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.953e-06/0.1354, allocations: 4 kB / 0.5091 GB, free: 4.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001159/0.1366, allocations: 0.5924 MB / 0.5097 GB, free: 3.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.1367, allocations: 168.4 kB / 0.5099 GB, free: 3.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.1373, allocations: 413.4 kB / 0.5103 GB, free: 3.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.1373, allocations: 41.7 kB / 0.5103 GB, free: 3.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1375, allocations: 236.8 kB / 0.5105 GB, free: 2.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1376, allocations: 107.2 kB / 0.5106 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1378, allocations: 118.2 kB / 0.5107 GB, free: 2.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.138, allocations: 358.7 kB / 0.5111 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1383, allocations: 128.9 kB / 0.5112 GB, free: 2.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.1387, allocations: 321.8 kB / 0.5115 GB, free: 1.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.1394, allocations: 492.4 kB / 0.512 GB, free: 1.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1394, allocations: 0 / 0.512 GB, free: 1.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009091/0.1403, allocations: 0.4971 MB / 0.5125 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1403, allocations: 8 kB / 0.5125 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.1404, allocations: 11.98 kB / 0.5125 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.1404, allocations: 8 kB / 0.5125 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1406, allocations: 75.84 kB / 0.5126 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.1407, allocations: 15.92 kB / 0.5126 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1409, allocations: 39.73 kB / 0.5126 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.1409, allocations: 24.38 kB / 0.5126 GB, free: 0.5117 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 54 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,mqttSend.dummy,$PRE.mqttSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,mqttReceive.pkgOut.dummy,$PRE.mqttReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,mqttReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,mqttSend.pkgIn.autoPkgBitSize,mqttSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,mqttSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.1413, allocations: 251.5 kB / 0.5129 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1414, allocations: 39.77 kB / 0.5129 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2546/0.3959, allocations: 241.1 kB / 0.5131 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.3959, allocations: 4.656 kB / 0.5132 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.396, allocations: 1.859 kB / 0.5132 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.396, allocations: 3.453 kB / 0.5132 GB, free: 21.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.3976, allocations: 1.012 MB / 0.5141 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3976, allocations: 5.156 kB / 0.5141 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.3977, allocations: 16.69 kB / 0.5142 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3977, allocations: 2.188 kB / 0.5142 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3977, allocations: 10.08 kB / 0.5142 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.3977, allocations: 7.109 kB / 0.5142 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3977, allocations: 1.406 kB / 0.5142 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.3985, allocations: 0.6755 MB / 0.5148 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.3985, allocations: 40.86 kB / 0.5149 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.3986, allocations: 9.547 kB / 0.5149 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.3988, allocations: 9.703 kB / 0.5149 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.3988, allocations: 28.66 kB / 0.5149 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3988, allocations: 20.66 kB / 0.5149 GB, free: 20.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.3991, allocations: 230.9 kB / 0.5152 GB, free: 20.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3991, allocations: 0.625 kB / 0.5152 GB, free: 20.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007054/0.3998, allocations: 171.2 kB / 0.5153 GB, free: 20.63 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.002311/0.4021, allocations: 1.554 MB / 0.5169 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007181/0.4028, allocations: 364.3 kB / 0.5172 GB, free: 19.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4028, allocations: 0 / 0.5172 GB, free: 19.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.403, allocations: 143.2 kB / 0.5173 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.4038, allocations: 130.1 kB / 0.5175 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.4088, allocations: 3.907 MB / 0.5213 GB, free: 17.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4091, allocations: 237.5 kB / 0.5215 GB, free: 17.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.4093, allocations: 63.75 kB / 0.5216 GB, free: 17.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4095, allocations: 151 kB / 0.5217 GB, free: 17.65 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4095, allocations: 0 / 0.5217 GB, free: 17.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04588/0.4554, allocations: 11.95 MB / 0.5334 GB, free: 14.2 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '487.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources/../binaries/linux64 -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libIPHlpApi.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libpaho-mqtt3cs.a -- Linking pthread-NOTFOUND -- Linking ss-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libcrypto.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libIPHlpApi.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libpaho-mqtt3cs.a;pthread-NOTFOUND;ss-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libcrypto.a -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"487\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources ss linked by target \"487\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT/487.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4635479170829058] Failed to read output from testmodel.py, exit status != 0: 0.8922025780193508 0.917937201 0.7849229879999999 Calling exit ...