Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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.001698/0.001698, allocations: 113.8 kB / 17.17 MB, free: 5.855 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.002071/0.002071, allocations: 212 kB / 20.14 MB, free: 2.898 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06244/0.06244, allocations: 12.22 MB / 321.8 MB, free: 13.28 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_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 62.78 kB / 448.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09258, allocations: 56.36 MB / 0.4926 GB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.004091/0.09667, allocations: 2.923 MB / 0.4955 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.09849, allocations: 0.9145 MB / 0.4964 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.09864, allocations: 11.88 kB / 0.4964 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.09893, allocations: 83.19 kB / 0.4965 GB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.09912, allocations: 51.53 kB / 0.4965 GB, free: 13.67 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.0007841/0.09991, allocations: 287.2 kB / 0.4968 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.1004, allocations: 410.9 kB / 0.4972 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.1007, allocations: 171 kB / 0.4974 GB, free: 12.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.101, allocations: 203.3 kB / 0.4976 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.1013, allocations: 246.9 kB / 0.4978 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.1014, allocations: 47.94 kB / 0.4978 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.1017, allocations: 187.9 kB / 0.498 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1019, allocations: 155.5 kB / 0.4982 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000203/0.1021, allocations: 214.8 kB / 0.4984 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008075/0.1029, allocations: 0.6691 MB / 0.499 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.103, allocations: 4 kB / 0.499 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.103, allocations: 0 / 0.499 GB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.103, allocations: 0 / 0.499 GB, free: 11.11 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.001708/0.1047, allocations: 1.164 MB / 0.5002 GB, free: 9.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1047, allocations: 8.031 kB / 0.5002 GB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1048, allocations: 86.69 kB / 0.5003 GB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1049, allocations: 52.61 kB / 0.5003 GB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1053, allocations: 323.6 kB / 0.5006 GB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.1054, allocations: 29.36 kB / 0.5006 GB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.1054, allocations: 40.38 kB / 0.5007 GB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.1062, allocations: 484 kB / 0.5011 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1063, allocations: 3.938 kB / 0.5011 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.1063, allocations: 19.98 kB / 0.5012 GB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1063, allocations: 12 kB / 0.5012 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.1068, allocations: 263.7 kB / 0.5014 GB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1085, allocations: 1.367 MB / 0.5028 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.109, allocations: 274.4 kB / 0.503 GB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.1093, allocations: 143.5 kB / 0.5032 GB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.1093, allocations: 11.92 kB / 0.5032 GB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.1097, allocations: 267.4 kB / 0.5034 GB, free: 6.281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.914e-06/0.1097, allocations: 0 / 0.5034 GB, free: 6.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.00116/0.1109, allocations: 0.5929 MB / 0.504 GB, free: 5.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.111, allocations: 156.4 kB / 0.5042 GB, free: 5.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1113, allocations: 246.9 kB / 0.5044 GB, free: 5.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.1113, allocations: 49.62 kB / 0.5044 GB, free: 5.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1115, allocations: 204.7 kB / 0.5046 GB, free: 4.992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1116, allocations: 111.2 kB / 0.5047 GB, free: 4.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.1118, allocations: 122.2 kB / 0.5049 GB, free: 4.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1119, allocations: 354.7 kB / 0.5052 GB, free: 4.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.1122, allocations: 117 kB / 0.5053 GB, free: 4.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.1126, allocations: 332.1 kB / 0.5056 GB, free: 3.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.1133, allocations: 0.4943 MB / 0.5061 GB, free: 3.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.1133, allocations: 4 kB / 0.5061 GB, free: 3.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008795/0.1142, allocations: 0.4975 MB / 0.5066 GB, free: 2.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1142, allocations: 8 kB / 0.5066 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1142, allocations: 8.094 kB / 0.5066 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.1142, allocations: 12 kB / 0.5066 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.1145, allocations: 83.77 kB / 0.5067 GB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.1145, allocations: 12 kB / 0.5067 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.1147, allocations: 43.67 kB / 0.5068 GB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.1148, allocations: 31.92 kB / 0.5068 GB, free: 2.574 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.0003343/0.1151, allocations: 245.7 kB / 0.507 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.1152, allocations: 31.8 kB / 0.507 GB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.1156, allocations: 234 kB / 0.5073 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1156, allocations: 4 kB / 0.5073 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.1157, allocations: 4 kB / 0.5073 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1157, allocations: 3.984 kB / 0.5073 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.1172, allocations: 1.032 MB / 0.5083 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1172, allocations: 0 / 0.5083 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.1172, allocations: 16.05 kB / 0.5083 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.1173, allocations: 8.094 kB / 0.5083 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.1173, allocations: 19.86 kB / 0.5083 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1173, allocations: 0 / 0.5083 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1173, allocations: 4 kB / 0.5083 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.1182, allocations: 0.6639 MB / 0.509 GB, free: 228 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.1183, allocations: 100.9 kB / 0.5091 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.1184, allocations: 15.92 kB / 0.5091 GB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1185, allocations: 8 kB / 0.5091 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.1186, allocations: 19.97 kB / 0.5091 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.1186, allocations: 15.98 kB / 0.5091 GB, free: 48 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1188, allocations: 144.8 kB / 0.5093 GB, free: 15.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1188, allocations: 3.938 kB / 0.5093 GB, free: 15.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007373/0.1195, allocations: 163.4 kB / 0.5094 GB, free: 15.74 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.002211/0.1217, allocations: 1.437 MB / 0.5108 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.1225, allocations: 355.8 kB / 0.5112 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1225, allocations: 4 kB / 0.5112 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.1228, allocations: 143.9 kB / 0.5113 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.1234, allocations: 75.59 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.005063/0.1284, allocations: 3.549 MB / 0.5149 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.129, allocations: 0.815 MB / 0.5156 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.1292, allocations: 54.94 kB / 0.5157 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.1294, allocations: 111.4 kB / 0.5158 GB, free: 8.934 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1294, allocations: 0 / 0.5158 GB, free: 8.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.1629, allocations: 8.479 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_UDPAutoBufferSize.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_UDPAutoBufferSize/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize.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_UDPAutoBufferSize\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize.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.044451577006839] Failed to read output from testmodel.py, exit status != 0: 0.5449789979902562 0.560084139 0.45411819900000006 Calling exit ...