Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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.001458/0.001458, allocations: 114 kB / 19.74 MB, free: 1.992 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.001656/0.001656, allocations: 223.1 kB / 23.05 MB, free: 4.988 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.06575/0.06575, allocations: 12.22 MB / 325.5 MB, free: 7.258 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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 453.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 56.41 MB / 0.4978 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.005478/0.1267, allocations: 3.022 MB / 0.5008 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1285, allocations: 0.9226 MB / 0.5017 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1287, allocations: 11.88 kB / 0.5017 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.1291, allocations: 87.19 kB / 0.5018 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1293, allocations: 47.53 kB / 0.5018 GB, free: 12.4 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:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.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:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.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.0008868/0.1302, allocations: 291.2 kB / 0.5021 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.1306, allocations: 410.8 kB / 0.5025 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1309, allocations: 139.5 kB / 0.5026 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.1312, allocations: 203.3 kB / 0.5028 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.1315, allocations: 242.9 kB / 0.5031 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.847e-05/0.1316, allocations: 44 kB / 0.5031 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.1319, allocations: 211.8 kB / 0.5033 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1321, allocations: 143.6 kB / 0.5034 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1323, allocations: 218.8 kB / 0.5036 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.1331, allocations: 0.6691 MB / 0.5043 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1331, allocations: 0 / 0.5043 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1331, allocations: 0 / 0.5043 GB, free: 9.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1331, allocations: 0 / 0.5043 GB, free: 9.855 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 uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001803/0.1349, allocations: 1.089 MB / 0.5054 GB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.135, allocations: 12.03 kB / 0.5054 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.55e-05/0.1351, allocations: 82.7 kB / 0.5055 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.1351, allocations: 52.59 kB / 0.5055 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.1356, allocations: 266.4 kB / 0.5058 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.1356, allocations: 33.36 kB / 0.5058 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.1357, allocations: 44.36 kB / 0.5058 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.1365, allocations: 480 kB / 0.5063 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1365, allocations: 7.938 kB / 0.5063 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1365, allocations: 16 kB / 0.5063 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1365, allocations: 11.98 kB / 0.5063 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.137, allocations: 270.5 kB / 0.5066 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.1388, allocations: 1.319 MB / 0.5079 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.1394, allocations: 278.3 kB / 0.5081 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1396, allocations: 139.4 kB / 0.5083 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.1397, allocations: 7.938 kB / 0.5083 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004191/0.1401, allocations: 255.7 kB / 0.5085 GB, free: 5.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.1401, allocations: 0 / 0.5085 GB, free: 5.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001159/0.1412, allocations: 0.5933 MB / 0.5091 GB, free: 4.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1414, allocations: 156.5 kB / 0.5092 GB, free: 4.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1416, allocations: 247 kB / 0.5095 GB, free: 4.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1417, allocations: 49.58 kB / 0.5095 GB, free: 4.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1419, allocations: 204.7 kB / 0.5097 GB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.142, allocations: 111.2 kB / 0.5098 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.1421, allocations: 122.3 kB / 0.5099 GB, free: 3.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1423, allocations: 350.7 kB / 0.5103 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1425, allocations: 125.2 kB / 0.5104 GB, free: 3.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.143, allocations: 341 kB / 0.5107 GB, free: 2.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.1437, allocations: 0.4904 MB / 0.5112 GB, free: 2.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.1437, allocations: 4 kB / 0.5112 GB, free: 2.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008529/0.1445, allocations: 0.4969 MB / 0.5117 GB, free: 1.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1445, allocations: 8 kB / 0.5117 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1446, allocations: 4 kB / 0.5117 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.1446, allocations: 12 kB / 0.5117 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1449, allocations: 79.83 kB / 0.5118 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.1449, allocations: 16.5 kB / 0.5118 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.1451, allocations: 43.72 kB / 0.5119 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.1451, allocations: 28 kB / 0.5119 GB, free: 1.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.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,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0003256/0.1454, allocations: 253.6 kB / 0.5121 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.1455, allocations: 27.81 kB / 0.5121 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.146, allocations: 237.7 kB / 0.5124 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.146, allocations: 7.938 kB / 0.5124 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.146, allocations: 4 kB / 0.5124 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.146, allocations: 3.984 kB / 0.5124 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2391/0.3851, allocations: 1.003 MB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.752e-05/0.3851, allocations: 1.219 kB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.3852, allocations: 15.97 kB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/0.3852, allocations: 3.422 kB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.3852, allocations: 12.28 kB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3853, allocations: 3.359 kB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3853, allocations: 3.438 kB / 0.5134 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008256/0.3861, allocations: 0.6638 MB / 0.5141 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3861, allocations: 32.36 kB / 0.5141 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.3862, allocations: 9.797 kB / 0.5141 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3863, allocations: 9.25 kB / 0.5141 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3864, allocations: 21.03 kB / 0.5141 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.3864, allocations: 22.05 kB / 0.5141 GB, free: 20.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.958e-05/0.3865, allocations: 139.9 kB / 0.5143 GB, free: 20.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3865, allocations: 0 / 0.5143 GB, free: 20.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000662/0.3872, allocations: 159.8 kB / 0.5144 GB, free: 20.61 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: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,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,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.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.00174/0.3889, allocations: 1.445 MB / 0.5158 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006371/0.3896, allocations: 356.4 kB / 0.5162 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3896, allocations: 8.188 kB / 0.5162 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3898, allocations: 152.9 kB / 0.5163 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.3904, allocations: 77.8 kB / 0.5164 GB, free: 19.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.3942, allocations: 3.528 MB / 0.5199 GB, free: 17.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3945, allocations: 0.8186 MB / 0.5207 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3946, allocations: 60.08 kB / 0.5207 GB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3948, allocations: 108.9 kB / 0.5208 GB, free: 17.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3948, allocations: 3.969 kB / 0.5208 GB, free: 17.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04179/0.4366, allocations: 8.796 MB / 0.5294 GB, free: 16.01 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '656.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_UDP/656.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_UDP/656.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.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 \"656\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/656.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.4118906560033793] Failed to read output from testmodel.py, exit status != 0: 0.8304658820052282 0.856533475 0.718636806 Calling exit ...