Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.001108/0.001108, allocations: 96.38 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.001252/0.001252, allocations: 216.9 kB / 23.04 MB, free: 2.938 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.04043/0.04043, allocations: 12.22 MB / 325.4 MB, free: 6.035 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.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.89 kB / 454.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 56.39 MB / 0.4985 GB, free: 9.246 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004304/0.1167, allocations: 3.078 MB / 0.5015 GB, free: 6.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1178, allocations: 0.9457 MB / 0.5024 GB, free: 5.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.118, allocations: 15.88 kB / 0.5025 GB, free: 5.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1182, allocations: 91.06 kB / 0.5025 GB, free: 5.098 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1184, allocations: 71.38 kB / 0.5026 GB, free: 5.027 MB / 362.7 MB [/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: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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/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: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/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.119, allocations: 323.2 kB / 0.5029 GB, free: 4.711 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.1193, allocations: 490.7 kB / 0.5034 GB, free: 4.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.1196, allocations: 173.6 kB / 0.5036 GB, free: 4.047 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1197, allocations: 243.2 kB / 0.5038 GB, free: 3.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.12, allocations: 258.7 kB / 0.504 GB, free: 3.551 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.12, allocations: 64 kB / 0.5041 GB, free: 3.488 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.1202, allocations: 211.8 kB / 0.5043 GB, free: 3.281 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1203, allocations: 187.5 kB / 0.5045 GB, free: 3.098 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1205, allocations: 214.8 kB / 0.5047 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.121, allocations: 0.7858 MB / 0.5054 GB, free: 2.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.121, allocations: 4 kB / 0.5055 GB, free: 2.094 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.121, allocations: 0 / 0.5055 GB, free: 2.094 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.121, allocations: 0 / 0.5055 GB, free: 2.094 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001228/0.1223, allocations: 1.22 MB / 0.5066 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1223, allocations: 16.03 kB / 0.5067 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/0.1224, allocations: 94.69 kB / 0.5068 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1224, allocations: 60.56 kB / 0.5068 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1227, allocations: 298.5 kB / 0.5071 GB, free: 300 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.1227, allocations: 41.36 kB / 0.5071 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.1228, allocations: 44.38 kB / 0.5072 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.1234, allocations: 0.5575 MB / 0.5077 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1234, allocations: 0 / 0.5077 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1234, allocations: 24 kB / 0.5077 GB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.1234, allocations: 15.98 kB / 0.5078 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.1238, allocations: 313.5 kB / 0.5081 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1249, allocations: 1.395 MB / 0.5094 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.1253, allocations: 322.5 kB / 0.5097 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1255, allocations: 155.4 kB / 0.5099 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1255, allocations: 4 kB / 0.5099 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.1257, allocations: 271.9 kB / 0.5101 GB, free: 13.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/0.1257, allocations: 0 / 0.5101 GB, free: 13.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007801/0.1265, allocations: 0.6499 MB / 0.5108 GB, free: 12.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1266, allocations: 160.7 kB / 0.5109 GB, free: 12.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1268, allocations: 280.8 kB / 0.5112 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1268, allocations: 45.69 kB / 0.5112 GB, free: 11.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1269, allocations: 249.1 kB / 0.5115 GB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.127, allocations: 115.2 kB / 0.5116 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1271, allocations: 134.3 kB / 0.5117 GB, free: 11.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.1272, allocations: 350.8 kB / 0.512 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.1273, allocations: 129.2 kB / 0.5122 GB, free: 10.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1276, allocations: 363.6 kB / 0.5125 GB, free: 10.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.128, allocations: 0.535 MB / 0.513 GB, free: 9.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.128, allocations: 8.031 kB / 0.513 GB, free: 9.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005106/0.1285, allocations: 0.5319 MB / 0.5136 GB, free: 9.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1285, allocations: 15.98 kB / 0.5136 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1285, allocations: 4 kB / 0.5136 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1285, allocations: 12.75 kB / 0.5136 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1287, allocations: 91.77 kB / 0.5137 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.1287, allocations: 19.94 kB / 0.5137 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1288, allocations: 47.67 kB / 0.5137 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1289, allocations: 31.98 kB / 0.5138 GB, free: 9 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: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,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,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0001895/0.129, allocations: 253.8 kB / 0.514 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1291, allocations: 35.8 kB / 0.5141 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.1294, allocations: 243.7 kB / 0.5143 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1294, allocations: 4 kB / 0.5143 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1294, allocations: 7.938 kB / 0.5143 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1294, allocations: 7.984 kB / 0.5143 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.1303, allocations: 1.057 MB / 0.5153 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1303, allocations: 4 kB / 0.5153 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.1303, allocations: 11.98 kB / 0.5154 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.1303, allocations: 7.938 kB / 0.5154 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1303, allocations: 11.98 kB / 0.5154 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1303, allocations: 7.938 kB / 0.5154 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1303, allocations: 4 kB / 0.5154 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.1309, allocations: 0.7129 MB / 0.5161 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.1309, allocations: 35.62 kB / 0.5161 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.131, allocations: 7.984 kB / 0.5161 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.131, allocations: 11.98 kB / 0.5161 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.1311, allocations: 27.89 kB / 0.5162 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1311, allocations: 23.98 kB / 0.5162 GB, free: 6.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.1312, allocations: 152.5 kB / 0.5163 GB, free: 6.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1312, allocations: 0 / 0.5163 GB, free: 6.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004248/0.1316, allocations: 179.4 kB / 0.5165 GB, free: 6.125 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: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.001286/0.1329, allocations: 1.511 MB / 0.518 GB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.1333, allocations: 394.2 kB / 0.5184 GB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1333, allocations: 0 / 0.5184 GB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1335, allocations: 155.9 kB / 0.5185 GB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1339, allocations: 83.19 kB / 0.5186 GB, free: 4.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.1368, allocations: 3.848 MB / 0.5223 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.137, allocations: 240 kB / 0.5226 GB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.1371, allocations: 55.03 kB / 0.5226 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1372, allocations: 131.4 kB / 0.5227 GB, free: 15.45 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1372, allocations: 0 / 0.5227 GB, free: 15.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07964/0.2168, allocations: 10.4 MB / 0.5329 GB, free: 5.234 MB / 394.7 MB Error: Error building simulator. Build log: cmd: cd '247.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.TestSerialPackagerBitPack_UDP/247.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.TestSerialPackagerBitPack_UDP/247.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 \"247\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/247.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.484944191761315]