Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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.001099/0.001099, 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.001893/0.001893, allocations: 212.1 kB / 23.03 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 0.9879/0.9879, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.03931/0.03931, allocations: 12.23 MB / 325.4 MB, free: 6.039 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_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.89 kB / 454.1 MB, free: 33.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 56.41 MB / 0.4985 GB, free: 9.133 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004225/0.1148, allocations: 2.934 MB / 0.5014 GB, free: 6.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.116, allocations: 0.8757 MB / 0.5022 GB, free: 5.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.1162, allocations: 11.88 kB / 0.5023 GB, free: 5.293 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.1164, allocations: 83.2 kB / 0.5023 GB, free: 5.211 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1166, allocations: 55.5 kB / 0.5024 GB, free: 5.156 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.0005293/0.1172, allocations: 291.1 kB / 0.5027 GB, free: 4.871 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1175, allocations: 399 kB / 0.503 GB, free: 4.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.1178, allocations: 131.5 kB / 0.5032 GB, free: 4.344 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.118, allocations: 207.2 kB / 0.5034 GB, free: 4.141 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1182, allocations: 219 kB / 0.5036 GB, free: 3.926 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.1183, allocations: 44 kB / 0.5036 GB, free: 3.879 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.1185, allocations: 199.8 kB / 0.5038 GB, free: 3.684 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1186, allocations: 147.5 kB / 0.5039 GB, free: 3.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1187, allocations: 167.1 kB / 0.5041 GB, free: 3.375 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.1193, allocations: 0.6847 MB / 0.5048 GB, free: 2.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1193, allocations: 4 kB / 0.5048 GB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1193, allocations: 0 / 0.5048 GB, free: 2.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1193, allocations: 0 / 0.5048 GB, free: 2.684 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001151/0.1204, allocations: 1.07 MB / 0.5058 GB, free: 1.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1205, allocations: 12.03 kB / 0.5058 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.1205, allocations: 86.69 kB / 0.5059 GB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1206, allocations: 56.59 kB / 0.506 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1209, allocations: 266.3 kB / 0.5062 GB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.1209, allocations: 29.38 kB / 0.5063 GB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.1209, allocations: 44.36 kB / 0.5063 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.1215, allocations: 476.1 kB / 0.5068 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1215, allocations: 7.875 kB / 0.5068 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.1215, allocations: 23.98 kB / 0.5068 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1215, allocations: 8 kB / 0.5068 GB, free: 500 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.1218, allocations: 267.8 kB / 0.507 GB, free: 232 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1229, allocations: 1.241 MB / 0.5083 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1233, allocations: 274.3 kB / 0.5085 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1234, allocations: 143.4 kB / 0.5087 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1235, allocations: 7.938 kB / 0.5087 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.1237, allocations: 259.7 kB / 0.5089 GB, free: 14.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.013e-06/0.1237, allocations: 0 / 0.5089 GB, free: 14.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007355/0.1244, allocations: 0.597 MB / 0.5095 GB, free: 13.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.1245, allocations: 160.5 kB / 0.5096 GB, free: 13.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1247, allocations: 243 kB / 0.5099 GB, free: 13.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1247, allocations: 41.7 kB / 0.5099 GB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.1248, allocations: 208.7 kB / 0.5101 GB, free: 12.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.1249, allocations: 103.2 kB / 0.5102 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.125, allocations: 126.3 kB / 0.5103 GB, free: 12.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1251, allocations: 346.7 kB / 0.5107 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1253, allocations: 125.2 kB / 0.5108 GB, free: 12.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.1255, allocations: 333.6 kB / 0.5111 GB, free: 11.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.1259, allocations: 0.502 MB / 0.5116 GB, free: 11.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1259, allocations: 0 / 0.5116 GB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004884/0.1264, allocations: 0.4932 MB / 0.5121 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1264, allocations: 8 kB / 0.5121 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1265, allocations: 8 kB / 0.5121 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1265, allocations: 12 kB / 0.5121 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1266, allocations: 79.83 kB / 0.5122 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1266, allocations: 15.92 kB / 0.5122 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.52e-05/0.1267, allocations: 48.14 kB / 0.5122 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.1267, allocations: 28 kB / 0.5123 GB, free: 10.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.127, allocations: 245.7 kB / 0.5125 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.127, allocations: 31.81 kB / 0.5125 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.1273, allocations: 245.4 kB / 0.5128 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1273, allocations: 4.094 kB / 0.5128 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1273, allocations: 11.94 kB / 0.5128 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1273, allocations: 0 / 0.5128 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.1281, allocations: 0.9727 MB / 0.5137 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1281, allocations: 0 / 0.5137 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.1282, allocations: 16 kB / 0.5137 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1282, allocations: 0 / 0.5137 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.1282, allocations: 19.86 kB / 0.5138 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1282, allocations: 0 / 0.5138 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1282, allocations: 4 kB / 0.5138 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1288, allocations: 0.6678 MB / 0.5144 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.1288, allocations: 35.72 kB / 0.5145 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1288, allocations: 15.94 kB / 0.5145 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1289, allocations: 11.98 kB / 0.5145 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.129, allocations: 23.89 kB / 0.5145 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.129, allocations: 20.05 kB / 0.5145 GB, free: 8.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.1291, allocations: 139 kB / 0.5147 GB, free: 7.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1291, allocations: 0 / 0.5147 GB, free: 7.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000379/0.1294, allocations: 155.5 kB / 0.5148 GB, free: 7.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.1307, allocations: 1.466 MB / 0.5162 GB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.1311, allocations: 352.8 kB / 0.5166 GB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1311, allocations: 4 kB / 0.5166 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.1313, allocations: 153.8 kB / 0.5167 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1317, allocations: 67.86 kB / 0.5168 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.1345, allocations: 3.528 MB / 0.5202 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.1347, allocations: 218.8 kB / 0.5204 GB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.589e-05/0.1348, allocations: 59.41 kB / 0.5205 GB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1349, allocations: 115.4 kB / 0.5206 GB, free: 1.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1349, allocations: 0 / 0.5206 GB, free: 1.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08362/0.2185, allocations: 9.396 MB / 0.5298 GB, free: 8.34 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '656.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_UDP/656.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_UDP/656.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 \"656\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP/656.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.5041642114520073]