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.001358/0.001358, allocations: 104.3 kB / 19.74 MB, free: 1.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 223.7 kB / 23.03 MB, free: 4.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06521/0.06521, allocations: 12.22 MB / 325.4 MB, free: 7.043 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.91 kB / 453.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1179, allocations: 56.4 MB / 0.4977 GB, free: 344 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.006804/0.1247, allocations: 3.075 MB / 0.5007 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1269, allocations: 0.9418 MB / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1271, allocations: 19.88 kB / 0.5017 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1275, allocations: 91.06 kB / 0.5018 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1277, allocations: 71.38 kB / 0.5018 GB, free: 12.12 MB / 382.1 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.001033/0.1288, allocations: 327.1 kB / 0.5022 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.1294, allocations: 498.6 kB / 0.5026 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.1298, allocations: 169.8 kB / 0.5028 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.1301, allocations: 247.2 kB / 0.503 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.1305, allocations: 258.8 kB / 0.5033 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.1306, allocations: 59.98 kB / 0.5033 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.131, allocations: 211.8 kB / 0.5035 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.1312, allocations: 187.5 kB / 0.5037 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.1315, allocations: 210.8 kB / 0.5039 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009691/0.1325, allocations: 0.7975 MB / 0.5047 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1325, allocations: 0 / 0.5047 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1325, allocations: 0 / 0.5047 GB, free: 9.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1325, allocations: 0 / 0.5047 GB, free: 9.184 MB / 382.1 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.002099/0.1346, allocations: 1.22 MB / 0.5059 GB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1346, allocations: 12.03 kB / 0.5059 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.1347, allocations: 98.69 kB / 0.506 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1348, allocations: 60.56 kB / 0.506 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.1353, allocations: 298.5 kB / 0.5063 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.1354, allocations: 41.36 kB / 0.5064 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.1354, allocations: 44.38 kB / 0.5064 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1365, allocations: 0.5575 MB / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1365, allocations: 0 / 0.507 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.1365, allocations: 20 kB / 0.507 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.1366, allocations: 12 kB / 0.507 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1372, allocations: 319.1 kB / 0.5073 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.1392, allocations: 1.391 MB / 0.5087 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.1399, allocations: 318.5 kB / 0.509 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.1402, allocations: 151.3 kB / 0.5091 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1402, allocations: 8 kB / 0.5091 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.1407, allocations: 275.9 kB / 0.5094 GB, free: 4.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.1407, allocations: 0 / 0.5094 GB, free: 4.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001347/0.142, allocations: 0.6517 MB / 0.51 GB, free: 3.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.1422, allocations: 168.5 kB / 0.5102 GB, free: 3.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.1425, allocations: 280.8 kB / 0.5104 GB, free: 2.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.1426, allocations: 41.7 kB / 0.5105 GB, free: 2.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1428, allocations: 245.2 kB / 0.5107 GB, free: 2.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1429, allocations: 115.2 kB / 0.5108 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.1431, allocations: 134.3 kB / 0.5109 GB, free: 2.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1432, allocations: 350.8 kB / 0.5113 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1435, allocations: 129.2 kB / 0.5114 GB, free: 1.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.1439, allocations: 359.8 kB / 0.5117 GB, free: 1.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.1447, allocations: 0.5427 MB / 0.5123 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1447, allocations: 8 kB / 0.5123 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009565/0.1457, allocations: 0.5321 MB / 0.5128 GB, free: 316 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1457, allocations: 11.98 kB / 0.5128 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1457, allocations: 8.078 kB / 0.5128 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1457, allocations: 12.81 kB / 0.5128 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.146, allocations: 87.83 kB / 0.5129 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.146, allocations: 23.86 kB / 0.5129 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.1462, allocations: 51.67 kB / 0.513 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.1463, allocations: 27.98 kB / 0.513 GB, free: 92 kB / 382.1 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.2103/0.3566, allocations: 247.6 kB / 0.5133 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3567, allocations: 35.53 kB / 0.5133 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004393/0.3572, allocations: 246.8 kB / 0.5135 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.3572, allocations: 6.781 kB / 0.5135 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3572, allocations: 3.875 kB / 0.5135 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3572, allocations: 5.266 kB / 0.5135 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3584, allocations: 1.052 MB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3584, allocations: 1.938 kB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.3585, allocations: 16.2 kB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.3585, allocations: 2.094 kB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.3585, allocations: 21.81 kB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3585, allocations: 1.406 kB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3586, allocations: 3.5 kB / 0.5146 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.3593, allocations: 0.7071 MB / 0.5153 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.3594, allocations: 40.22 kB / 0.5153 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.3594, allocations: 14.86 kB / 0.5154 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.3596, allocations: 9.469 kB / 0.5154 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3596, allocations: 22.06 kB / 0.5154 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.3597, allocations: 19.33 kB / 0.5154 GB, free: 20.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3598, allocations: 155.2 kB / 0.5156 GB, free: 20.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 1.312 kB / 0.5156 GB, free: 20.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006309/0.3604, allocations: 184 kB / 0.5157 GB, free: 20.16 MB / 382.1 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.001671/0.3621, allocations: 1.519 MB / 0.5172 GB, free: 19.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.3627, allocations: 382 kB / 0.5176 GB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3627, allocations: 0 / 0.5176 GB, free: 19.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.3629, allocations: 161.4 kB / 0.5177 GB, free: 19.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.3635, allocations: 84.97 kB / 0.5178 GB, free: 19.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.368, allocations: 3.842 MB / 0.5216 GB, free: 17.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3683, allocations: 236.9 kB / 0.5218 GB, free: 17.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.3685, allocations: 52.25 kB / 0.5218 GB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3686, allocations: 137.6 kB / 0.522 GB, free: 17.14 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3686, allocations: 0 / 0.522 GB, free: 17.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.4113, allocations: 10.3 MB / 0.532 GB, free: 14.78 MB / 382.1 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 -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/247.fmutmp/sources/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.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: Not linked -- 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 -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"247\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/247.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.196925544179976] Failed to read output from testmodel.py, exit status != 0: 0.8177642519585788 0.834573826 0.699215717 Calling exit ...