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.001853/0.001853, allocations: 112 kB / 17.17 MB, free: 5.887 MB / 14.72 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.002091/0.002091, allocations: 208 kB / 20.14 MB, free: 2.934 MB / 14.72 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 1.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.0622/0.0622, allocations: 12.22 MB / 321.8 MB, free: 13.29 MB / 254.1 MB " [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 0.001886/0.001886, allocations: 71.23 kB / 448.1 MB, free: 38.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.0927, allocations: 56.35 MB / 0.4926 GB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.00464/0.09734, allocations: 2.931 MB / 0.4955 GB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.09923, allocations: 0.9145 MB / 0.4964 GB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.0994, allocations: 11.88 kB / 0.4964 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.0997, allocations: 83.19 kB / 0.4965 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.0999, allocations: 55.53 kB / 0.4965 GB, free: 13.68 MB / 366.1 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.0008006/0.1007, allocations: 279.2 kB / 0.4968 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.1012, allocations: 410.9 kB / 0.4972 GB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.1015, allocations: 171 kB / 0.4974 GB, free: 12.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1017, allocations: 207.2 kB / 0.4976 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.102, allocations: 242.9 kB / 0.4978 GB, free: 12.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.1021, allocations: 48 kB / 0.4978 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.1024, allocations: 199.8 kB / 0.498 GB, free: 12.15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.1026, allocations: 143.6 kB / 0.4982 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1028, allocations: 210.9 kB / 0.4984 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.1036, allocations: 0.6769 MB / 0.499 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1036, allocations: 0 / 0.499 GB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1036, allocations: 0 / 0.499 GB, free: 11.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1036, allocations: 0 / 0.499 GB, free: 11.12 MB / 366.1 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.001742/0.1054, allocations: 1.164 MB / 0.5002 GB, free: 9.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1054, allocations: 12.03 kB / 0.5002 GB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.1055, allocations: 94.64 kB / 0.5003 GB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.1056, allocations: 52.61 kB / 0.5003 GB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.106, allocations: 311.7 kB / 0.5006 GB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.106, allocations: 37.3 kB / 0.5006 GB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.1061, allocations: 40.38 kB / 0.5007 GB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.1069, allocations: 488 kB / 0.5011 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1069, allocations: 3.938 kB / 0.5011 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.107, allocations: 19.94 kB / 0.5012 GB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.107, allocations: 12 kB / 0.5012 GB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.1075, allocations: 262 kB / 0.5014 GB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1092, allocations: 1.363 MB / 0.5028 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.1098, allocations: 282.3 kB / 0.503 GB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.11, allocations: 141.7 kB / 0.5032 GB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.11, allocations: 8.141 kB / 0.5032 GB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.1104, allocations: 263.4 kB / 0.5034 GB, free: 6.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.1104, allocations: 0 / 0.5034 GB, free: 6.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001179/0.1116, allocations: 0.5935 MB / 0.504 GB, free: 5.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.1117, allocations: 160.4 kB / 0.5042 GB, free: 5.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.112, allocations: 243 kB / 0.5044 GB, free: 5.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.1121, allocations: 41.7 kB / 0.5044 GB, free: 5.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1122, allocations: 216.7 kB / 0.5046 GB, free: 5.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.1123, allocations: 99.27 kB / 0.5047 GB, free: 4.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.1125, allocations: 126.2 kB / 0.5048 GB, free: 4.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1127, allocations: 350.7 kB / 0.5052 GB, free: 4.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1129, allocations: 121 kB / 0.5053 GB, free: 4.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.1134, allocations: 336.1 kB / 0.5056 GB, free: 3.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.1141, allocations: 0.502 MB / 0.5061 GB, free: 3.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1141, allocations: 0 / 0.5061 GB, free: 3.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009157/0.115, allocations: 0.4896 MB / 0.5066 GB, free: 2.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.1151, allocations: 11.94 kB / 0.5066 GB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.1151, allocations: 8 kB / 0.5066 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.1151, allocations: 12 kB / 0.5066 GB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.1154, allocations: 83.89 kB / 0.5067 GB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.1155, allocations: 12.02 kB / 0.5067 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1157, allocations: 51.61 kB / 0.5068 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.1157, allocations: 35.97 kB / 0.5068 GB, free: 2.578 MB / 366.1 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.0004273/0.1161, allocations: 238 kB / 0.507 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.1162, allocations: 35.8 kB / 0.5071 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.1168, allocations: 227.5 kB / 0.5073 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1168, allocations: 4 kB / 0.5073 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.1168, allocations: 3.938 kB / 0.5073 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1168, allocations: 11.98 kB / 0.5073 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1184, allocations: 1.031 MB / 0.5083 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1184, allocations: 0 / 0.5083 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.1184, allocations: 15.98 kB / 0.5083 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1184, allocations: 0 / 0.5083 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.1185, allocations: 15.92 kB / 0.5083 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1185, allocations: 3.938 kB / 0.5083 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1185, allocations: 0 / 0.5083 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008981/0.1194, allocations: 0.6657 MB / 0.509 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.1194, allocations: 100.9 kB / 0.5091 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.1195, allocations: 15.92 kB / 0.5091 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1196, allocations: 7.938 kB / 0.5091 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.1197, allocations: 27.91 kB / 0.5091 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.1197, allocations: 19.98 kB / 0.5091 GB, free: 52 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1199, allocations: 139 kB / 0.5093 GB, free: 15.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1199, allocations: 96 / 0.5093 GB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006289/0.1205, allocations: 163.3 kB / 0.5094 GB, free: 15.75 MB / 382.1 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.002191/0.1227, allocations: 1.436 MB / 0.5108 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.1234, allocations: 368.4 kB / 0.5112 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1234, allocations: 1.75 kB / 0.5112 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.1237, allocations: 147.8 kB / 0.5113 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.1243, allocations: 76.14 kB / 0.5114 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.129, allocations: 3.539 MB / 0.5149 GB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.1294, allocations: 0.815 MB / 0.5157 GB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.1296, allocations: 54.92 kB / 0.5157 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.1298, allocations: 115.4 kB / 0.5158 GB, free: 8.941 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1298, allocations: 0 / 0.5158 GB, free: 8.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.1628, allocations: 8.448 MB / 0.5241 GB, free: 0.6758 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.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 14.0.0 -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.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 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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.151566932006972] Failed to read output from testmodel.py, exit status != 0: 0.5419699909980409 0.562925497 0.4554629 Calling exit ...