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.001778/0.001778, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.00218/0.00218, allocations: 224.3 kB / 23.04 MB, free: 4.617 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.06378/0.06378, allocations: 12.23 MB / 325.4 MB, free: 7.039 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.002994/0.002994, allocations: 63.91 kB / 453.3 MB, free: 8.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1526, allocations: 56.4 MB / 0.4977 GB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.006756/0.1593, allocations: 2.929 MB / 0.5006 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.1615, allocations: 0.8681 MB / 0.5015 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1618, allocations: 11.88 kB / 0.5015 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1622, allocations: 87.19 kB / 0.5015 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1625, allocations: 55.52 kB / 0.5016 GB, free: 12.38 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.001019/0.1635, allocations: 295.1 kB / 0.5019 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.1642, allocations: 406.9 kB / 0.5023 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003398/0.1646, allocations: 131.5 kB / 0.5024 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1649, allocations: 207.2 kB / 0.5026 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.1653, allocations: 215 kB / 0.5028 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1654, allocations: 44 kB / 0.5028 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.1659, allocations: 203.8 kB / 0.503 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.1661, allocations: 151.5 kB / 0.5032 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.1663, allocations: 167.1 kB / 0.5033 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.1674, allocations: 0.6808 MB / 0.504 GB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1674, allocations: 0 / 0.504 GB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1674, allocations: 3.938 kB / 0.504 GB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.1674, allocations: 0 / 0.504 GB, free: 9.895 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.002302/0.1697, allocations: 1.074 MB / 0.5051 GB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.1698, allocations: 8.031 kB / 0.5051 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.1699, allocations: 86.69 kB / 0.5051 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1701, allocations: 56.61 kB / 0.5052 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.1706, allocations: 258.4 kB / 0.5054 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.1707, allocations: 29.38 kB / 0.5055 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.1707, allocations: 44.36 kB / 0.5055 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.1716, allocations: 480 kB / 0.506 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1717, allocations: 15.81 kB / 0.506 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.1717, allocations: 19.98 kB / 0.506 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1717, allocations: 12 kB / 0.506 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.1723, allocations: 267.8 kB / 0.5063 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1743, allocations: 1.237 MB / 0.5075 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000628/0.1749, allocations: 286.3 kB / 0.5078 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.1752, allocations: 139.4 kB / 0.5079 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.1753, allocations: 11.98 kB / 0.5079 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000446/0.1757, allocations: 251.7 kB / 0.5081 GB, free: 5.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.1757, allocations: 0 / 0.5081 GB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001297/0.177, allocations: 0.5926 MB / 0.5087 GB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.1772, allocations: 152.5 kB / 0.5089 GB, free: 4.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.1775, allocations: 247 kB / 0.5091 GB, free: 4.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.1776, allocations: 49.69 kB / 0.5092 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1778, allocations: 200.7 kB / 0.5093 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.1779, allocations: 111.1 kB / 0.5094 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.1781, allocations: 126.2 kB / 0.5096 GB, free: 3.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.1784, allocations: 346.8 kB / 0.5099 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1787, allocations: 121.2 kB / 0.51 GB, free: 3.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1791, allocations: 337 kB / 0.5103 GB, free: 2.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.1799, allocations: 0.4942 MB / 0.5108 GB, free: 2.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.1799, allocations: 4 kB / 0.5108 GB, free: 2.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009834/0.1809, allocations: 0.4934 MB / 0.5113 GB, free: 1.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.1809, allocations: 10.19 kB / 0.5113 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.181, allocations: 8 kB / 0.5113 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.181, allocations: 12 kB / 0.5113 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.1813, allocations: 79.92 kB / 0.5114 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.1813, allocations: 23.86 kB / 0.5114 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1815, allocations: 39.73 kB / 0.5115 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.1816, allocations: 24 kB / 0.5115 GB, free: 1.684 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.0003419/0.1819, allocations: 258 kB / 0.5117 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.182, allocations: 31.81 kB / 0.5118 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004493/0.1824, allocations: 246.1 kB / 0.512 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.1824, allocations: 8 kB / 0.512 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1824, allocations: 0 / 0.512 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1824, allocations: 0 / 0.512 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.184, allocations: 0.9843 MB / 0.513 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.184, allocations: 0 / 0.513 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.1841, allocations: 19.94 kB / 0.513 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1841, allocations: 4 kB / 0.513 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1841, allocations: 11.92 kB / 0.513 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.1841, allocations: 0 / 0.513 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1841, allocations: 4 kB / 0.513 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2028/0.387, allocations: 0.6553 MB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.387, allocations: 30.94 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.387, allocations: 10.39 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3872, allocations: 10.88 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.3873, allocations: 20.38 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.3873, allocations: 19.62 kB / 0.5137 GB, free: 20.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3874, allocations: 146.1 kB / 0.5139 GB, free: 20.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3874, allocations: 0.8438 kB / 0.5139 GB, free: 20.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000683/0.3881, allocations: 155 kB / 0.514 GB, free: 20.88 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.001626/0.3898, allocations: 1.462 MB / 0.5155 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.3904, allocations: 357.2 kB / 0.5158 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3904, allocations: 0 / 0.5158 GB, free: 20.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.3906, allocations: 154.6 kB / 0.5159 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3912, allocations: 77.23 kB / 0.516 GB, free: 20.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.3948, allocations: 3.534 MB / 0.5195 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.395, allocations: 214.8 kB / 0.5197 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.3951, allocations: 50.03 kB / 0.5197 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3952, allocations: 112.2 kB / 0.5198 GB, free: 17.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3952, allocations: 0 / 0.5198 GB, free: 17.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.4354, allocations: 9.311 MB / 0.5289 GB, free: 16.39 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.532881159801036] Failed to read output from testmodel.py, exit status != 0: 0.8770269197411835 0.890214715 0.719883975 Calling exit ...