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.001759/0.001759, allocations: 118.4 kB / 19.74 MB, free: 2.141 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.001655/0.001655, allocations: 224.2 kB / 23.05 MB, free: 4.941 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8 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.06285/0.06285, allocations: 12.23 MB / 325.5 MB, free: 7.258 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.001998/0.001998, allocations: 59.91 kB / 453.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 56.4 MB / 0.4978 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.005239/0.1198, allocations: 3.044 MB / 0.5008 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1216, allocations: 0.9417 MB / 0.5017 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1217, allocations: 11.88 kB / 0.5017 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.122, allocations: 83.2 kB / 0.5018 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1222, allocations: 67.44 kB / 0.5019 GB, free: 12.35 MB / 382.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.0007974/0.123, allocations: 287.2 kB / 0.5022 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.1235, allocations: 414.8 kB / 0.5026 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.1238, allocations: 135.6 kB / 0.5027 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.1241, allocations: 203.3 kB / 0.5029 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003319/0.1244, allocations: 242.9 kB / 0.5031 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.91e-05/0.1245, allocations: 48 kB / 0.5032 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.1248, allocations: 207.8 kB / 0.5033 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.125, allocations: 155.5 kB / 0.5035 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.1252, allocations: 210.8 kB / 0.5037 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.126, allocations: 0.6886 MB / 0.5044 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.126, allocations: 3.984 kB / 0.5044 GB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.126, allocations: 0 / 0.5044 GB, free: 9.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.126, allocations: 4 kB / 0.5044 GB, free: 9.773 MB / 382.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.001791/0.1278, allocations: 1.075 MB / 0.5054 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1279, allocations: 8.031 kB / 0.5054 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.128, allocations: 86.69 kB / 0.5055 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.1281, allocations: 48.66 kB / 0.5056 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.1285, allocations: 274.4 kB / 0.5058 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.1286, allocations: 29.38 kB / 0.5059 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.1286, allocations: 44.36 kB / 0.5059 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.1295, allocations: 493.8 kB / 0.5064 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1295, allocations: 7.938 kB / 0.5064 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.1295, allocations: 20 kB / 0.5064 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1296, allocations: 8 kB / 0.5064 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.1301, allocations: 269.9 kB / 0.5067 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1318, allocations: 1.404 MB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.1324, allocations: 289 kB / 0.5083 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.1327, allocations: 156.3 kB / 0.5085 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1327, allocations: 8.062 kB / 0.5085 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1331, allocations: 263.7 kB / 0.5087 GB, free: 5.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 1.854e-06/0.1332, allocations: 0 / 0.5087 GB, free: 5.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00116/0.1343, allocations: 0.5986 MB / 0.5093 GB, free: 4.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.1344, allocations: 186.4 kB / 0.5095 GB, free: 4.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1347, allocations: 250.9 kB / 0.5097 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.1348, allocations: 45.69 kB / 0.5098 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1349, allocations: 205.4 kB / 0.51 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.135, allocations: 115.2 kB / 0.5101 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.1352, allocations: 126.3 kB / 0.5102 GB, free: 3.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1354, allocations: 346.8 kB / 0.5105 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.1356, allocations: 125.2 kB / 0.5106 GB, free: 2.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.136, allocations: 347.6 kB / 0.511 GB, free: 2.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.1368, allocations: 0.5195 MB / 0.5115 GB, free: 1.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1368, allocations: 4 kB / 0.5115 GB, free: 1.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008545/0.1376, allocations: 0.5122 MB / 0.512 GB, free: 1.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1376, allocations: 8.906 kB / 0.512 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1377, allocations: 8 kB / 0.512 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.1377, allocations: 16 kB / 0.512 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.138, allocations: 79.83 kB / 0.5121 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.138, allocations: 23.86 kB / 0.5121 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.1382, allocations: 39.73 kB / 0.5121 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.1382, allocations: 28 kB / 0.5122 GB, free: 1.203 MB / 382.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.0003054/0.1385, allocations: 249.5 kB / 0.5124 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.1386, allocations: 31.81 kB / 0.5124 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.1393, allocations: 385 kB / 0.5128 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1393, allocations: 4 kB / 0.5128 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1393, allocations: 3.938 kB / 0.5128 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.1393, allocations: 7.984 kB / 0.5128 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2445/0.3838, allocations: 0.9278 MB / 0.5137 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.3838, allocations: 3.188 kB / 0.5137 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.3839, allocations: 14.56 kB / 0.5137 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3839, allocations: 2.094 kB / 0.5137 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.3839, allocations: 14.89 kB / 0.5138 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3839, allocations: 1.469 kB / 0.5138 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3839, allocations: 6.078 kB / 0.5138 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007105/0.3846, allocations: 0.6078 MB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.3847, allocations: 29.19 kB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.101e-05/0.3847, allocations: 9.031 kB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3848, allocations: 17.19 kB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.3849, allocations: 28.06 kB / 0.5144 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.3849, allocations: 18.38 kB / 0.5145 GB, free: 20.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.385, allocations: 141.1 kB / 0.5146 GB, free: 20.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.385, allocations: 0 / 0.5146 GB, free: 20.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006177/0.3856, allocations: 159.7 kB / 0.5147 GB, free: 20.85 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.001539/0.3872, allocations: 1.387 MB / 0.5161 GB, free: 20.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006159/0.3878, allocations: 375.4 kB / 0.5165 GB, free: 20.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3878, allocations: 0 / 0.5165 GB, free: 20.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.388, allocations: 152.5 kB / 0.5166 GB, free: 20.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.3885, allocations: 78.52 kB / 0.5167 GB, free: 20.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.392, allocations: 3.509 MB / 0.5201 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3923, allocations: 0.8201 MB / 0.5209 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.3924, allocations: 52.97 kB / 0.521 GB, free: 17.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3925, allocations: 115.6 kB / 0.5211 GB, free: 17.42 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3925, allocations: 4 kB / 0.5211 GB, free: 17.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.4433, allocations: 8.903 MB / 0.5298 GB, free: 16.24 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '824.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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/824.fmutmp/sources/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/824.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 \"824\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/824.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.3309868299984373] Failed to read output from testmodel.py, exit status != 0: 0.8534468809957616 0.867577214 0.738814494 Calling exit ...