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.001293/0.001293, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.001714/0.001714, allocations: 221.2 kB / 23.05 MB, free: 4.941 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.0671/0.0671, allocations: 12.21 MB / 325.4 MB, free: 7.281 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.003266/0.003266, allocations: 63.91 kB / 453.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1601, allocations: 56.4 MB / 0.4978 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.007545/0.1677, allocations: 3.024 MB / 0.5008 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.1705, allocations: 0.9226 MB / 0.5017 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1707, allocations: 11.88 kB / 0.5017 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.1711, allocations: 83.19 kB / 0.5018 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.1715, allocations: 55.52 kB / 0.5018 GB, free: 12.43 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.001291/0.1728, allocations: 287.2 kB / 0.5021 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008022/0.1736, allocations: 410.8 kB / 0.5025 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.174, allocations: 139.5 kB / 0.5026 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.1744, allocations: 203.3 kB / 0.5028 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.1749, allocations: 242.9 kB / 0.5031 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.175, allocations: 44 kB / 0.5031 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.1756, allocations: 211.8 kB / 0.5033 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.1758, allocations: 147.6 kB / 0.5034 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.1762, allocations: 214.8 kB / 0.5036 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.1776, allocations: 0.673 MB / 0.5043 GB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1776, allocations: 4 kB / 0.5043 GB, free: 9.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1776, allocations: 0 / 0.5043 GB, free: 9.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.1776, allocations: 0 / 0.5043 GB, free: 9.875 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.002785/0.1804, allocations: 1.085 MB / 0.5054 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1804, allocations: 12.02 kB / 0.5054 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.1806, allocations: 86.64 kB / 0.5055 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1808, allocations: 48.66 kB / 0.5055 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.1814, allocations: 266.4 kB / 0.5058 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.1815, allocations: 29.31 kB / 0.5058 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1816, allocations: 44.36 kB / 0.5058 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.1829, allocations: 480.1 kB / 0.5063 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.183, allocations: 3.938 kB / 0.5063 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.183, allocations: 19.98 kB / 0.5063 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.183, allocations: 15.94 kB / 0.5063 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008927/0.1839, allocations: 259.8 kB / 0.5066 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.187, allocations: 1.323 MB / 0.5079 GB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.1879, allocations: 282.3 kB / 0.5081 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.1883, allocations: 139.4 kB / 0.5083 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.1884, allocations: 4 kB / 0.5083 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/0.189, allocations: 271.6 kB / 0.5085 GB, free: 5.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 3.697e-06/0.189, allocations: 0 / 0.5085 GB, free: 5.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001759/0.1907, allocations: 0.5823 MB / 0.5091 GB, free: 4.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/0.1909, allocations: 164.4 kB / 0.5093 GB, free: 4.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1913, allocations: 243 kB / 0.5095 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/0.1914, allocations: 45.69 kB / 0.5095 GB, free: 4.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.1916, allocations: 204.7 kB / 0.5097 GB, free: 3.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.1918, allocations: 111.2 kB / 0.5098 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.1921, allocations: 126.2 kB / 0.51 GB, free: 3.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.1923, allocations: 346.8 kB / 0.5103 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.1927, allocations: 121.2 kB / 0.5104 GB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.1934, allocations: 341 kB / 0.5107 GB, free: 2.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.1945, allocations: 0.4942 MB / 0.5112 GB, free: 2.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.1945, allocations: 4 kB / 0.5112 GB, free: 2.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001492/0.196, allocations: 0.4894 MB / 0.5117 GB, free: 1.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.196, allocations: 11.98 kB / 0.5117 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.196, allocations: 11.94 kB / 0.5117 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/0.1961, allocations: 8 kB / 0.5117 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.1965, allocations: 80.45 kB / 0.5118 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.103e-05/0.1966, allocations: 19.92 kB / 0.5118 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.1969, allocations: 43.73 kB / 0.5119 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.197, allocations: 24 kB / 0.5119 GB, free: 1.57 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.000509/0.1975, allocations: 241.5 kB / 0.5121 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1976, allocations: 27.81 kB / 0.5121 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007213/0.1983, allocations: 243.3 kB / 0.5124 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1983, allocations: 8 kB / 0.5124 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.1983, allocations: 4.156 kB / 0.5124 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1984, allocations: 11.81 kB / 0.5124 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2591/0.4575, allocations: 1.005 MB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.4575, allocations: 1.969 kB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4576, allocations: 11.5 kB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4576, allocations: 2.625 kB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.4577, allocations: 16.55 kB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-06/0.4577, allocations: 5.078 kB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4577, allocations: 1.469 kB / 0.5134 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.4586, allocations: 0.6642 MB / 0.5141 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.4587, allocations: 29.83 kB / 0.5141 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.4587, allocations: 8.375 kB / 0.5141 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4589, allocations: 8.891 kB / 0.5141 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.459, allocations: 24.88 kB / 0.5141 GB, free: 20.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.459, allocations: 17.05 kB / 0.5141 GB, free: 20.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.4591, allocations: 144 kB / 0.5143 GB, free: 20.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4591, allocations: 0 / 0.5143 GB, free: 20.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006379/0.4597, allocations: 161.2 kB / 0.5144 GB, free: 20.58 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.001954/0.4617, allocations: 1.436 MB / 0.5158 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.4624, allocations: 364.6 kB / 0.5162 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4624, allocations: 0 / 0.5162 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.4626, allocations: 150.2 kB / 0.5163 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.4632, allocations: 81.31 kB / 0.5164 GB, free: 19.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.467, allocations: 3.534 MB / 0.5199 GB, free: 17.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4673, allocations: 0.8169 MB / 0.5207 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.4675, allocations: 56.73 kB / 0.5207 GB, free: 17.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4676, allocations: 115 kB / 0.5208 GB, free: 17.09 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4676, allocations: 0 / 0.5208 GB, free: 17.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.5086, allocations: 8.804 MB / 0.5294 GB, free: 15.99 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.4643850040156394] Failed to read output from testmodel.py, exit status != 0: 0.9030451769940555 0.9237651139999999 0.7421513009999999 Calling exit ...