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.0008429/0.0008429, allocations: 76.45 kB / 19.97 MB, free: 4.59 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.0008996/0.0008996, allocations: 173.9 kB / 23.25 MB, free: 1.305 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.8689/0.8689, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.03527/0.03527, allocations: 9.134 MB / 269.1 MB, free: 4.473 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 1.683e-06/1.683e-06, allocations: 0 / 397.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.773e-05, allocations: 5.094 kB / 397.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.003323/0.003341, allocations: 2.95 MB / 400 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004531, allocations: 0.8676 MB / 400.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.00469, allocations: 11.88 kB / 400.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.004942, allocations: 79.14 kB / 401 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.005146, allocations: 63.39 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.000826/0.005972, allocations: 298.9 kB / 401.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.006385, allocations: 410.9 kB / 401.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.006623, allocations: 127.7 kB / 401.8 MB, free: 12.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.006841, allocations: 287.4 kB / 402.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.00705, allocations: 183.4 kB / 402.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.007101, allocations: 44 kB / 402.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.007348, allocations: 203.7 kB / 402.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.007463, allocations: 155.5 kB / 402.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.00757, allocations: 135.6 kB / 402.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.008151, allocations: 0.6969 MB / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.008154, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.008156, allocations: 0 / 403.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.008162, allocations: 4 kB / 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.001319/0.009482, allocations: 1.079 MB / 404.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.009522, allocations: 8.031 kB / 404.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.009585, allocations: 82.7 kB / 404.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.009662, allocations: 48.66 kB / 404.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.009933, allocations: 269.4 kB / 405 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.009961, allocations: 29.36 kB / 405 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.009997, allocations: 40.38 kB / 405.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.01053, allocations: 484 kB / 405.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01054, allocations: 4.125 kB / 405.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.01057, allocations: 20.38 kB / 405.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01058, allocations: 16.12 kB / 405.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.0109, allocations: 270 kB / 405.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.01206, allocations: 1.233 MB / 407.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.01246, allocations: 286.2 kB / 407.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.0126, allocations: 143.4 kB / 407.5 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.01263, allocations: 4 kB / 407.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.01287, allocations: 259.6 kB / 407.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.734e-06/0.01287, allocations: 4 kB / 407.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007618/0.01363, allocations: 0.5924 MB / 408.4 MB, free: 5.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.01374, allocations: 156.5 kB / 408.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.01393, allocations: 235.1 kB / 408.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.01397, allocations: 45.69 kB / 408.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01409, allocations: 204.7 kB / 409 MB, free: 4.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.01416, allocations: 115.1 kB / 409.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.01428, allocations: 126.3 kB / 409.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01438, allocations: 342.8 kB / 409.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01453, allocations: 125.2 kB / 409.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.01476, allocations: 337.6 kB / 410 MB, free: 3.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.01518, allocations: 0.502 MB / 410.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.01519, allocations: 4 kB / 410.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005301/0.01572, allocations: 0.5006 MB / 411 MB, free: 2.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.01573, allocations: 8 kB / 411 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01574, allocations: 8 kB / 411 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01576, allocations: 8.812 kB / 411 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.0159, allocations: 83.83 kB / 411.1 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.01591, allocations: 15.94 kB / 411.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.01602, allocations: 39.73 kB / 411.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.01605, allocations: 27.98 kB / 411.2 MB, free: 2.523 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.0001769/0.01622, allocations: 241.7 kB / 411.4 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.01626, allocations: 27.86 kB / 411.5 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.01652, allocations: 250.5 kB / 411.7 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01653, allocations: 4 kB / 411.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01653, allocations: 0 / 411.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.01654, allocations: 4 kB / 411.7 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/0.01737, allocations: 0.9727 MB / 412.7 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01737, allocations: 7.938 kB / 412.7 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.0174, allocations: 11.98 kB / 412.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.0174, allocations: 4 kB / 412.7 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.01742, allocations: 15.92 kB / 412.7 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01743, allocations: 4 kB / 412.7 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01743, allocations: 4 kB / 412.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.01795, allocations: 0.6542 MB / 413.4 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.01798, allocations: 39.69 kB / 413.4 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.018, allocations: 11.98 kB / 413.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.01807, allocations: 4.062 kB / 413.5 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.01811, allocations: 27.84 kB / 413.5 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.01814, allocations: 19.98 kB / 413.5 MB, free: 140 kB / 378.7 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.01823, allocations: 142.9 kB / 413.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01823, allocations: 0 / 413.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003993/0.01863, allocations: 159.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.001215/0.01984, allocations: 1.454 MB / 415.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.02025, allocations: 367.6 kB / 415.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02025, allocations: 0 / 415.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.02041, 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.0003456/0.02076, allocations: 72.23 kB / 415.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.02351, allocations: 3.523 MB / 419.3 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.02365, allocations: 207 kB / 419.6 MB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.02374, allocations: 59.23 kB / 419.6 MB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.02385, allocations: 112.5 kB / 419.7 MB, free: 9.652 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02385, allocations: 0 / 419.7 MB, free: 9.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.04421, allocations: 9.473 MB / 429.2 MB, free: 352 kB / 394.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.827338868752122] Failed to read output from testmodel.py, exit status != 0: 0.2553241280838847 0.263851574 0.254026793 Calling exit ...