Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.0014/0.0014, allocations: 112 kB / 17.17 MB, free: 5.887 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.002255/0.002255, allocations: 208 kB / 20.14 MB, free: 2.934 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06293/0.06293, allocations: 12.22 MB / 321.8 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_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 63.62 kB / 448.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.09818, allocations: 56.36 MB / 0.4926 GB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.00468/0.1029, allocations: 2.986 MB / 0.4956 GB, free: 14.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1051, allocations: 1.261 MB / 0.4968 GB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1053, allocations: 11.88 kB / 0.4968 GB, free: 13.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1056, allocations: 79.2 kB / 0.4969 GB, free: 13.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.1058, allocations: 63.45 kB / 0.4969 GB, free: 13.25 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.0007633/0.1065, allocations: 291.2 kB / 0.4972 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.1071, allocations: 410.9 kB / 0.4976 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.1074, allocations: 182.9 kB / 0.4978 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.1077, allocations: 203.3 kB / 0.498 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.108, allocations: 239 kB / 0.4982 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.114e-05/0.1081, allocations: 44 kB / 0.4982 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.1085, allocations: 199.8 kB / 0.4984 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.1086, allocations: 155.5 kB / 0.4986 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.1089, allocations: 214.8 kB / 0.4988 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009295/0.1098, allocations: 0.6846 MB / 0.4995 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1098, allocations: 4 kB / 0.4995 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1098, allocations: 0 / 0.4995 GB, free: 10.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1098, allocations: 4 kB / 0.4995 GB, free: 10.65 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001952/0.1118, allocations: 1.173 MB / 0.5006 GB, free: 9.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1118, allocations: 8.031 kB / 0.5006 GB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.1119, allocations: 82.7 kB / 0.5007 GB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.112, allocations: 48.66 kB / 0.5007 GB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.1125, allocations: 324.6 kB / 0.5011 GB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.1125, allocations: 33.38 kB / 0.5011 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.1126, allocations: 40.36 kB / 0.5011 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.1134, allocations: 0.4898 MB / 0.5016 GB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1134, allocations: 0 / 0.5016 GB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.1135, allocations: 19.98 kB / 0.5016 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1135, allocations: 12 kB / 0.5016 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.114, allocations: 270 kB / 0.5019 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1159, allocations: 1.44 MB / 0.5033 GB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.1165, allocations: 293.3 kB / 0.5036 GB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.1167, allocations: 160.5 kB / 0.5037 GB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1168, allocations: 4 kB / 0.5037 GB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.1172, allocations: 275.8 kB / 0.504 GB, free: 5.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.763e-06/0.1172, allocations: 0 / 0.504 GB, free: 5.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.001223/0.1184, allocations: 0.6064 MB / 0.5046 GB, free: 5.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.1186, allocations: 178.2 kB / 0.5048 GB, free: 4.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1189, allocations: 248 kB / 0.505 GB, free: 4.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.1189, allocations: 45.69 kB / 0.505 GB, free: 4.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.1191, allocations: 217.7 kB / 0.5052 GB, free: 4.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1192, allocations: 111.2 kB / 0.5053 GB, free: 4.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.1194, allocations: 126.2 kB / 0.5055 GB, free: 4.078 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1195, allocations: 346.8 kB / 0.5058 GB, free: 3.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1198, allocations: 121 kB / 0.5059 GB, free: 3.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.1202, allocations: 337 kB / 0.5062 GB, free: 3.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.1209, allocations: 0.5107 MB / 0.5067 GB, free: 2.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1209, allocations: 0 / 0.5067 GB, free: 2.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008815/0.1218, allocations: 0.5049 MB / 0.5072 GB, free: 2.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1218, allocations: 8 kB / 0.5072 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1218, allocations: 11.94 kB / 0.5072 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1219, allocations: 11.94 kB / 0.5073 GB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1222, allocations: 87.77 kB / 0.5073 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.1222, allocations: 8 kB / 0.5074 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.1224, allocations: 44.17 kB / 0.5074 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.1224, allocations: 31.98 kB / 0.5074 GB, free: 1.867 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (67): * Single equations (assignments): 67 * 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.0003133/0.1227, allocations: 237.8 kB / 0.5076 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.1228, allocations: 35.8 kB / 0.5077 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006821/0.1235, allocations: 380.1 kB / 0.508 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1235, allocations: 8 kB / 0.5081 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1235, allocations: 96 / 0.5081 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1235, allocations: 11.92 kB / 0.5081 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.1249, allocations: 0.9482 MB / 0.509 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1249, allocations: 0 / 0.509 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.125, allocations: 19.92 kB / 0.509 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.125, allocations: 4 kB / 0.509 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.125, allocations: 11.98 kB / 0.509 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/0.1251, allocations: 11.94 kB / 0.509 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1251, allocations: 3.938 kB / 0.509 GB, free: 140 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/0.126, allocations: 0.6003 MB / 0.5096 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.1261, allocations: 108.9 kB / 0.5097 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1261, allocations: 11.98 kB / 0.5097 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1262, allocations: 15.92 kB / 0.5098 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.1263, allocations: 19.98 kB / 0.5098 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.1263, allocations: 19.98 kB / 0.5098 GB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.1265, allocations: 139.2 kB / 0.5099 GB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 0 / 0.5099 GB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00061/0.1271, allocations: 151.5 kB / 0.5101 GB, free: 15.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,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 (35): * Single equations (assignments): 12 * 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.001991/0.1291, allocations: 1.403 MB / 0.5114 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006884/0.1298, allocations: 361.3 kB / 0.5118 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1298, allocations: 0 / 0.5118 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1301, allocations: 158.6 kB / 0.5119 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.1306, allocations: 75.11 kB / 0.512 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.1354, allocations: 3.519 MB / 0.5154 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1359, allocations: 0.8229 MB / 0.5163 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.136, allocations: 46.94 kB / 0.5163 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.1362, allocations: 121.6 kB / 0.5164 GB, free: 8.254 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1362, allocations: 0 / 0.5164 GB, free: 8.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.1705, allocations: 8.598 MB / 0.5248 GB, free: 15.89 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger.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_UDPExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger.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.0833010649948847] Failed to read output from testmodel.py, exit status != 0: 0.575427360003232 0.603199812 0.488277158 Calling exit ...