Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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.0008615/0.0008615, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 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.00111/0.00111, allocations: 174.3 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.03485/0.03485, allocations: 9.147 MB / 269.1 MB, free: 4.484 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.341e-05, allocations: 2.281 kB / 397.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.003422/0.003445, allocations: 2.941 MB / 400 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004755, allocations: 0.8637 MB / 400.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.004923, allocations: 19.81 kB / 400.9 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.00518, allocations: 87.12 kB / 401 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.005368, allocations: 51.47 kB / 401 MB, free: 13.26 MB / 378.7 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.0006688/0.006037, allocations: 302.8 kB / 401.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.006435, allocations: 406.8 kB / 401.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.006645, allocations: 139.7 kB / 401.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.006894, allocations: 279.4 kB / 402.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.007104, allocations: 179.5 kB / 402.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.00715, allocations: 48 kB / 402.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.007409, allocations: 195.6 kB / 402.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.007534, allocations: 159.5 kB / 402.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.007638, allocations: 135.6 kB / 402.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.008219, allocations: 0.6969 MB / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.008222, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.008224, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.008234, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 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.001269/0.009503, allocations: 1.079 MB / 404.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.009542, allocations: 8.031 kB / 404.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.009604, allocations: 86.64 kB / 404.7 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.009678, allocations: 48.66 kB / 404.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.009935, allocations: 269.4 kB / 405 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.009965, allocations: 37.3 kB / 405 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.009998, allocations: 36.38 kB / 405.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.0105, allocations: 488 kB / 405.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01051, allocations: 192 / 405.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.01054, allocations: 16.38 kB / 405.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.01055, allocations: 16.12 kB / 405.6 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.01085, allocations: 271.6 kB / 405.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01188, allocations: 1.233 MB / 407.1 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.01225, allocations: 278.3 kB / 407.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.01238, allocations: 147.3 kB / 407.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.0124, allocations: 8 kB / 407.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.01263, allocations: 251.6 kB / 407.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.01263, allocations: 4 kB / 407.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.000685/0.01332, allocations: 0.5911 MB / 408.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.01339, allocations: 160.4 kB / 408.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.01354, allocations: 239.1 kB / 408.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01356, allocations: 45.69 kB / 408.8 MB, free: 5.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.01366, allocations: 216.5 kB / 409 MB, free: 4.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.01372, allocations: 107.2 kB / 409.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.01381, allocations: 122.3 kB / 409.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.0139, allocations: 342.8 kB / 409.6 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.01404, allocations: 125.2 kB / 409.7 MB, free: 4.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.01425, allocations: 333 kB / 410 MB, free: 3.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.01465, allocations: 0.5059 MB / 410.5 MB, free: 3.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.01466, allocations: 4 kB / 410.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005014/0.01516, allocations: 0.493 MB / 411 MB, free: 2.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01518, allocations: 12 kB / 411 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01518, allocations: 4 kB / 411 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.0152, allocations: 15.94 kB / 411 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01534, allocations: 79.83 kB / 411.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.01535, allocations: 16.56 kB / 411.1 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.01545, allocations: 43.73 kB / 411.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.01547, allocations: 27.98 kB / 411.2 MB, free: 2.516 MB / 378.7 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.0001697/0.01564, allocations: 249.5 kB / 411.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.01567, allocations: 23.86 kB / 411.5 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.01601, allocations: 240.2 kB / 411.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.01601, allocations: 12 kB / 411.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01602, allocations: 0 / 411.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01603, allocations: 0 / 411.7 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.01688, allocations: 0.9834 MB / 412.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.01688, allocations: 0 / 412.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.01692, allocations: 16 kB / 412.7 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.01693, allocations: 7.984 kB / 412.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.01694, allocations: 8.078 kB / 412.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01695, allocations: 3.938 kB / 412.7 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01695, allocations: 7.938 kB / 412.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.01745, allocations: 0.6619 MB / 413.4 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.01747, allocations: 35.75 kB / 413.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.0175, allocations: 12.05 kB / 413.5 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.01757, allocations: 8 kB / 413.5 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.01761, allocations: 23.91 kB / 413.5 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.01764, allocations: 15.98 kB / 413.5 MB, free: 128 kB / 378.7 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.01772, allocations: 142.8 kB / 413.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01772, allocations: 0 / 413.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004021/0.01812, allocations: 159.5 kB / 413.8 MB, free: 15.83 MB / 394.7 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.001129/0.01925, allocations: 1.458 MB / 415.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.01967, allocations: 356.3 kB / 415.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01967, allocations: 4 kB / 415.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.01983, allocations: 151.8 kB / 415.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.02018, allocations: 70.81 kB / 415.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.02297, allocations: 3.527 MB / 419.3 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.02312, allocations: 211 kB / 419.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.02322, allocations: 55.23 kB / 419.6 MB, free: 9.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.02333, allocations: 120.5 kB / 419.7 MB, free: 9.633 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.02333, allocations: 0 / 419.7 MB, free: 9.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.04675, allocations: 9.472 MB / 429.2 MB, free: 376 kB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '683.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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/683.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/683.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 (0.2s) 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 \"683\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/683.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8916790802031755] Failed to read output from testmodel.py, exit status != 0: 0.2496117791160941 0.25992027199999995 0.24950099499999995 Calling exit ...