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.001421/0.001421, allocations: 113.8 kB / 17.88 MB, free: 5.051 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.002197/0.002197, allocations: 213.6 kB / 20.84 MB, free: 2.105 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.524/1.524, allocations: 230.6 MB / 254.2 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.06196/0.06196, allocations: 12.21 MB / 322.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 62.59 kB / 448.8 MB, free: 38.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1051, allocations: 56.37 MB / 0.4933 GB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004527/0.1097, allocations: 2.938 MB / 0.4962 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.1122, allocations: 0.9379 MB / 0.4971 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.1126, allocations: 15.81 kB / 0.4971 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.113, allocations: 83.2 kB / 0.4972 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1132, allocations: 55.45 kB / 0.4973 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.0009718/0.1142, allocations: 287.2 kB / 0.4975 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.1148, allocations: 414.8 kB / 0.4979 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.1152, allocations: 175 kB / 0.4981 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1154, allocations: 207.3 kB / 0.4983 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.1158, allocations: 235 kB / 0.4985 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.1158, allocations: 48 kB / 0.4986 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.1162, allocations: 195.8 kB / 0.4988 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1164, allocations: 151.5 kB / 0.4989 GB, free: 11.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002164/0.1166, allocations: 214.8 kB / 0.4991 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1176, allocations: 0.6808 MB / 0.4998 GB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1176, allocations: 0 / 0.4998 GB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1176, allocations: 8 kB / 0.4998 GB, free: 11.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1176, allocations: 0 / 0.4998 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.001976/0.1196, allocations: 1.166 MB / 0.5009 GB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1197, allocations: 12.03 kB / 0.5009 GB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.043e-05/0.1197, allocations: 9.188 kB / 0.5009 GB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.1198, allocations: 82.7 kB / 0.501 GB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1199, allocations: 52.64 kB / 0.5011 GB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.1203, allocations: 339.5 kB / 0.5014 GB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.1204, allocations: 29.38 kB / 0.5014 GB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.1205, allocations: 40.36 kB / 0.5015 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.1213, allocations: 0.4899 MB / 0.5019 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1213, allocations: 0 / 0.5019 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.1214, allocations: 24 kB / 0.502 GB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.1214, allocations: 8 kB / 0.502 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.1219, allocations: 274 kB / 0.5022 GB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1237, allocations: 1.432 MB / 0.5036 GB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.1243, allocations: 293 kB / 0.5039 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.1246, allocations: 144.3 kB / 0.504 GB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.1246, allocations: 11.98 kB / 0.5041 GB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.125, allocations: 259.7 kB / 0.5043 GB, free: 6.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.125, allocations: 3.938 kB / 0.5043 GB, free: 6.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001226/0.1263, allocations: 0.6026 MB / 0.5049 GB, free: 5.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.1264, allocations: 190.4 kB / 0.5051 GB, free: 5.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1267, allocations: 242.9 kB / 0.5053 GB, free: 4.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.1267, allocations: 45.69 kB / 0.5054 GB, free: 4.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1269, allocations: 217.3 kB / 0.5056 GB, free: 4.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.127, allocations: 111.2 kB / 0.5057 GB, free: 4.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.1272, allocations: 122.2 kB / 0.5058 GB, free: 4.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1274, allocations: 342.8 kB / 0.5061 GB, free: 4.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.1276, allocations: 125 kB / 0.5062 GB, free: 4.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.1281, allocations: 354.6 kB / 0.5066 GB, free: 3.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.1288, allocations: 0.5154 MB / 0.5071 GB, free: 2.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.1288, allocations: 4 kB / 0.5071 GB, free: 2.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009021/0.1297, allocations: 0.5092 MB / 0.5076 GB, free: 2.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1297, allocations: 11.98 kB / 0.5076 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.1298, allocations: 8 kB / 0.5076 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.1298, allocations: 12 kB / 0.5076 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.1301, allocations: 87.77 kB / 0.5077 GB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.1301, allocations: 15.94 kB / 0.5077 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.1303, allocations: 43.67 kB / 0.5077 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.1304, allocations: 27.98 kB / 0.5078 GB, free: 2.227 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.0003266/0.1307, allocations: 246.3 kB / 0.508 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.1308, allocations: 31.81 kB / 0.508 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.1315, allocations: 392.9 kB / 0.5084 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1315, allocations: 11.94 kB / 0.5084 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1315, allocations: 0 / 0.5084 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1315, allocations: 4.078 kB / 0.5084 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.1329, allocations: 0.9582 MB / 0.5094 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.1329, allocations: 4 kB / 0.5094 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.133, allocations: 23.92 kB / 0.5094 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.133, allocations: 0 / 0.5094 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.133, allocations: 11.98 kB / 0.5094 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.133, allocations: 0 / 0.5094 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1331, allocations: 4 kB / 0.5094 GB, free: 492 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.134, allocations: 0.6083 MB / 0.51 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.1341, allocations: 116.7 kB / 0.5101 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.1341, allocations: 7.984 kB / 0.5101 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1342, allocations: 15.97 kB / 0.5101 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.1343, allocations: 19.98 kB / 0.5102 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.1343, allocations: 19.98 kB / 0.5102 GB, free: 15.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1345, allocations: 142.8 kB / 0.5103 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1345, allocations: 0 / 0.5103 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006571/0.1351, allocations: 159.5 kB / 0.5105 GB, free: 15.35 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.002007/0.1371, allocations: 1.387 MB / 0.5118 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007355/0.1379, allocations: 369.1 kB / 0.5122 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1379, allocations: 0 / 0.5122 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.1382, allocations: 151.8 kB / 0.5123 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.1387, allocations: 69.19 kB / 0.5124 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.1435, allocations: 3.504 MB / 0.5158 GB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.144, allocations: 0.8267 MB / 0.5166 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.1442, allocations: 46.95 kB / 0.5167 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.1444, allocations: 119.4 kB / 0.5168 GB, free: 8.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1444, allocations: 0 / 0.5168 GB, free: 8.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.1739, allocations: 8.604 MB / 0.5252 GB, free: 252 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- 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;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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.1679852490196936] Failed to read output from testmodel.py, exit status != 0: 0.561687727982644 0.57814833 0.457242617 Calling exit ...