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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 108.1 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 196.6 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06308/0.06308, allocations: 12.17 MB / 315.6 MB, free: 272 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001997/0.001997, allocations: 71.89 kB / 439.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 55.16 MB / 494.7 MB, free: 23.85 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.003857/0.2524, allocations: 2.892 MB / 497.6 MB, free: 21.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2538, allocations: 0.9157 MB / 498.5 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.254, allocations: 9.906 kB / 498.5 MB, free: 20.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2542, allocations: 82.78 kB / 498.6 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.2544, allocations: 63.11 kB / 498.7 MB, free: 20.74 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0005994/0.255, allocations: 282 kB / 498.9 MB, free: 20.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.2553, allocations: 401.8 kB / 499.3 MB, free: 20.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.2556, allocations: 177.3 kB / 499.5 MB, free: 20.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2557, allocations: 193.6 kB / 499.7 MB, free: 20.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.256, allocations: 242.6 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.256, allocations: 45.34 kB / 500 MB, free: 19.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.2563, allocations: 201.2 kB / 0.4884 GB, free: 19.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2564, allocations: 150.2 kB / 0.4886 GB, free: 19.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2565, allocations: 211.1 kB / 0.4888 GB, free: 19.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005886/0.2571, allocations: 0.6776 MB / 0.4894 GB, free: 19.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2571, allocations: 0 / 0.4894 GB, free: 19.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2571, allocations: 0 / 0.4894 GB, free: 19.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2571, allocations: 1.25 kB / 0.4894 GB, free: 19.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001303/0.2584, allocations: 1.168 MB / 0.4906 GB, free: 17.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2584, allocations: 12.91 kB / 0.4906 GB, free: 17.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.2585, allocations: 82.64 kB / 0.4907 GB, free: 17.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.2586, allocations: 51.64 kB / 0.4907 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.2589, allocations: 333 kB / 0.491 GB, free: 17.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2589, allocations: 31.08 kB / 0.4911 GB, free: 17.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.259, allocations: 44.3 kB / 0.4911 GB, free: 17.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.2596, allocations: 489.8 kB / 0.4916 GB, free: 17.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2596, allocations: 5.125 kB / 0.4916 GB, free: 17.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.2597, allocations: 16.58 kB / 0.4916 GB, free: 17.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2597, allocations: 9.906 kB / 0.4916 GB, free: 17.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.2601, allocations: 267.8 kB / 0.4919 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2613, allocations: 1.356 MB / 0.4932 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.2618, allocations: 282.9 kB / 0.4935 GB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.262, allocations: 140.7 kB / 0.4936 GB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.262, allocations: 7.547 kB / 0.4936 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.2623, allocations: 257.8 kB / 0.4939 GB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.2623, allocations: 0 / 0.4939 GB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009429/0.2632, allocations: 0.5944 MB / 0.4944 GB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.2633, allocations: 150.8 kB / 0.4946 GB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.2635, allocations: 241.7 kB / 0.4948 GB, free: 14.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.2635, allocations: 44.86 kB / 0.4948 GB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.2636, allocations: 218.4 kB / 0.4951 GB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.2637, allocations: 109.6 kB / 0.4952 GB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.2638, allocations: 117 kB / 0.4953 GB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.2638, allocations: 351.3 kB / 0.4956 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.264, allocations: 121 kB / 0.4957 GB, free: 13.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2643, allocations: 334 kB / 0.496 GB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.2648, allocations: 0.4988 MB / 0.4965 GB, free: 13.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.2648, allocations: 2.25 kB / 0.4965 GB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006805/0.2654, allocations: 0.4996 MB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2655, allocations: 8.469 kB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2655, allocations: 6.844 kB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.2655, allocations: 11.66 kB / 0.497 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2657, allocations: 80.03 kB / 0.4971 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.2658, allocations: 18.02 kB / 0.4971 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.2659, allocations: 40.86 kB / 0.4972 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.266, allocations: 29.66 kB / 0.4972 GB, free: 12.88 MB / 366.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.0002139/0.2662, allocations: 239.1 kB / 0.4974 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.2662, allocations: 25.39 kB / 0.4975 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.2666, allocations: 240.5 kB / 0.4977 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2666, allocations: 11.45 kB / 0.4977 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2666, allocations: 1.312 kB / 0.4977 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2666, allocations: 2.344 kB / 0.4977 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.2677, allocations: 1.037 MB / 0.4987 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2677, allocations: 1.375 kB / 0.4987 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.2677, allocations: 14.94 kB / 0.4987 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2678, allocations: 1.375 kB / 0.4987 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.2678, allocations: 25.47 kB / 0.4988 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2678, allocations: 6.75 kB / 0.4988 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2678, allocations: 1.375 kB / 0.4988 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.2684, allocations: 0.655 MB / 0.4994 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2685, allocations: 105.3 kB / 0.4995 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2685, allocations: 15.73 kB / 0.4995 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2687, allocations: 14.55 kB / 0.4995 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.2687, allocations: 18.14 kB / 0.4995 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.2687, allocations: 15.61 kB / 0.4996 GB, free: 11.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.74e-05/0.2688, allocations: 138.3 kB / 0.4997 GB, free: 11.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2688, allocations: 0 / 0.4997 GB, free: 11.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005693/0.2694, allocations: 156.5 kB / 0.4998 GB, free: 11.02 MB / 366.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.001431/0.2708, allocations: 1.458 MB / 0.5013 GB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.2714, allocations: 351 kB / 0.5016 GB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2714, allocations: 4 kB / 0.5016 GB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.2716, allocations: 151.4 kB / 0.5018 GB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.2721, allocations: 80.56 kB / 0.5018 GB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.2755, allocations: 3.539 MB / 0.5053 GB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2757, allocations: 0.8166 MB / 0.5061 GB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.2759, allocations: 54.66 kB / 0.5061 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.276, allocations: 115.7 kB / 0.5062 GB, free: 5.973 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.276, allocations: 0 / 0.5062 GB, free: 5.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.3068, allocations: 8.485 MB / 0.5145 GB, free: 14.32 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize.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_2/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_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-master/Resources/Library/linux64/libWs2_32.a -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize.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.063923762179911] Failed to read output from testmodel.py, exit status != 0: 0.7267912249080837 0.7434753239999999 0.48224649999999997 Calling exit ...