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.001643/0.001643, allocations: 96.36 kB / 19.73 MB, free: 412 kB / 13.93 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.00197/0.00197, allocations: 212.1 kB / 23.03 MB, free: 2.941 MB / 13.93 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 0.9753/0.9753, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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.03874/0.03874, allocations: 12.23 MB / 325.4 MB, free: 6.051 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 67.89 kB / 454.1 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1165, allocations: 56.39 MB / 0.4985 GB, free: 9.273 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004588/0.1211, allocations: 2.995 MB / 0.5014 GB, free: 6.266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1227, allocations: 1.184 MB / 0.5026 GB, free: 5.074 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1228, allocations: 11.88 kB / 0.5026 GB, free: 5.062 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.1231, allocations: 87.19 kB / 0.5027 GB, free: 4.977 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1233, allocations: 55.47 kB / 0.5027 GB, free: 4.922 MB / 362.7 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.0005517/0.1239, allocations: 295.2 kB / 0.503 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.1242, allocations: 415 kB / 0.5034 GB, free: 4.227 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.1245, allocations: 135.5 kB / 0.5035 GB, free: 4.086 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1246, allocations: 211.2 kB / 0.5037 GB, free: 3.879 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.1249, allocations: 218.9 kB / 0.504 GB, free: 3.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.1249, allocations: 44 kB / 0.504 GB, free: 3.617 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1252, allocations: 207.8 kB / 0.5042 GB, free: 3.414 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1253, allocations: 143.6 kB / 0.5043 GB, free: 3.273 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1254, allocations: 171 kB / 0.5045 GB, free: 3.105 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006662/0.1261, allocations: 0.6925 MB / 0.5052 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.1261, allocations: 0 / 0.5052 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1261, allocations: 4 kB / 0.5052 GB, free: 2.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.1261, allocations: 0 / 0.5052 GB, free: 2.406 MB / 362.7 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.001219/0.1273, allocations: 1.086 MB / 0.5062 GB, free: 1.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.1274, allocations: 8.031 kB / 0.5062 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.931e-05/0.1274, allocations: 86.69 kB / 0.5063 GB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.1275, allocations: 48.66 kB / 0.5064 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1278, allocations: 274.6 kB / 0.5066 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.1278, allocations: 33.38 kB / 0.5067 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1279, allocations: 48.34 kB / 0.5067 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.1284, allocations: 489.4 kB / 0.5072 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1284, allocations: 4 kB / 0.5072 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.1285, allocations: 23.98 kB / 0.5072 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1285, allocations: 8 kB / 0.5072 GB, free: 176 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.1288, allocations: 269.9 kB / 0.5075 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1299, allocations: 1.326 MB / 0.5088 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.1304, allocations: 293.3 kB / 0.509 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1305, allocations: 148.5 kB / 0.5092 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1305, allocations: 4 kB / 0.5092 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.1308, allocations: 280 kB / 0.5095 GB, free: 13.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.166e-06/0.1308, allocations: 0 / 0.5095 GB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007797/0.1316, allocations: 0.5988 MB / 0.51 GB, free: 13.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.1317, allocations: 186.1 kB / 0.5102 GB, free: 12.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1319, allocations: 247.9 kB / 0.5105 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.1319, allocations: 45.69 kB / 0.5105 GB, free: 12.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.132, allocations: 213.4 kB / 0.5107 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-05/0.1321, allocations: 107.2 kB / 0.5108 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1322, allocations: 126.5 kB / 0.5109 GB, free: 12.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1323, allocations: 346.8 kB / 0.5113 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1325, allocations: 125.2 kB / 0.5114 GB, free: 11.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1328, allocations: 337.9 kB / 0.5117 GB, free: 11.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.1332, allocations: 0.499 MB / 0.5122 GB, free: 10.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.1332, allocations: 4 kB / 0.5122 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004888/0.1337, allocations: 0.5014 MB / 0.5127 GB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1337, allocations: 16.02 kB / 0.5127 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1337, allocations: 11.94 kB / 0.5127 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1337, allocations: 12 kB / 0.5127 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1339, allocations: 75.84 kB / 0.5128 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.1339, allocations: 19.92 kB / 0.5128 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.134, allocations: 39.73 kB / 0.5128 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.134, allocations: 31.98 kB / 0.5129 GB, free: 9.93 MB / 378.7 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.000199/0.1342, allocations: 245.8 kB / 0.5131 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1343, allocations: 35.75 kB / 0.5131 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.1347, allocations: 376.1 kB / 0.5135 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1347, allocations: 8 kB / 0.5135 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1347, allocations: 0 / 0.5135 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1347, allocations: 3.984 kB / 0.5135 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008652/0.1356, allocations: 0.8962 MB / 0.5144 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1356, allocations: 0 / 0.5144 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1356, allocations: 23.92 kB / 0.5144 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1356, allocations: 0 / 0.5144 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.1356, allocations: 15.98 kB / 0.5144 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1356, allocations: 8 kB / 0.5144 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1356, allocations: 4 kB / 0.5144 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.1362, allocations: 0.6043 MB / 0.515 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1362, allocations: 31.69 kB / 0.5151 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.1362, allocations: 11.98 kB / 0.5151 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.1363, allocations: 11.94 kB / 0.5151 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1363, allocations: 27.89 kB / 0.5151 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.1364, allocations: 19.98 kB / 0.5151 GB, free: 7.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.34e-05/0.1364, allocations: 147.1 kB / 0.5153 GB, free: 7.383 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1364, allocations: 0 / 0.5153 GB, free: 7.383 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.1368, allocations: 155.5 kB / 0.5154 GB, free: 7.23 MB / 378.7 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.00134/0.1382, allocations: 1.398 MB / 0.5168 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.1386, allocations: 360.7 kB / 0.5171 GB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1386, allocations: 0.5 kB / 0.5171 GB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1388, allocations: 159.8 kB / 0.5173 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1392, allocations: 80.2 kB / 0.5174 GB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.1424, allocations: 3.518 MB / 0.5208 GB, free: 1.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.1425, allocations: 215 kB / 0.521 GB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1427, allocations: 55.12 kB / 0.521 GB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1428, allocations: 119.4 kB / 0.5212 GB, free: 1.062 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1428, allocations: 0 / 0.5212 GB, free: 1.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08779/0.2306, allocations: 9.517 MB / 0.5305 GB, free: 7.742 MB / 394.7 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 CMake Warning (deprecated) at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- The C compiler identification is Clang 21.1.8 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.fmutmp/sources/fmi -- 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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so CMake Warning (policy) at CMakeLists.txt:254 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:254 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. CMake Warning (policy) at CMakeLists.txt:254 (install): Policy CMP0177 is not set: install() DESTINATION paths are normalized. Run \"cmake --help-policy CMP0177\" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. -- Configuring done (0.2s) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger/929.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.5551520911976695]