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.00144/0.00144, allocations: 115.7 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.001546/0.001546, allocations: 220.7 kB / 23.05 MB, free: 4.945 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.06437/0.06437, allocations: 12.22 MB / 325.5 MB, free: 7.27 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.002061/0.002061, allocations: 67.91 kB / 453.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1278, allocations: 56.4 MB / 0.4978 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.005449/0.1332, allocations: 3.014 MB / 0.5008 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1352, allocations: 0.9265 MB / 0.5017 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1354, allocations: 15.88 kB / 0.5017 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.1357, allocations: 75.2 kB / 0.5018 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1359, allocations: 59.52 kB / 0.5018 GB, free: 12.43 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.0008209/0.1367, allocations: 295.1 kB / 0.5021 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.1372, allocations: 414.8 kB / 0.5025 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.1375, allocations: 135.5 kB / 0.5026 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.1377, allocations: 203.3 kB / 0.5028 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.1381, allocations: 239 kB / 0.503 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.1381, allocations: 48 kB / 0.5031 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.1385, allocations: 207.8 kB / 0.5033 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1387, allocations: 151.5 kB / 0.5034 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.1389, allocations: 214.8 kB / 0.5036 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.1398, allocations: 0.6769 MB / 0.5043 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.1398, allocations: 0 / 0.5043 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1398, allocations: 0 / 0.5043 GB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1398, allocations: 4 kB / 0.5043 GB, free: 9.867 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001962/0.1417, allocations: 1.074 MB / 0.5053 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1418, allocations: 8.031 kB / 0.5054 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1419, allocations: 86.7 kB / 0.5054 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.142, allocations: 56.59 kB / 0.5055 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.1425, allocations: 266.3 kB / 0.5057 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/0.1425, allocations: 33.38 kB / 0.5058 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.1426, allocations: 36.36 kB / 0.5058 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.1434, allocations: 488 kB / 0.5063 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1434, allocations: 3.938 kB / 0.5063 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.1435, allocations: 19.92 kB / 0.5063 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1435, allocations: 12 kB / 0.5063 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.144, allocations: 263.7 kB / 0.5066 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1459, allocations: 1.323 MB / 0.5079 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.1465, allocations: 278.3 kB / 0.5081 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.1468, allocations: 141.7 kB / 0.5083 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.1468, allocations: 23.98 kB / 0.5083 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/0.1472, allocations: 247.8 kB / 0.5085 GB, free: 5.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.1472, allocations: 0 / 0.5085 GB, free: 5.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001182/0.1484, allocations: 0.59 MB / 0.5091 GB, free: 4.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.1485, allocations: 156.5 kB / 0.5092 GB, free: 4.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1488, allocations: 246.9 kB / 0.5095 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.1489, allocations: 41.7 kB / 0.5095 GB, free: 4.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1491, allocations: 212.7 kB / 0.5097 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1492, allocations: 107.2 kB / 0.5098 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.1494, allocations: 126.3 kB / 0.5099 GB, free: 3.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1496, allocations: 346.7 kB / 0.5103 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1499, allocations: 121.2 kB / 0.5104 GB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.1504, allocations: 341 kB / 0.5107 GB, free: 2.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.1512, allocations: 0.4943 MB / 0.5112 GB, free: 2.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1512, allocations: 0 / 0.5112 GB, free: 2.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009401/0.1522, allocations: 0.4931 MB / 0.5117 GB, free: 1.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.1522, allocations: 8 kB / 0.5117 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.1522, allocations: 8.062 kB / 0.5117 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.1523, allocations: 12.75 kB / 0.5117 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.1526, allocations: 87.77 kB / 0.5118 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.1526, allocations: 16.08 kB / 0.5118 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1528, allocations: 51.66 kB / 0.5119 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1528, allocations: 24 kB / 0.5119 GB, free: 1.562 MB / 382.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.0003313/0.1532, allocations: 241.4 kB / 0.5121 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.1532, allocations: 35.81 kB / 0.5121 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.1537, allocations: 235.3 kB / 0.5124 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1537, allocations: 7.984 kB / 0.5124 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1537, allocations: 0 / 0.5124 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1537, allocations: 4 kB / 0.5124 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2347/0.3884, allocations: 1.009 MB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.3884, allocations: 2.219 kB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/0.3885, allocations: 13.16 kB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3885, allocations: 2.656 kB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/0.3886, allocations: 18.06 kB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3886, allocations: 2.344 kB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3886, allocations: 1.938 kB / 0.5134 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.3894, allocations: 0.6623 MB / 0.514 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.3894, allocations: 30.3 kB / 0.5141 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.3894, allocations: 7.922 kB / 0.5141 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3896, allocations: 10.09 kB / 0.5141 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3897, allocations: 21.47 kB / 0.5141 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.3897, allocations: 17.97 kB / 0.5141 GB, free: 20.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.385e-05/0.3898, allocations: 144.3 kB / 0.5143 GB, free: 20.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 0.5143 GB, free: 20.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006205/0.3904, allocations: 162.3 kB / 0.5144 GB, free: 20.62 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.00149/0.3919, allocations: 1.441 MB / 0.5158 GB, free: 19.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.3925, allocations: 363.2 kB / 0.5162 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3925, allocations: 0 / 0.5162 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.3928, allocations: 148.6 kB / 0.5163 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.3934, allocations: 78.75 kB / 0.5164 GB, free: 19.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.3967, allocations: 3.537 MB / 0.5198 GB, free: 17.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.397, allocations: 0.8203 MB / 0.5206 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3971, allocations: 51.86 kB / 0.5207 GB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3972, allocations: 115 kB / 0.5208 GB, free: 17.12 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3972, allocations: 0 / 0.5208 GB, free: 17.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.4388, allocations: 8.817 MB / 0.5294 GB, free: 16.02 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '683.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_UDPAutoBufferSize/683.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_UDPAutoBufferSize/683.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 \"683\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/683.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.4347263190429658] Failed to read output from testmodel.py, exit status != 0: 0.874100374057889 0.892939415 0.749745946 Calling exit ...