Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.0008304/0.0008304, allocations: 76.55 kB / 19.97 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.001399/0.001399, 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.8894/0.8894, allocations: 177.1 MB / 203.6 MB, free: 5.738 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.04126/0.04126, allocations: 9.151 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_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 397.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.476e-05, allocations: 10.22 kB / 397.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004339/0.004364, allocations: 2.989 MB / 400.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.006229, allocations: 1.187 MB / 401.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.006418, allocations: 19.81 kB / 401.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.00671, allocations: 79.14 kB / 401.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.006928, allocations: 63.45 kB / 401.4 MB, free: 12.88 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.0008187/0.007747, allocations: 298.9 kB / 401.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004962/0.008243, allocations: 418.8 kB / 402.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.008535, allocations: 135.7 kB / 402.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.008856, allocations: 283.4 kB / 402.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.009133, allocations: 179.5 kB / 402.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.009193, allocations: 52 kB / 402.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.009516, allocations: 203.6 kB / 402.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.009666, allocations: 159.5 kB / 403.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.0098, allocations: 135.7 kB / 403.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.01056, allocations: 0.7085 MB / 403.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01057, allocations: 0 / 403.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01057, allocations: 0 / 403.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.01058, allocations: 0 / 403.9 MB, free: 10.34 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001636/0.01222, allocations: 1.075 MB / 405 MB, free: 9.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.01226, allocations: 8.031 kB / 405 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.585e-05/0.01235, allocations: 94.58 kB / 405.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.81e-05/0.01244, allocations: 56.59 kB / 405.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.01278, allocations: 269.9 kB / 405.4 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.01282, allocations: 33.38 kB / 405.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.01287, allocations: 44.36 kB / 405.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.01358, allocations: 485.8 kB / 406 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.01359, allocations: 4.125 kB / 406 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.01363, allocations: 28.11 kB / 406 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.01364, allocations: 8 kB / 406 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.01409, allocations: 269.9 kB / 406.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01558, allocations: 1.326 MB / 407.6 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.01608, allocations: 293.3 kB / 407.9 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.01628, allocations: 152.4 kB / 408 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.01631, allocations: 4 kB / 408.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.01664, allocations: 264.7 kB / 408.3 MB, free: 5.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.01664, allocations: 4 kB / 408.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009949/0.01764, allocations: 0.603 MB / 408.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.01774, allocations: 190.2 kB / 409.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.01798, allocations: 244 kB / 409.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.01801, allocations: 41.7 kB / 409.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.01814, allocations: 217.3 kB / 409.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.01823, allocations: 111.2 kB / 409.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.01838, allocations: 126.2 kB / 409.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.01849, allocations: 342.8 kB / 410.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.01868, allocations: 125.2 kB / 410.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.01898, allocations: 334 kB / 410.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.01957, allocations: 0.5146 MB / 411.1 MB, free: 2.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.01958, allocations: 4 kB / 411.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007388/0.02032, allocations: 0.4969 MB / 411.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.02034, allocations: 8 kB / 411.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.02035, allocations: 8 kB / 411.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.02037, allocations: 12 kB / 411.7 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.02058, allocations: 80.48 kB / 411.7 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.0206, allocations: 27.8 kB / 411.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.02076, allocations: 43.73 kB / 411.8 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.0208, allocations: 24 kB / 411.8 MB, free: 1.859 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (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,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],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 (67): * Single equations (assignments): 67 * 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.0002442/0.02104, allocations: 245.6 kB / 412.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.02109, allocations: 31.81 kB / 412.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.02164, allocations: 384.1 kB / 412.5 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.02165, allocations: 12 kB / 412.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.02166, allocations: 0 / 412.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.02166, allocations: 3.984 kB / 412.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.02279, allocations: 0.9039 MB / 413.4 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.02279, allocations: 0 / 413.4 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.02284, allocations: 15.98 kB / 413.4 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.02284, allocations: 4 kB / 413.4 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.02286, allocations: 12.08 kB / 413.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.02287, allocations: 3.938 kB / 413.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.02287, allocations: 4 kB / 413.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/0.0236, allocations: 0.6195 MB / 414 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.02363, allocations: 23.8 kB / 414.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.02366, allocations: 11.98 kB / 414.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.02376, allocations: 8.062 kB / 414.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.02381, allocations: 23.91 kB / 414.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.02384, allocations: 23.97 kB / 414.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.02395, allocations: 147.1 kB / 414.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02395, allocations: 0 / 414.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005794/0.02453, allocations: 163.4 kB / 414.4 MB, free: 15.14 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: 38 (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,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 (35): * Single equations (assignments): 12 * 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.001447/0.02597, allocations: 1.395 MB / 415.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005631/0.02654, allocations: 363.7 kB / 416.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02654, allocations: 0 / 416.2 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.02676, allocations: 151.8 kB / 416.3 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.02724, allocations: 83.61 kB / 416.4 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.03107, allocations: 3.5 MB / 419.9 MB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.03126, allocations: 226.8 kB / 420.1 MB, free: 9.168 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.03139, allocations: 47.09 kB / 420.2 MB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.03153, allocations: 112.5 kB / 420.3 MB, free: 9.004 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03154, allocations: 4 kB / 420.3 MB, free: 9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.05678, allocations: 9.595 MB / 429.9 MB, free: 15.61 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '929.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_UDPExternalTrigger/929.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_UDPExternalTrigger/929.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 \"929\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.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.8895330727100372] Failed to read output from testmodel.py, exit status != 0: 0.2685185391455889 0.282336004 0.26956115699999994 Calling exit ...