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.000853/0.000853, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 177.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.8797/0.8797, allocations: 177.1 MB / 203.6 MB, free: 5.715 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.03477/0.03477, allocations: 9.139 MB / 269.1 MB, free: 4.453 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.423e-06/1.423e-06, allocations: 0 / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.459e-05, allocations: 2.281 kB / 397.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002954/0.002969, allocations: 2.976 MB / 400 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003989, allocations: 0.8793 MB / 400.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.004107, allocations: 11.88 kB / 400.9 MB, free: 13.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.00433, allocations: 83.14 kB / 401 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.004505, allocations: 67.33 kB / 401.1 MB, free: 13.2 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.0006914/0.005197, allocations: 294.9 kB / 401.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.005489, allocations: 418.8 kB / 401.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.005699, allocations: 135.7 kB / 401.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.00589, allocations: 283.4 kB / 402.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.006093, allocations: 179.5 kB / 402.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.006142, allocations: 44 kB / 402.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.006339, allocations: 207.5 kB / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.006449, allocations: 151.5 kB / 402.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.574e-05/0.006545, allocations: 143.6 kB / 402.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.007068, allocations: 0.7046 MB / 403.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00707, allocations: 0 / 403.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007071, allocations: 0 / 403.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.007077, allocations: 4 kB / 403.6 MB, free: 10.67 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001067/0.008144, allocations: 1.076 MB / 404.7 MB, free: 9.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.008177, allocations: 8.031 kB / 404.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.008238, allocations: 82.7 kB / 404.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.008302, allocations: 52.61 kB / 404.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.008547, allocations: 265.5 kB / 405.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.008575, allocations: 33.36 kB / 405.1 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.008609, allocations: 40.31 kB / 405.1 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.009108, allocations: 497.9 kB / 405.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.009122, allocations: 4.125 kB / 405.6 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.009147, allocations: 24.36 kB / 405.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.009157, allocations: 16.12 kB / 405.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.009464, allocations: 273.8 kB / 405.9 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.01045, allocations: 1.307 MB / 407.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.01081, allocations: 301 kB / 407.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.01096, allocations: 152.2 kB / 407.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.01098, allocations: 15.92 kB / 407.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.01123, allocations: 268.1 kB / 408 MB, free: 5.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.01123, allocations: 0 / 408 MB, free: 5.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.000956/0.01219, allocations: 0.6031 MB / 408.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.01226, allocations: 182.2 kB / 408.8 MB, free: 5.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.01242, allocations: 243 kB / 409 MB, free: 4.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.01245, allocations: 45.69 kB / 409 MB, free: 4.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.01254, allocations: 201.4 kB / 409.2 MB, free: 4.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.01261, allocations: 115.2 kB / 409.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.01271, allocations: 126.3 kB / 409.5 MB, free: 4.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.0128, allocations: 355 kB / 409.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.01295, allocations: 125.2 kB / 409.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.01318, allocations: 343.6 kB / 410.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.0136, allocations: 0.5309 MB / 410.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.0136, allocations: 4 kB / 410.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005208/0.01412, allocations: 0.5053 MB / 411.3 MB, free: 2.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01414, allocations: 11.94 kB / 411.3 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01415, allocations: 12.09 kB / 411.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01416, allocations: 8 kB / 411.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01431, allocations: 83.83 kB / 411.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.01432, allocations: 15.92 kB / 411.4 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01442, allocations: 47.73 kB / 411.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.01444, allocations: 27.94 kB / 411.5 MB, free: 2.164 MB / 378.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.0001724/0.01461, allocations: 253.7 kB / 411.8 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.01465, allocations: 31.81 kB / 411.8 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.01506, allocations: 384.2 kB / 412.2 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.01506, allocations: 4 kB / 412.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01506, allocations: 0 / 412.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01507, allocations: 7.984 kB / 412.2 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.01588, allocations: 0.8848 MB / 413.1 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01588, allocations: 4 kB / 413.1 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.01591, allocations: 19.92 kB / 413.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01592, allocations: 4 kB / 413.1 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.01594, allocations: 19.86 kB / 413.1 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01594, allocations: 4 kB / 413.1 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01594, allocations: 0 / 413.1 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.01646, allocations: 0.6147 MB / 413.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01648, allocations: 23.8 kB / 413.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01651, allocations: 15.98 kB / 413.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.01657, allocations: 12.08 kB / 413.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.01661, allocations: 31.77 kB / 413.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.01664, allocations: 19.98 kB / 413.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.01671, allocations: 143 kB / 414 MB, free: 15.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01671, allocations: 0 / 414 MB, free: 15.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.01707, allocations: 163.4 kB / 414.1 MB, free: 15.45 MB / 394.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.001257/0.01832, allocations: 1.4 MB / 415.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.01873, allocations: 360.6 kB / 415.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01874, allocations: 0.5 kB / 415.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01891, allocations: 163.8 kB / 416 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.01922, allocations: 75.72 kB / 416.1 MB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.02191, allocations: 3.493 MB / 419.6 MB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.02206, allocations: 218.7 kB / 419.8 MB, free: 9.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.704e-05/0.02214, allocations: 55.36 kB / 419.9 MB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.02226, allocations: 116.5 kB / 420 MB, free: 9.297 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02226, allocations: 0 / 420 MB, free: 9.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.04562, allocations: 9.544 MB / 429.5 MB, free: 15.96 MB / 410.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.9064097749069333] Failed to read output from testmodel.py, exit status != 0: 0.2929619327187538 0.29967050199999995 0.29091387999999996 Calling exit ...