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.001176/0.001176, 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.001096/0.001096, 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.9418/0.9418, allocations: 177.1 MB / 203.6 MB, free: 5.758 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.03622/0.03622, allocations: 9.142 MB / 269.1 MB, free: 4.488 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 397.8 MB, free: 496 kB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.019e-05, allocations: 2.281 kB / 397.8 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.003277/0.003297, allocations: 2.946 MB / 400.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.004403, allocations: 0.8715 MB / 401.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004527, allocations: 15.81 kB / 401.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.004765, allocations: 79.14 kB / 401.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.004936, allocations: 55.45 kB / 401.8 MB, free: 12.49 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.0005678/0.005504, allocations: 298.9 kB / 402.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003073/0.005811, allocations: 402.9 kB / 402.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.006032, allocations: 135.7 kB / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.006223, allocations: 283.4 kB / 402.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.006425, allocations: 179.4 kB / 403.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.00647, allocations: 44 kB / 403.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.006675, allocations: 211.6 kB / 403.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.006786, allocations: 155.5 kB / 403.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.006886, allocations: 131.6 kB / 403.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.007406, allocations: 0.6969 MB / 404.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007408, allocations: 0 / 404.3 MB, free: 9.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007409, allocations: 4 kB / 404.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.007415, allocations: 0 / 404.3 MB, free: 9.98 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.001116/0.008531, allocations: 1.075 MB / 405.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.008576, allocations: 12.03 kB / 405.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.008638, allocations: 82.7 kB / 405.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.008704, allocations: 44.66 kB / 405.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.008958, allocations: 273.4 kB / 405.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.008988, allocations: 33.36 kB / 405.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.009021, allocations: 40.38 kB / 405.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.009515, allocations: 480 kB / 406.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.009528, allocations: 4.172 kB / 406.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.009553, allocations: 20.31 kB / 406.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.009564, allocations: 20.12 kB / 406.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.009878, allocations: 271.6 kB / 406.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.01087, allocations: 1.237 MB / 407.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.01123, allocations: 274.3 kB / 408.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01138, allocations: 152.2 kB / 408.3 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.0114, allocations: 4 kB / 408.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.01164, allocations: 259.5 kB / 408.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.01164, allocations: 0 / 408.5 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007757/0.01242, allocations: 0.5939 MB / 409.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.01249, allocations: 160.4 kB / 409.3 MB, free: 4.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.01265, allocations: 235.1 kB / 409.5 MB, free: 4.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.01268, allocations: 45.69 kB / 409.6 MB, free: 4.387 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.01279, allocations: 216.6 kB / 409.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.01285, allocations: 111.1 kB / 409.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-05/0.01295, allocations: 122.3 kB / 410 MB, free: 3.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.01304, allocations: 342.8 kB / 410.3 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.01318, allocations: 121.2 kB / 410.5 MB, free: 3.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.0134, allocations: 337 kB / 410.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.0138, allocations: 0.502 MB / 411.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01381, allocations: 0 / 411.3 MB, free: 2.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004809/0.01429, allocations: 0.493 MB / 411.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.0143, allocations: 8 kB / 411.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.01431, allocations: 11.98 kB / 411.8 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01433, allocations: 8 kB / 411.8 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01447, allocations: 84.44 kB / 411.9 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.01448, allocations: 11.98 kB / 411.9 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.01458, allocations: 43.73 kB / 411.9 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.0146, allocations: 31.94 kB / 412 MB, free: 1.754 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.0001761/0.01477, allocations: 245.7 kB / 412.2 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.0148, allocations: 27.86 kB / 412.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.01508, allocations: 239.3 kB / 412.5 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01509, allocations: 8 kB / 412.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.01509, allocations: 0 / 412.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.0151, allocations: 4 kB / 412.5 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.01591, allocations: 0.9881 MB / 413.5 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01591, allocations: 0 / 413.5 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.01594, allocations: 8 kB / 413.5 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01594, allocations: 4 kB / 413.5 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.01596, allocations: 12.08 kB / 413.5 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.01597, allocations: 15.98 kB / 413.5 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01597, allocations: 0 / 413.5 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.01649, allocations: 0.6697 MB / 414.2 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.01651, allocations: 27.75 kB / 414.2 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.01654, allocations: 8 kB / 414.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.0166, allocations: 3.984 kB / 414.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.01665, allocations: 27.91 kB / 414.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.01668, allocations: 19.98 kB / 414.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.01675, allocations: 138.8 kB / 414.4 MB, free: 15.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01675, allocations: 4 kB / 414.4 MB, free: 15.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000357/0.01711, allocations: 151.5 kB / 414.6 MB, free: 15.07 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.001275/0.01838, allocations: 1.464 MB / 416 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.01889, allocations: 364.1 kB / 416.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01889, allocations: 0 / 416.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.01905, allocations: 147 kB / 416.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.01942, allocations: 75.84 kB / 416.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.02229, allocations: 3.531 MB / 420.1 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.02243, allocations: 211 kB / 420.3 MB, free: 9.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.394e-05/0.02252, allocations: 55.23 kB / 420.4 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.02263, allocations: 112.5 kB / 420.5 MB, free: 8.871 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02263, allocations: 4 kB / 420.5 MB, free: 8.867 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08268/0.1053, allocations: 9.57 MB / 430.1 MB, free: 15.51 MB / 410.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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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_DIRECTORY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:264 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- 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: 2.2298533394932747]