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.0008184/0.0008184, allocations: 72.55 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.001369/0.001369, allocations: 173.9 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.9155/0.9155, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.0392/0.0392, allocations: 9.152 MB / 269.1 MB, free: 4.461 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 1.834e-06/1.834e-06, allocations: 0 / 397 MB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.232e-05, allocations: 14.22 kB / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.003282/0.003304, allocations: 2.945 MB / 400 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004491, allocations: 0.8598 MB / 400.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.00464, allocations: 19.81 kB / 400.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.00492, allocations: 87.12 kB / 401 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.005133, allocations: 63.44 kB / 401 MB, free: 13.25 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.0007456/0.005879, allocations: 286.9 kB / 401.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.006289, allocations: 410.9 kB / 401.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.006564, allocations: 127.7 kB / 401.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.006812, allocations: 287.4 kB / 402.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.007018, allocations: 175.4 kB / 402.3 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.007065, allocations: 48 kB / 402.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.00731, allocations: 211.6 kB / 402.5 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.007424, allocations: 151.5 kB / 402.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.007523, allocations: 135.6 kB / 402.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.008112, allocations: 0.7008 MB / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.008115, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.008116, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.008123, 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.001402/0.009526, allocations: 1.071 MB / 404.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.009563, allocations: 8.031 kB / 404.6 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.009627, allocations: 86.69 kB / 404.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.009706, allocations: 48.66 kB / 404.7 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.009973, allocations: 273.4 kB / 405 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.01, allocations: 25.38 kB / 405 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.01004, allocations: 44.36 kB / 405.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.01059, allocations: 480 kB / 405.5 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.0106, allocations: 4.188 kB / 405.5 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.01063, allocations: 20.36 kB / 405.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01064, allocations: 12.12 kB / 405.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.01105, allocations: 271.6 kB / 405.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.01221, allocations: 1.233 MB / 407.1 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.01259, allocations: 285.8 kB / 407.4 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.01274, allocations: 155.3 kB / 407.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.01277, allocations: 4 kB / 407.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.01301, allocations: 259.6 kB / 407.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.372e-06/0.01301, allocations: 0 / 407.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007227/0.01374, allocations: 0.5878 MB / 408.4 MB, free: 5.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.01381, allocations: 164.4 kB / 408.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.01398, allocations: 239.1 kB / 408.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.014, allocations: 41.7 kB / 408.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.979e-05/0.0141, allocations: 216.6 kB / 409 MB, free: 4.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.01417, allocations: 111.2 kB / 409.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01427, allocations: 118.3 kB / 409.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003649/0.01464, allocations: 342.8 kB / 409.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.01478, allocations: 121.2 kB / 409.7 MB, free: 4.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.01501, allocations: 333 kB / 410 MB, free: 3.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.01542, allocations: 0.5059 MB / 410.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.01543, allocations: 7.938 kB / 410.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005197/0.01595, allocations: 0.4936 MB / 411 MB, free: 2.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.01597, allocations: 8 kB / 411 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01597, allocations: 8 kB / 411 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.01599, allocations: 12 kB / 411 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.01614, allocations: 83.77 kB / 411.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.01615, allocations: 15.98 kB / 411.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.01625, allocations: 39.73 kB / 411.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.01627, allocations: 24 kB / 411.2 MB, free: 2.531 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.0001804/0.01645, allocations: 257.7 kB / 411.4 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.01649, allocations: 27.86 kB / 411.5 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.01676, allocations: 232.3 kB / 411.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01677, allocations: 11.98 kB / 411.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01678, allocations: 0 / 411.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01678, allocations: 0 / 411.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.01762, allocations: 0.9873 MB / 412.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01762, allocations: 4 kB / 412.7 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.01765, allocations: 12 kB / 412.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01765, allocations: 0 / 412.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.01767, allocations: 16.08 kB / 412.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01768, allocations: 3.938 kB / 412.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01768, allocations: 4 kB / 412.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.01821, allocations: 0.6618 MB / 413.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01824, allocations: 31.75 kB / 413.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01826, allocations: 11.98 kB / 413.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.01834, allocations: 12.05 kB / 413.5 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.01838, allocations: 23.91 kB / 413.5 MB, free: 156 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.01841, allocations: 23.98 kB / 413.5 MB, free: 132 kB / 378.7 MB Notification: Performance of sorting global known variables: time 8.934e-05/0.0185, allocations: 142.8 kB / 413.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0185, allocations: 0 / 413.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000429/0.01893, allocations: 155.5 kB / 413.8 MB, free: 15.84 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.001223/0.02015, allocations: 1.455 MB / 415.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.02059, allocations: 360 kB / 415.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.0206, allocations: 4.5 kB / 415.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.02077, 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.0003797/0.02115, allocations: 79.78 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.003237/0.02438, allocations: 3.523 MB / 419.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.02454, allocations: 211 kB / 419.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.894e-05/0.02464, 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.0001133/0.02476, allocations: 116.5 kB / 419.7 MB, free: 9.637 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02476, allocations: 0 / 419.7 MB, free: 9.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.04962, allocations: 9.469 MB / 429.2 MB, free: 384 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.9723011190071702] Failed to read output from testmodel.py, exit status != 0: 0.28063022531569004 0.295784837 0.28485081100000004 Calling exit ...