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.001269/0.001269, allocations: 97.91 kB / 20.52 MB, free: 1.344 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.001444/0.001444, allocations: 217.8 kB / 23.82 MB, free: 4.504 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.518/1.518, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.06669/0.06669, allocations: 12.22 MB / 326.2 MB, free: 7.055 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 454.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1219, allocations: 56.4 MB / 0.4985 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.006106/0.128, allocations: 2.971 MB / 0.5014 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1304, allocations: 1.188 MB / 0.5026 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1305, allocations: 15.88 kB / 0.5026 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1309, allocations: 79.2 kB / 0.5027 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1311, allocations: 63.45 kB / 0.5027 GB, free: 12.01 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.0009033/0.132, allocations: 291.2 kB / 0.503 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.1325, allocations: 426.8 kB / 0.5034 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1328, allocations: 139.5 kB / 0.5035 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1331, allocations: 203.3 kB / 0.5037 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1334, allocations: 242.9 kB / 0.504 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.1335, allocations: 48 kB / 0.504 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.1338, allocations: 207.8 kB / 0.5042 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.134, allocations: 163.5 kB / 0.5044 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1342, allocations: 171 kB / 0.5045 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.1351, allocations: 0.6886 MB / 0.5052 GB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1351, allocations: 0 / 0.5052 GB, free: 9.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1351, allocations: 0 / 0.5052 GB, free: 9.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1351, allocations: 0 / 0.5052 GB, free: 9.453 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001868/0.1369, allocations: 1.09 MB / 0.5063 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.137, allocations: 8.031 kB / 0.5063 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.108e-05/0.137, allocations: 21.12 kB / 0.5063 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.791e-05/0.1371, allocations: 86.7 kB / 0.5064 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1372, allocations: 48.61 kB / 0.5064 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1376, allocations: 270.7 kB / 0.5067 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1377, allocations: 33.36 kB / 0.5067 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.1377, allocations: 40.38 kB / 0.5068 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008984/0.1386, allocations: 497.2 kB / 0.5072 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1386, allocations: 3.984 kB / 0.5072 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.1387, allocations: 16 kB / 0.5072 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.1387, allocations: 12 kB / 0.5073 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.1392, allocations: 277.9 kB / 0.5075 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.141, allocations: 1.318 MB / 0.5088 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.1415, allocations: 293.2 kB / 0.5091 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.1418, allocations: 152.5 kB / 0.5092 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1418, allocations: 8 kB / 0.5092 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.1422, allocations: 264 kB / 0.5095 GB, free: 4.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.1422, allocations: 3.938 kB / 0.5095 GB, free: 4.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001252/0.1435, allocations: 0.5987 MB / 0.5101 GB, free: 4.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.1436, allocations: 190.2 kB / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.1439, allocations: 247.9 kB / 0.5105 GB, free: 3.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.144, allocations: 45.69 kB / 0.5105 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1442, allocations: 205.4 kB / 0.5107 GB, free: 3.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.1443, allocations: 119.1 kB / 0.5109 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1444, allocations: 122.3 kB / 0.511 GB, free: 3.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1446, allocations: 346.8 kB / 0.5113 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.1449, allocations: 121.2 kB / 0.5114 GB, free: 2.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.1453, allocations: 338.1 kB / 0.5117 GB, free: 2.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.146, allocations: 0.5068 MB / 0.5122 GB, free: 1.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.146, allocations: 0 / 0.5122 GB, free: 1.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008701/0.1468, allocations: 0.5044 MB / 0.5127 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1469, allocations: 11.94 kB / 0.5127 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1469, allocations: 8.875 kB / 0.5127 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.1469, allocations: 12 kB / 0.5128 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.1472, allocations: 91.83 kB / 0.5128 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.1472, allocations: 15.94 kB / 0.5129 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1474, allocations: 43.67 kB / 0.5129 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.1475, allocations: 27.98 kB / 0.5129 GB, free: 0.9531 MB / 382.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.0003203/0.1478, allocations: 237.8 kB / 0.5132 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.1478, allocations: 43.73 kB / 0.5132 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/0.1485, allocations: 380.1 kB / 0.5136 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1485, allocations: 4 kB / 0.5136 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1485, allocations: 4 kB / 0.5136 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1485, allocations: 3.938 kB / 0.5136 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2577/0.4063, allocations: 0.8824 MB / 0.5144 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4063, allocations: 3.125 kB / 0.5144 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.4063, allocations: 14.31 kB / 0.5145 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.4063, allocations: 3.125 kB / 0.5145 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.4064, allocations: 18.12 kB / 0.5145 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.4064, allocations: 6.047 kB / 0.5145 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4064, allocations: 0 / 0.5145 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.4071, allocations: 0.602 MB / 0.5151 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.4071, allocations: 33.02 kB / 0.5151 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.4072, allocations: 11.59 kB / 0.5151 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.4073, allocations: 9.469 kB / 0.5151 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.4074, allocations: 24.67 kB / 0.5151 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.4074, allocations: 17.83 kB / 0.5152 GB, free: 21.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.676e-05/0.4075, allocations: 144.8 kB / 0.5153 GB, free: 20.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4075, allocations: 0 / 0.5153 GB, free: 20.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006141/0.4081, allocations: 163.5 kB / 0.5155 GB, free: 20.98 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.001565/0.4097, allocations: 1.403 MB / 0.5168 GB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.4102, allocations: 360.9 kB / 0.5172 GB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4102, allocations: 0 / 0.5172 GB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.4105, allocations: 158.9 kB / 0.5173 GB, free: 20.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.411, allocations: 82.72 kB / 0.5174 GB, free: 20.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.4144, allocations: 3.51 MB / 0.5208 GB, free: 18.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.4145, allocations: 219 kB / 0.521 GB, free: 18.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.4147, allocations: 43.98 kB / 0.5211 GB, free: 18.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.4148, allocations: 123.1 kB / 0.5212 GB, free: 18.15 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4148, allocations: 0 / 0.5212 GB, free: 18.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.448, allocations: 9.11 MB / 0.5301 GB, free: 16.7 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '929.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_UDPExternalTrigger/929.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_UDPExternalTrigger/929.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 \"929\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.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.403046607039869] Failed to read output from testmodel.py, exit status != 0: 0.8569842459401116 0.871311772 0.733269036 Calling exit ...