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.001731/0.001731, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002309/0.002309, allocations: 221.2 kB / 23.03 MB, free: 5.012 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.938 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.06714/0.06714, allocations: 12.23 MB / 325.4 MB, free: 7.113 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.003249/0.003249, allocations: 67.91 kB / 453.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1406, allocations: 56.39 MB / 0.4977 GB, free: 320 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005835/0.1464, allocations: 3.082 MB / 0.5008 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1485, allocations: 0.9457 MB / 0.5017 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.1487, allocations: 11.88 kB / 0.5017 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.149, allocations: 87.08 kB / 0.5018 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.1492, allocations: 71.38 kB / 0.5018 GB, free: 12.1 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.0009224/0.1501, allocations: 335.1 kB / 0.5022 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.1508, allocations: 0.4908 MB / 0.5026 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.1512, allocations: 165.8 kB / 0.5028 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.1515, allocations: 247.2 kB / 0.503 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.1518, allocations: 258.8 kB / 0.5033 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.526e-05/0.1519, allocations: 56 kB / 0.5033 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.1523, allocations: 211.8 kB / 0.5035 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.1525, allocations: 187.5 kB / 0.5037 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.1528, allocations: 206.9 kB / 0.5039 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1538, allocations: 0.7936 MB / 0.5047 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1538, allocations: 8 kB / 0.5047 GB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1538, allocations: 3.938 kB / 0.5047 GB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1538, allocations: 0 / 0.5047 GB, free: 9.152 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.002135/0.1559, allocations: 1.216 MB / 0.5059 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.634e-05/0.156, allocations: 8.031 kB / 0.5059 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1561, allocations: 94.69 kB / 0.506 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1563, allocations: 64.55 kB / 0.506 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.1568, allocations: 294.5 kB / 0.5063 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.1569, allocations: 37.36 kB / 0.5064 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.157, allocations: 60.36 kB / 0.5064 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.1579, allocations: 0.5536 MB / 0.507 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.158, allocations: 3.938 kB / 0.507 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.158, allocations: 19.98 kB / 0.507 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.158, allocations: 12 kB / 0.507 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.1586, allocations: 317.5 kB / 0.5073 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1608, allocations: 1.383 MB / 0.5086 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.1616, allocations: 318.5 kB / 0.5089 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.1618, allocations: 157.8 kB / 0.5091 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.1619, allocations: 11.94 kB / 0.5091 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.1624, allocations: 275.9 kB / 0.5094 GB, free: 4.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.374e-06/0.1624, allocations: 0 / 0.5094 GB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001376/0.1638, allocations: 0.6555 MB / 0.51 GB, free: 3.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.1639, allocations: 156.4 kB / 0.5102 GB, free: 3.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.1643, allocations: 272.8 kB / 0.5104 GB, free: 2.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/0.1643, allocations: 53.69 kB / 0.5105 GB, free: 2.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.1646, allocations: 241.2 kB / 0.5107 GB, free: 2.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.1647, allocations: 115.1 kB / 0.5108 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.165, allocations: 146.3 kB / 0.511 GB, free: 2.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.1652, allocations: 342.8 kB / 0.5113 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.1655, allocations: 137.2 kB / 0.5114 GB, free: 1.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.1659, allocations: 355.6 kB / 0.5118 GB, free: 1.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.1667, allocations: 0.5311 MB / 0.5123 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1667, allocations: 0 / 0.5123 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009325/0.1677, allocations: 0.552 MB / 0.5128 GB, free: 284 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1677, allocations: 8 kB / 0.5128 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1677, allocations: 8 kB / 0.5128 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/0.1678, allocations: 16.19 kB / 0.5128 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.1682, allocations: 83.83 kB / 0.5129 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.1682, allocations: 28.25 kB / 0.5129 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1684, allocations: 43.67 kB / 0.513 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.1685, allocations: 28 kB / 0.513 GB, free: 68 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.2216/0.3901, allocations: 255.2 kB / 0.5133 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3902, allocations: 33.86 kB / 0.5133 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.3907, allocations: 243.5 kB / 0.5135 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3907, allocations: 3.156 kB / 0.5135 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3907, allocations: 5.016 kB / 0.5135 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3907, allocations: 2.078 kB / 0.5135 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.3922, allocations: 1.054 MB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.3922, allocations: 1.75 kB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.3922, allocations: 16.12 kB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.3922, allocations: 9 kB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3923, allocations: 8.516 kB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3923, allocations: 7.625 kB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3923, allocations: 4.766 kB / 0.5146 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/0.3932, allocations: 0.7104 MB / 0.5153 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.3932, allocations: 39.84 kB / 0.5153 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.3933, allocations: 11.58 kB / 0.5154 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3934, allocations: 11.88 kB / 0.5154 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.3935, allocations: 26.28 kB / 0.5154 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.3935, allocations: 15.72 kB / 0.5154 GB, free: 20.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3937, allocations: 156.1 kB / 0.5156 GB, free: 20.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3937, allocations: 0 / 0.5156 GB, free: 20.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007056/0.3944, allocations: 184 kB / 0.5157 GB, free: 20.25 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.001718/0.3961, allocations: 1.519 MB / 0.5172 GB, free: 19.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007116/0.3968, allocations: 383.3 kB / 0.5176 GB, free: 19.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3968, allocations: 0 / 0.5176 GB, free: 19.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.3971, allocations: 169.7 kB / 0.5177 GB, free: 19.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.3977, allocations: 86.2 kB / 0.5178 GB, free: 19.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.402, allocations: 3.835 MB / 0.5216 GB, free: 17.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.4023, allocations: 239.2 kB / 0.5218 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.4024, allocations: 54.66 kB / 0.5218 GB, free: 17.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.4026, allocations: 133.3 kB / 0.522 GB, free: 17.21 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4026, allocations: 0 / 0.522 GB, free: 17.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/0.4604, allocations: 10.3 MB / 0.532 GB, free: 14.85 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.5148038240149617] Failed to read output from testmodel.py, exit status != 0: 0.8801973606459796 0.892071868 0.7355465959999999 Calling exit ...