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.001748/0.001748, allocations: 110.7 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.002214/0.002214, allocations: 208.9 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.06147/0.06147, allocations: 12.23 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_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 0.001958/0.001958, allocations: 71.95 kB / 448.1 MB, free: 38.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09669, allocations: 56.36 MB / 0.4926 GB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004033/0.1007, allocations: 2.948 MB / 0.4955 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1025, allocations: 0.9301 MB / 0.4964 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1026, allocations: 11.88 kB / 0.4964 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1029, allocations: 83.2 kB / 0.4965 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.1031, allocations: 71.38 kB / 0.4966 GB, free: 13.62 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.0006974/0.1038, allocations: 275.2 kB / 0.4969 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.1043, allocations: 418.9 kB / 0.4973 GB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.1046, allocations: 167 kB / 0.4974 GB, free: 12.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1048, allocations: 203.3 kB / 0.4976 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.1051, allocations: 246.9 kB / 0.4978 GB, free: 12.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.1052, allocations: 47.94 kB / 0.4979 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1055, allocations: 195.8 kB / 0.4981 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.1056, allocations: 147.5 kB / 0.4982 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1058, allocations: 218.8 kB / 0.4984 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.1066, allocations: 0.6808 MB / 0.4991 GB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1066, allocations: 0 / 0.4991 GB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1066, allocations: 0 / 0.4991 GB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1066, allocations: 3.938 kB / 0.4991 GB, free: 11.04 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001799/0.1084, allocations: 1.174 MB / 0.5002 GB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.1085, allocations: 8.031 kB / 0.5002 GB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1086, allocations: 82.7 kB / 0.5003 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.829e-05/0.1087, allocations: 48.66 kB / 0.5004 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.1091, allocations: 335.5 kB / 0.5007 GB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1091, allocations: 37.38 kB / 0.5007 GB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.1092, allocations: 44.36 kB / 0.5008 GB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/0.11, allocations: 498 kB / 0.5012 GB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.11, allocations: 3.938 kB / 0.5012 GB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.1101, allocations: 12 kB / 0.5013 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.1101, allocations: 12 kB / 0.5013 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.1106, allocations: 266 kB / 0.5015 GB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.1123, allocations: 1.436 MB / 0.5029 GB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.1129, allocations: 289.1 kB / 0.5032 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1132, allocations: 156.2 kB / 0.5034 GB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1132, allocations: 7.984 kB / 0.5034 GB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.1136, allocations: 263.7 kB / 0.5036 GB, free: 6.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.863e-06/0.1136, allocations: 0 / 0.5036 GB, free: 6.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001251/0.1149, allocations: 0.5987 MB / 0.5042 GB, free: 5.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.115, allocations: 182.1 kB / 0.5044 GB, free: 5.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1153, allocations: 250.8 kB / 0.5046 GB, free: 5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.1154, allocations: 45.69 kB / 0.5047 GB, free: 4.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1155, allocations: 217.5 kB / 0.5049 GB, free: 4.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1157, allocations: 107.3 kB / 0.505 GB, free: 4.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.1158, allocations: 130.2 kB / 0.5051 GB, free: 4.496 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.116, allocations: 346.8 kB / 0.5054 GB, free: 4.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1163, allocations: 121 kB / 0.5055 GB, free: 4.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.1167, allocations: 354.6 kB / 0.5059 GB, free: 3.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.1174, allocations: 0.5193 MB / 0.5064 GB, free: 2.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.1174, allocations: 4 kB / 0.5064 GB, free: 2.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008785/0.1183, allocations: 0.5088 MB / 0.5069 GB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1183, allocations: 8 kB / 0.5069 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.1183, allocations: 8.312 kB / 0.5069 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.1183, allocations: 8 kB / 0.5069 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.1186, allocations: 87.77 kB / 0.507 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.1186, allocations: 19.86 kB / 0.507 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1188, allocations: 48.14 kB / 0.5071 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.1189, allocations: 32.05 kB / 0.5071 GB, free: 2.234 MB / 366.1 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.0003168/0.1192, allocations: 246.4 kB / 0.5073 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1193, allocations: 31.81 kB / 0.5073 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006704/0.1199, allocations: 396.8 kB / 0.5077 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1199, allocations: 4 kB / 0.5077 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1199, allocations: 7.938 kB / 0.5077 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.12, allocations: 0 / 0.5077 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1213, allocations: 0.9472 MB / 0.5087 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.1213, allocations: 7.938 kB / 0.5087 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.1214, allocations: 11.98 kB / 0.5087 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1214, allocations: 4 kB / 0.5087 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.1215, allocations: 19.98 kB / 0.5087 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1215, allocations: 0 / 0.5087 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1215, allocations: 4 kB / 0.5087 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.1223, allocations: 0.6009 MB / 0.5093 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.1224, allocations: 116.7 kB / 0.5094 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.1225, allocations: 11.98 kB / 0.5094 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.1226, allocations: 4 kB / 0.5094 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.1226, allocations: 23.97 kB / 0.5094 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.1227, allocations: 19.98 kB / 0.5095 GB, free: 15.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1228, allocations: 142.8 kB / 0.5096 GB, free: 15.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1228, allocations: 0 / 0.5096 GB, free: 15.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.1234, allocations: 159.5 kB / 0.5098 GB, free: 15.37 MB / 382.1 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.002088/0.1255, allocations: 1.399 MB / 0.5111 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.1262, allocations: 356.6 kB / 0.5115 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1262, allocations: 0 / 0.5115 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1265, allocations: 162.8 kB / 0.5116 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.127, allocations: 69.12 kB / 0.5117 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.1315, allocations: 3.505 MB / 0.5151 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.1319, allocations: 0.8186 MB / 0.5159 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.1321, allocations: 58.92 kB / 0.516 GB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.1323, allocations: 115.4 kB / 0.5161 GB, free: 8.605 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1323, allocations: 0 / 0.5161 GB, free: 8.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.1669, allocations: 8.56 MB / 0.5244 GB, free: 284 kB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.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.0561051780096022] Failed to read output from testmodel.py, exit status != 0: 0.5734798990015406 0.601140722 0.489574771 Calling exit ...