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.001664/0.001664, allocations: 116.9 kB / 17.89 MB, free: 5.047 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.002088/0.002088, allocations: 209.6 kB / 20.84 MB, free: 2.105 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.573/1.573, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.06416/0.06416, allocations: 12.21 MB / 322.5 MB, free: 13.28 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.00194/0.00194, allocations: 70.7 kB / 448.8 MB, free: 38.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 56.36 MB / 0.4933 GB, free: 1.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.004491/0.1105, allocations: 2.913 MB / 0.4962 GB, free: 14.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1124, allocations: 0.9146 MB / 0.4971 GB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1126, allocations: 19.81 kB / 0.4971 GB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.1129, allocations: 79.2 kB / 0.4972 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1131, allocations: 55.52 kB / 0.4972 GB, free: 13.65 MB / 366.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.0007803/0.1139, allocations: 279.2 kB / 0.4975 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000491/0.1144, allocations: 406.9 kB / 0.4979 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.1147, allocations: 179 kB / 0.498 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1149, allocations: 203.3 kB / 0.4982 GB, free: 12.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1152, allocations: 242.9 kB / 0.4985 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.683e-05/0.1153, allocations: 44 kB / 0.4985 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.1156, allocations: 195.8 kB / 0.4987 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.1158, allocations: 147.6 kB / 0.4988 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1161, allocations: 214.8 kB / 0.499 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008627/0.1169, allocations: 0.673 MB / 0.4997 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1169, allocations: 0 / 0.4997 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1169, allocations: 4 kB / 0.4997 GB, free: 11.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.117, allocations: 0 / 0.4997 GB, free: 11.09 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.001999/0.119, allocations: 1.164 MB / 0.5008 GB, free: 9.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.119, allocations: 8.031 kB / 0.5009 GB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.898e-05/0.119, allocations: 13.19 kB / 0.5009 GB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1191, allocations: 86.64 kB / 0.5009 GB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1193, allocations: 56.55 kB / 0.501 GB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1197, allocations: 319.7 kB / 0.5013 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.1198, allocations: 41.3 kB / 0.5013 GB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.1198, allocations: 40.38 kB / 0.5014 GB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.1207, allocations: 483.8 kB / 0.5018 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1207, allocations: 0 / 0.5018 GB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1208, allocations: 16 kB / 0.5019 GB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1208, allocations: 19.94 kB / 0.5019 GB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.1213, allocations: 255.8 kB / 0.5021 GB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.1232, allocations: 1.367 MB / 0.5035 GB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.1238, allocations: 275 kB / 0.5037 GB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.1241, allocations: 145.7 kB / 0.5039 GB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.1241, allocations: 8 kB / 0.5039 GB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.1245, allocations: 263.5 kB / 0.5041 GB, free: 6.262 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.1245, allocations: 4 kB / 0.5041 GB, free: 6.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001205/0.1257, allocations: 0.5895 MB / 0.5047 GB, free: 5.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.1259, allocations: 168.4 kB / 0.5049 GB, free: 5.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.1262, allocations: 235 kB / 0.5051 GB, free: 5.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.1262, allocations: 45.69 kB / 0.5051 GB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1264, allocations: 208.7 kB / 0.5053 GB, free: 4.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.1266, allocations: 103.3 kB / 0.5054 GB, free: 4.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.1268, allocations: 126.2 kB / 0.5055 GB, free: 4.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.127, allocations: 350.7 kB / 0.5059 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.1272, allocations: 121 kB / 0.506 GB, free: 4.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.1277, allocations: 332.1 kB / 0.5063 GB, free: 3.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007231/0.1284, allocations: 0.502 MB / 0.5068 GB, free: 3.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1284, allocations: 4 kB / 0.5068 GB, free: 3.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008655/0.1293, allocations: 0.4937 MB / 0.5073 GB, free: 2.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1293, allocations: 8 kB / 0.5073 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.1293, allocations: 12.02 kB / 0.5073 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.1293, allocations: 16 kB / 0.5073 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.1296, allocations: 79.83 kB / 0.5074 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.1296, allocations: 15.92 kB / 0.5074 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1298, allocations: 51.61 kB / 0.5075 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.1299, allocations: 31.92 kB / 0.5075 GB, free: 2.539 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.0003165/0.1302, allocations: 233.8 kB / 0.5077 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.1303, allocations: 39.8 kB / 0.5078 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.1307, allocations: 227.5 kB / 0.508 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1307, allocations: 4 kB / 0.508 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1308, allocations: 0 / 0.508 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.1308, allocations: 11.92 kB / 0.508 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.1325, allocations: 1.034 MB / 0.509 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1325, allocations: 0 / 0.509 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.1325, allocations: 15.98 kB / 0.509 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1325, allocations: 0 / 0.509 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.1326, allocations: 19.92 kB / 0.509 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1326, allocations: 3.938 kB / 0.509 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1326, allocations: 0 / 0.509 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.1336, allocations: 0.6657 MB / 0.5097 GB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.1336, allocations: 100.9 kB / 0.5098 GB, free: 80 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1337, allocations: 11.92 kB / 0.5098 GB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.1338, allocations: 8 kB / 0.5098 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.1339, allocations: 19.97 kB / 0.5098 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.1339, allocations: 19.92 kB / 0.5098 GB, free: 20 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1341, allocations: 143 kB / 0.51 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 4 kB / 0.51 GB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.1348, allocations: 163.4 kB / 0.5101 GB, free: 15.71 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.002189/0.137, allocations: 1.445 MB / 0.5115 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007709/0.1378, allocations: 353.3 kB / 0.5119 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1378, allocations: 0 / 0.5119 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.1381, allocations: 151.9 kB / 0.512 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.1387, allocations: 81.81 kB / 0.5121 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.1443, allocations: 3.534 MB / 0.5156 GB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.1449, allocations: 0.8189 MB / 0.5164 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.1451, allocations: 58.92 kB / 0.5164 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.1453, allocations: 111.4 kB / 0.5165 GB, free: 8.906 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1453, allocations: 0 / 0.5165 GB, free: 8.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.1751, allocations: 8.512 MB / 0.5248 GB, free: 0.6406 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/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/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 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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.2320867339731194] Failed to read output from testmodel.py, exit status != 0: 0.5574182940181345 0.572997161 0.45302897599999997 Calling exit ...