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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108.1 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 196.6 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05866/0.05866, allocations: 12.18 MB / 315.6 MB, free: 264 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.002027/0.002027, allocations: 67.89 kB / 439.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3053, allocations: 55.16 MB / 494.7 MB, free: 23.83 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_MQTT): time 0.003946/0.3093, allocations: 3.165 MB / 497.9 MB, free: 21.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3108, allocations: 0.9898 MB / 498.8 MB, free: 20.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.311, allocations: 8.781 kB / 498.9 MB, free: 20.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.3113, allocations: 111.2 kB / 499 MB, free: 20.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3115, allocations: 111.9 kB / 499.1 MB, free: 20.37 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0006817/0.3122, allocations: 287.7 kB / 499.4 MB, free: 20.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004381/0.3127, allocations: 0.49 MB / 499.8 MB, free: 19.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.3129, allocations: 171.4 kB / 0.4883 GB, free: 19.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.3131, allocations: 242.7 kB / 0.4885 GB, free: 19.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3134, allocations: 300.6 kB / 0.4888 GB, free: 19.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.3135, allocations: 58.28 kB / 0.4889 GB, free: 19.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.3139, allocations: 229.5 kB / 0.4891 GB, free: 19.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.314, allocations: 173.2 kB / 0.4892 GB, free: 19.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.3142, allocations: 255.3 kB / 0.4895 GB, free: 18.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007999/0.315, allocations: 0.7898 MB / 0.4903 GB, free: 18.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.315, allocations: 1.031 kB / 0.4903 GB, free: 18.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.315, allocations: 0 / 0.4903 GB, free: 18.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.315, allocations: 0 / 0.4903 GB, free: 18.38 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.001763/0.3168, allocations: 1.263 MB / 0.4915 GB, free: 17.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3168, allocations: 13.16 kB / 0.4915 GB, free: 17.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.3169, allocations: 86.27 kB / 0.4916 GB, free: 17.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.317, allocations: 64.39 kB / 0.4917 GB, free: 17.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.3174, allocations: 368 kB / 0.492 GB, free: 16.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.3175, allocations: 33.97 kB / 0.492 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.3175, allocations: 40.64 kB / 0.4921 GB, free: 16.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.3182, allocations: 485.4 kB / 0.4925 GB, free: 16.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3183, allocations: 4.906 kB / 0.4925 GB, free: 16.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.3183, allocations: 25.08 kB / 0.4926 GB, free: 16.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3183, allocations: 9.344 kB / 0.4926 GB, free: 16.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3187, allocations: 266.9 kB / 0.4928 GB, free: 16.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3202, allocations: 1.392 MB / 0.4942 GB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.3206, allocations: 280.3 kB / 0.4945 GB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3208, allocations: 146.8 kB / 0.4946 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.3209, allocations: 11.3 kB / 0.4946 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000334/0.3212, allocations: 254.1 kB / 0.4949 GB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.933e-06/0.3212, allocations: 0 / 0.4949 GB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001034/0.3222, allocations: 0.5885 MB / 0.4954 GB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.3223, allocations: 153.8 kB / 0.4956 GB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.3227, allocations: 416.1 kB / 0.496 GB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.3228, allocations: 40.39 kB / 0.496 GB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3229, allocations: 252 kB / 0.4962 GB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.3229, allocations: 100.8 kB / 0.4963 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.3231, allocations: 118.8 kB / 0.4965 GB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.3232, allocations: 360.5 kB / 0.4968 GB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3234, allocations: 127.6 kB / 0.4969 GB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.3237, allocations: 328 kB / 0.4972 GB, free: 12.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.3242, allocations: 488.4 kB / 0.4977 GB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3242, allocations: 2.938 kB / 0.4977 GB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007835/0.325, allocations: 0.5007 MB / 0.4982 GB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.325, allocations: 8.031 kB / 0.4982 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3251, allocations: 6.906 kB / 0.4982 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.3251, allocations: 12.97 kB / 0.4982 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.3253, allocations: 82.27 kB / 0.4983 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.3253, allocations: 10.34 kB / 0.4983 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3255, allocations: 39.38 kB / 0.4983 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.3256, allocations: 27.45 kB / 0.4984 GB, free: 11.99 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.0002381/0.3258, allocations: 234 kB / 0.4986 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/0.3259, allocations: 51.38 kB / 0.4986 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.3263, allocations: 246.7 kB / 0.4989 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3263, allocations: 4.125 kB / 0.4989 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3263, allocations: 1.375 kB / 0.4989 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3263, allocations: 9.297 kB / 0.4989 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3275, allocations: 1.074 MB / 0.4999 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3275, allocations: 5.188 kB / 0.4999 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.3276, allocations: 10.34 kB / 0.5 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3276, allocations: 2.656 kB / 0.5 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3276, allocations: 21.2 kB / 0.5 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3276, allocations: 2.156 kB / 0.5 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3276, allocations: 1.469 kB / 0.5 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.3284, allocations: 0.6724 MB / 0.5006 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.3284, allocations: 124 kB / 0.5008 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3285, allocations: 15.33 kB / 0.5008 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3287, allocations: 6.578 kB / 0.5008 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.3287, allocations: 18.17 kB / 0.5008 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.3287, allocations: 19.05 kB / 0.5008 GB, free: 10.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.3289, allocations: 233.4 kB / 0.501 GB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 4 kB / 0.501 GB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.3296, allocations: 169.3 kB / 0.5012 GB, free: 10.01 MB / 366.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.002088/0.3317, allocations: 1.53 MB / 0.5027 GB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006531/0.3323, allocations: 351.8 kB / 0.503 GB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3324, allocations: 0.875 kB / 0.503 GB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.3326, allocations: 145.4 kB / 0.5032 GB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3333, allocations: 137 kB / 0.5033 GB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.3376, allocations: 3.927 MB / 0.5071 GB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.338, allocations: 0.8409 MB / 0.508 GB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.3382, allocations: 63.19 kB / 0.508 GB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.3384, allocations: 150.2 kB / 0.5082 GB, free: 4.684 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3384, allocations: 0 / 0.5082 GB, free: 4.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.3706, allocations: 10.91 MB / 0.5188 GB, free: 9.871 MB / 382.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_2/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_2/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 2.1.1-master/Resources/Library/linux64/libIPHlpApi.a -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libpaho-mqtt3cs.a -- Linking pthread-NOTFOUND -- Linking ss-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-master/Resources/Library/linux64/libIPHlpApi.a;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libpaho-mqtt3cs.a;pthread-NOTFOUND;ss-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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_2/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_2/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.1899422761052847] Failed to read output from testmodel.py, exit status != 0: 0.7799786510877311 0.802597881 0.48325061300000005 Calling exit ...