Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001471/0.001471, allocations: 96.38 kB / 19.73 MB, free: 416 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.00153/0.00153, allocations: 217.6 kB / 23.04 MB, free: 2.953 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 1.003/1.003, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.03866/0.03866, allocations: 12.23 MB / 325.4 MB, free: 6.086 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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.88 kB / 454.1 MB, free: 33.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09824, allocations: 56.4 MB / 0.4985 GB, free: 9.309 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003749/0.102, allocations: 2.975 MB / 0.5014 GB, free: 6.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1031, allocations: 0.8834 MB / 0.5023 GB, free: 5.438 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1032, allocations: 11.88 kB / 0.5023 GB, free: 5.426 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1035, allocations: 83.19 kB / 0.5024 GB, free: 5.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1037, allocations: 67.45 kB / 0.5024 GB, free: 5.277 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.0004789/0.1042, allocations: 295.2 kB / 0.5027 GB, free: 4.988 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.1045, allocations: 406.9 kB / 0.5031 GB, free: 4.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1047, allocations: 139.5 kB / 0.5032 GB, free: 4.445 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1048, allocations: 203.3 kB / 0.5034 GB, free: 4.246 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.1051, allocations: 211 kB / 0.5036 GB, free: 4.039 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.1051, allocations: 44 kB / 0.5037 GB, free: 3.996 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.1053, allocations: 203.8 kB / 0.5039 GB, free: 3.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1054, allocations: 151.5 kB / 0.504 GB, free: 3.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1055, allocations: 171.1 kB / 0.5042 GB, free: 3.477 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.106, allocations: 0.6924 MB / 0.5048 GB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.106, allocations: 0 / 0.5048 GB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.106, allocations: 0 / 0.5048 GB, free: 2.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.106, allocations: 0 / 0.5048 GB, free: 2.781 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001128/0.1072, allocations: 1.079 MB / 0.5059 GB, free: 1.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1072, allocations: 8.031 kB / 0.5059 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.1073, allocations: 86.7 kB / 0.506 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.1074, allocations: 52.64 kB / 0.506 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1076, allocations: 262.4 kB / 0.5063 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.1076, allocations: 33.38 kB / 0.5063 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1077, allocations: 48.34 kB / 0.5064 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1082, allocations: 493.9 kB / 0.5068 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1082, allocations: 3.938 kB / 0.5068 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1082, allocations: 19.98 kB / 0.5069 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1082, allocations: 12 kB / 0.5069 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.1086, allocations: 269.9 kB / 0.5071 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1096, allocations: 1.318 MB / 0.5084 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.11, allocations: 293.1 kB / 0.5087 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1101, allocations: 160.2 kB / 0.5089 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1102, allocations: 7.938 kB / 0.5089 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1104, allocations: 267.7 kB / 0.5091 GB, free: 14.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.1104, allocations: 0 / 0.5091 GB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007216/0.1111, allocations: 0.5992 MB / 0.5097 GB, free: 13.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.1112, allocations: 186.1 kB / 0.5099 GB, free: 13.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1114, allocations: 247 kB / 0.5101 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1114, allocations: 41.95 kB / 0.5102 GB, free: 12.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.1115, allocations: 213.4 kB / 0.5104 GB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.1116, allocations: 111.2 kB / 0.5105 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1117, allocations: 122.3 kB / 0.5106 GB, free: 12.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.1118, allocations: 342.8 kB / 0.5109 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1119, allocations: 129.2 kB / 0.511 GB, free: 12.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1122, allocations: 343.6 kB / 0.5114 GB, free: 11.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1126, allocations: 0.5154 MB / 0.5119 GB, free: 11.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1126, allocations: 3.938 kB / 0.5119 GB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005074/0.1131, allocations: 0.5168 MB / 0.5124 GB, free: 10.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1131, allocations: 11.94 kB / 0.5124 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1131, allocations: 8 kB / 0.5124 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1131, allocations: 12 kB / 0.5124 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1133, allocations: 83.83 kB / 0.5125 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1133, allocations: 16.19 kB / 0.5125 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.877e-05/0.1134, allocations: 43.73 kB / 0.5125 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1134, allocations: 27.98 kB / 0.5126 GB, free: 10.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,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 (69): * Single equations (assignments): 69 * 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.0001807/0.1136, allocations: 254 kB / 0.5128 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.1136, allocations: 31.8 kB / 0.5128 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.114, allocations: 380.2 kB / 0.5132 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.114, allocations: 7.984 kB / 0.5132 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.114, allocations: 8.031 kB / 0.5132 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1141, allocations: 7.938 kB / 0.5132 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/0.1149, allocations: 0.8886 MB / 0.5141 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1149, allocations: 3.938 kB / 0.5141 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1149, allocations: 20 kB / 0.5141 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1149, allocations: 4 kB / 0.5141 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1149, allocations: 15.92 kB / 0.5141 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1149, allocations: 7.984 kB / 0.5141 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1149, allocations: 0 / 0.5141 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.1155, allocations: 0.6176 MB / 0.5147 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.1155, allocations: 39.66 kB / 0.5148 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1155, allocations: 12 kB / 0.5148 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.1156, allocations: 11.98 kB / 0.5148 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1156, allocations: 19.97 kB / 0.5148 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.1157, allocations: 15.98 kB / 0.5148 GB, free: 7.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.1159, allocations: 142.8 kB / 0.515 GB, free: 7.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1159, allocations: 0 / 0.515 GB, free: 7.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.1162, allocations: 163.5 kB / 0.5151 GB, free: 7.566 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: 39 (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,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.001238/0.1175, allocations: 1.388 MB / 0.5165 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.1179, allocations: 372.6 kB / 0.5168 GB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1179, allocations: 4 kB / 0.5168 GB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1181, allocations: 154.8 kB / 0.517 GB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1184, allocations: 74.52 kB / 0.5171 GB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.1211, allocations: 3.511 MB / 0.5205 GB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.1213, allocations: 218.7 kB / 0.5207 GB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.1214, allocations: 50.94 kB / 0.5207 GB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1215, allocations: 115.4 kB / 0.5209 GB, free: 1.398 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1215, allocations: 0 / 0.5209 GB, free: 1.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/0.2037, allocations: 9.476 MB / 0.5301 GB, free: 8.113 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '824.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_UDPWithoutReceiveThread/824.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_UDPWithoutReceiveThread/824.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 \"824\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread/824.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4599785124883056]