Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001141/0.001141, allocations: 76.45 kB / 19.96 MB, free: 4.594 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.0013/0.0013, allocations: 173.2 kB / 23.25 MB, free: 1.301 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.8652/0.8652, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.0342/0.0342, allocations: 9.14 MB / 269.1 MB, free: 4.457 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 397.1 MB, free: 52 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.87e-05, allocations: 5.375 kB / 397.1 MB, free: 48 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003031/0.00305, allocations: 2.969 MB / 400 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.004079, allocations: 0.8754 MB / 400.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.004196, allocations: 11.88 kB / 400.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.004653, allocations: 79.14 kB / 401 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.00485, allocations: 75.27 kB / 401.1 MB, free: 12.01 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.0005902/0.00544, allocations: 294.9 kB / 401.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.005794, allocations: 410.8 kB / 401.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.006015, allocations: 147.6 kB / 401.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.006242, allocations: 283.4 kB / 402.2 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.006443, allocations: 183.4 kB / 402.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.006485, allocations: 44 kB / 402.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.00671, allocations: 207.6 kB / 402.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.006824, allocations: 155.5 kB / 402.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.617e-05/0.00692, allocations: 135.6 kB / 402.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.00754, allocations: 0.7046 MB / 403.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007544, allocations: 0 / 403.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.007546, allocations: 0 / 403.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.007556, allocations: 4 kB / 403.6 MB, free: 9.477 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001411/0.008967, allocations: 1.084 MB / 404.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.009007, allocations: 8.031 kB / 404.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.00907, allocations: 82.7 kB / 404.8 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.998e-05/0.00915, allocations: 52.61 kB / 404.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.009421, allocations: 265.2 kB / 405.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.009455, allocations: 37.36 kB / 405.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.009491, allocations: 40.38 kB / 405.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.01002, allocations: 497.8 kB / 405.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.01003, allocations: 192 / 405.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.01005, allocations: 20.36 kB / 405.7 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.01006, allocations: 20.06 kB / 405.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.0104, allocations: 265.9 kB / 405.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.01149, allocations: 1.311 MB / 407.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.01187, allocations: 296.9 kB / 407.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.01202, allocations: 156.3 kB / 407.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.01205, allocations: 7.984 kB / 407.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.01248, allocations: 268.3 kB / 408 MB, free: 4.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.392e-06/0.01248, allocations: 0 / 408 MB, free: 4.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007037/0.01319, allocations: 0.5992 MB / 408.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.01327, allocations: 186.2 kB / 408.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.01342, allocations: 239 kB / 409 MB, free: 3.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.01345, allocations: 49.69 kB / 409 MB, free: 3.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.01354, allocations: 205.4 kB / 409.2 MB, free: 3.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/0.01361, allocations: 119.1 kB / 409.3 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.0137, allocations: 126.3 kB / 409.5 MB, free: 3.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.01379, allocations: 350.7 kB / 409.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01394, allocations: 129.5 kB / 409.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.01416, allocations: 347.6 kB / 410.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.01456, allocations: 0.5156 MB / 410.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01456, allocations: 0 / 410.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004959/0.01506, allocations: 0.517 MB / 411.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.01508, allocations: 10.5 kB / 411.3 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.01509, allocations: 11.98 kB / 411.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01511, allocations: 16.03 kB / 411.3 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01526, allocations: 75.84 kB / 411.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.01527, allocations: 19.92 kB / 411.4 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01537, allocations: 39.73 kB / 411.5 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.01539, allocations: 35.92 kB / 411.5 MB, free: 0.9688 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (69): * Single equations (assignments): 69 * 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.0001811/0.01558, allocations: 249.5 kB / 411.8 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.01561, allocations: 27.84 kB / 411.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.01601, allocations: 383 kB / 412.2 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01602, allocations: 4 kB / 412.2 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.01602, allocations: 4 kB / 412.2 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01603, allocations: 3.984 kB / 412.2 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1364/0.1524, allocations: 0.8909 MB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1524, allocations: 1.938 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.1525, allocations: 16.23 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1525, allocations: 6.594 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.1525, allocations: 17.81 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1525, allocations: 2.172 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1525, allocations: 1.219 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.1531, allocations: 0.6131 MB / 413.7 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.1532, allocations: 35.78 kB / 413.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1532, allocations: 12.69 kB / 413.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1533, allocations: 13.06 kB / 413.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1533, allocations: 22.95 kB / 413.8 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.1533, allocations: 20.83 kB / 413.8 MB, free: 26.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.423e-05/0.1534, allocations: 138.4 kB / 414 MB, free: 26.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 0 / 414 MB, free: 26.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004479/0.1539, allocations: 155.3 kB / 414.1 MB, free: 26.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.001148/0.155, allocations: 1.403 MB / 415.5 MB, free: 25.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.1555, allocations: 376.2 kB / 415.9 MB, free: 25.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1555, allocations: 0 / 415.9 MB, free: 25.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.1557, allocations: 155.5 kB / 416 MB, free: 25.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.156, allocations: 74.31 kB / 416.1 MB, free: 25.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.1588, allocations: 3.501 MB / 419.6 MB, free: 23.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.159, allocations: 218.4 kB / 419.8 MB, free: 23.15 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1591, allocations: 50.17 kB / 419.9 MB, free: 23.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.1592, allocations: 119.3 kB / 420 MB, free: 23.05 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1592, allocations: 0 / 420 MB, free: 23.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.1841, allocations: 9.548 MB / 429.5 MB, free: 19.99 MB / 330.7 MB Error: Error building simulator. Build log: cmd: cd '824.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_UDPWithoutReceiveThread/824.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_UDPWithoutReceiveThread/824.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 \"824\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/824.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.9164627632126212] Failed to read output from testmodel.py, exit status != 0: 0.40353241842240095 0.413285485 0.40438154600000004 Calling exit ...