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.0008877/0.0008877, 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.001027/0.001027, 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.8984/0.8984, allocations: 177.1 MB / 203.5 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.03975/0.03975, allocations: 9.143 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_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 2.094e-06/2.094e-06, allocations: 0 / 397.1 MB, free: 72 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.617e-05, allocations: 2.281 kB / 397.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004584/0.00461, allocations: 2.949 MB / 400 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.005778, allocations: 0.8598 MB / 400.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.005929, allocations: 15.88 kB / 400.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.006199, allocations: 87.12 kB / 401 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.006398, allocations: 63.39 kB / 401 MB, free: 12.07 MB / 330.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.0006697/0.007067, allocations: 294.9 kB / 401.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.007404, allocations: 406.9 kB / 401.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.007638, allocations: 139.6 kB / 401.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.007846, allocations: 283.4 kB / 402.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.00804, allocations: 179.4 kB / 402.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.008083, allocations: 48 kB / 402.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.008319, allocations: 207.6 kB / 402.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.008429, allocations: 155.5 kB / 402.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.008527, allocations: 135.6 kB / 402.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.009106, allocations: 0.6969 MB / 403.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.009111, allocations: 0 / 403.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.009113, allocations: 7.938 kB / 403.5 MB, free: 9.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.00912, allocations: 0 / 403.5 MB, free: 9.551 MB / 330.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.001325/0.01044, allocations: 1.071 MB / 404.6 MB, free: 8.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.01049, allocations: 12.03 kB / 404.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.01056, allocations: 82.7 kB / 404.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.01064, allocations: 52.64 kB / 404.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.01091, allocations: 277.1 kB / 405 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.01094, allocations: 25.38 kB / 405.1 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.01097, allocations: 44.36 kB / 405.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000811/0.01178, allocations: 480.1 kB / 405.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.0118, allocations: 4.125 kB / 405.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.01182, allocations: 16.36 kB / 405.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01184, allocations: 16.12 kB / 405.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.01216, allocations: 259.8 kB / 405.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01326, allocations: 1.23 MB / 407.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.01365, allocations: 282.2 kB / 407.4 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.01379, allocations: 147.3 kB / 407.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.01382, allocations: 8 kB / 407.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.01407, allocations: 259.7 kB / 407.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.01408, allocations: 0 / 407.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007344/0.01481, allocations: 0.5918 MB / 408.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.0149, allocations: 160.5 kB / 408.5 MB, free: 4.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.01507, allocations: 235.1 kB / 408.7 MB, free: 4.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.0151, allocations: 45.7 kB / 408.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.01522, allocations: 212.7 kB / 409 MB, free: 3.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.01528, allocations: 107.2 kB / 409.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.01539, allocations: 122.3 kB / 409.2 MB, free: 3.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0155, allocations: 346.7 kB / 409.6 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.01565, allocations: 125.2 kB / 409.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.01588, allocations: 329.6 kB / 410 MB, free: 2.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.01631, allocations: 0.5059 MB / 410.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01631, allocations: 0 / 410.5 MB, free: 2.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000499/0.01681, allocations: 0.505 MB / 411 MB, free: 1.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.01683, allocations: 10.66 kB / 411 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.01684, allocations: 8 kB / 411 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.01686, allocations: 8 kB / 411 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.01701, allocations: 83.83 kB / 411.1 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.01702, allocations: 11.94 kB / 411.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01713, allocations: 39.77 kB / 411.2 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.01715, allocations: 28 kB / 411.2 MB, free: 1.344 MB / 330.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.0001936/0.01734, allocations: 246 kB / 411.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.01738, allocations: 35.8 kB / 411.5 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.01767, allocations: 231.3 kB / 411.7 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01767, allocations: 7.938 kB / 411.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.01768, allocations: 0 / 411.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.01768, allocations: 7.984 kB / 411.7 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1475/0.1652, allocations: 0.975 MB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.1652, allocations: 1.156 kB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.1653, allocations: 16.05 kB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.1653, allocations: 2.281 kB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.1653, allocations: 10.45 kB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1653, allocations: 3.688 kB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1653, allocations: 2.031 kB / 412.7 MB, free: 27.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.166, allocations: 0.6725 MB / 413.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.1661, allocations: 34.78 kB / 413.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.1661, allocations: 6.609 kB / 413.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.1662, allocations: 10.23 kB / 413.4 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.1663, allocations: 25.39 kB / 413.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.1663, allocations: 19 kB / 413.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.342e-05/0.1664, allocations: 139 kB / 413.6 MB, free: 26.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1664, allocations: 3.875 kB / 413.6 MB, free: 26.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.1669, allocations: 161.4 kB / 413.8 MB, free: 26.75 MB / 330.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.00124/0.1681, allocations: 1.458 MB / 415.2 MB, free: 25.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.1686, allocations: 353 kB / 415.6 MB, free: 25.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1686, allocations: 0 / 415.6 MB, free: 25.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1688, allocations: 153 kB / 415.7 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1692, allocations: 73.89 kB / 415.8 MB, free: 25.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.1721, allocations: 3.52 MB / 419.3 MB, free: 23.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1722, allocations: 216.4 kB / 419.5 MB, free: 23.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.1724, allocations: 51.83 kB / 419.6 MB, free: 23.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.1725, allocations: 114.4 kB / 419.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1725, allocations: 3.938 kB / 419.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1974, allocations: 9.46 MB / 429.2 MB, free: 20.18 MB / 330.7 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 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_UDP/656.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_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 (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 \"656\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/656.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.9777945913374424] Failed to read output from testmodel.py, exit status != 0: 0.3804645361378789 0.38631089300000004 0.37579770900000004 Calling exit ...