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.001705/0.001705, allocations: 101 kB / 20.52 MB, free: 1.449 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.002367/0.002367, allocations: 215.9 kB / 23.84 MB, free: 4.664 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.519/1.519, allocations: 230.6 MB / 257.6 MB, free: 7.973 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.06526/0.06526, allocations: 12.22 MB / 326.2 MB, free: 7.238 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 55.91 kB / 454.2 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 56.4 MB / 0.4986 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.005993/0.1308, allocations: 3.02 MB / 0.5015 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1328, allocations: 0.9226 MB / 0.5024 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.133, allocations: 11.88 kB / 0.5025 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.1332, allocations: 83.19 kB / 0.5025 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1335, allocations: 51.53 kB / 0.5026 GB, free: 12.41 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.0008333/0.1343, allocations: 299.1 kB / 0.5029 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005229/0.1348, allocations: 406.8 kB / 0.5033 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.1352, allocations: 139.5 kB / 0.5034 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.1355, allocations: 199.3 kB / 0.5036 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.1359, allocations: 246.9 kB / 0.5038 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.1359, allocations: 47.94 kB / 0.5039 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.1363, allocations: 207.8 kB / 0.5041 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1365, allocations: 143.6 kB / 0.5042 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1368, allocations: 218.8 kB / 0.5044 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.1382, allocations: 0.6691 MB / 0.5051 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1382, allocations: 0 / 0.5051 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1382, allocations: 7.938 kB / 0.5051 GB, free: 9.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.968e-05/0.1382, allocations: 4 kB / 0.5051 GB, free: 9.844 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.002607/0.1408, allocations: 1.074 MB / 0.5061 GB, free: 8.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1409, allocations: 12.03 kB / 0.5061 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.662e-05/0.1409, allocations: 13.17 kB / 0.5061 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.141, allocations: 82.7 kB / 0.5062 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1412, allocations: 52.61 kB / 0.5063 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.1416, allocations: 266.4 kB / 0.5065 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.1417, allocations: 33.36 kB / 0.5066 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.1417, allocations: 44.36 kB / 0.5066 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.1426, allocations: 487.7 kB / 0.5071 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1426, allocations: 0 / 0.5071 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.1427, allocations: 16 kB / 0.5071 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1427, allocations: 16 kB / 0.5071 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.1432, allocations: 263.7 kB / 0.5073 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1451, allocations: 1.323 MB / 0.5086 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.1457, allocations: 274.4 kB / 0.5089 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.146, allocations: 155.3 kB / 0.509 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.146, allocations: 4 kB / 0.5091 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.1465, allocations: 255.7 kB / 0.5093 GB, free: 5.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.893e-06/0.1465, allocations: 4 kB / 0.5093 GB, free: 5.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001298/0.1478, allocations: 0.586 MB / 0.5099 GB, free: 4.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/0.148, allocations: 160.4 kB / 0.51 GB, free: 4.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1482, allocations: 239 kB / 0.5103 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.1483, allocations: 41.7 kB / 0.5103 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1485, allocations: 216.6 kB / 0.5105 GB, free: 3.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1486, allocations: 107.2 kB / 0.5106 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1487, allocations: 126.3 kB / 0.5107 GB, free: 3.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1489, allocations: 350.7 kB / 0.5111 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1491, allocations: 125.2 kB / 0.5112 GB, free: 3.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.1495, allocations: 329 kB / 0.5115 GB, free: 2.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.1502, allocations: 0.5021 MB / 0.512 GB, free: 2.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1502, allocations: 7.875 kB / 0.512 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008382/0.1511, allocations: 0.4898 MB / 0.5125 GB, free: 1.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1511, allocations: 10.81 kB / 0.5125 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.1511, allocations: 8 kB / 0.5125 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1511, allocations: 12.03 kB / 0.5125 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1514, allocations: 87.77 kB / 0.5126 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1514, allocations: 8 kB / 0.5126 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1516, allocations: 39.73 kB / 0.5126 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.1516, allocations: 35.92 kB / 0.5127 GB, free: 1.527 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.0003098/0.152, allocations: 245.7 kB / 0.5129 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.152, allocations: 35.8 kB / 0.5129 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.1525, allocations: 231.3 kB / 0.5131 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.1525, allocations: 4 kB / 0.5132 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1525, allocations: 0 / 0.5132 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1525, allocations: 11.92 kB / 0.5132 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2281/0.3806, allocations: 1.007 MB / 0.5141 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.3806, allocations: 0.7812 kB / 0.5141 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.3807, allocations: 12.56 kB / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.3807, allocations: 2.031 kB / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/0.3808, allocations: 16.53 kB / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.3808, allocations: 2.188 kB / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3808, allocations: 1.969 kB / 0.5142 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.3817, allocations: 0.6611 MB / 0.5148 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.3818, allocations: 32.62 kB / 0.5149 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3818, allocations: 5.797 kB / 0.5149 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.382, allocations: 9.906 kB / 0.5149 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.382, allocations: 22.52 kB / 0.5149 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3821, allocations: 20.86 kB / 0.5149 GB, free: 20.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3822, allocations: 141.1 kB / 0.515 GB, free: 20.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3822, allocations: 1.156 kB / 0.5151 GB, free: 20.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007595/0.383, allocations: 161.2 kB / 0.5152 GB, free: 20.72 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.001679/0.3847, allocations: 1.446 MB / 0.5166 GB, free: 19.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.3854, allocations: 359.2 kB / 0.517 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3854, allocations: 0.5 kB / 0.517 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.3856, allocations: 149.9 kB / 0.5171 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.3862, allocations: 68.69 kB / 0.5172 GB, free: 19.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.3909, allocations: 3.54 MB / 0.5206 GB, free: 17.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3913, allocations: 0.8147 MB / 0.5214 GB, free: 17.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.3914, allocations: 52.31 kB / 0.5215 GB, free: 17.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3916, allocations: 117.5 kB / 0.5216 GB, free: 17.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3916, allocations: 0 / 0.5216 GB, free: 17.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.426, allocations: 8.853 MB / 0.5302 GB, free: 16.09 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"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.4560273390379734] Failed to read output from testmodel.py, exit status != 0: 0.8772266809828579 0.894809632 0.753566285 Calling exit ...