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.001295/0.001295, allocations: 112 kB / 17.17 MB, free: 5.887 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.001404/0.001404, allocations: 208 kB / 20.14 MB, free: 2.934 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06187/0.06187, allocations: 12.22 MB / 321.8 MB, free: 13.26 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.002016/0.002016, allocations: 70.97 kB / 448.1 MB, free: 38.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08232/0.08434, allocations: 56.35 MB / 0.4926 GB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004441/0.08878, allocations: 3.08 MB / 0.4956 GB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.09073, allocations: 0.9884 MB / 0.4966 GB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.0909, allocations: 15.88 kB / 0.4966 GB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.09123, allocations: 91.06 kB / 0.4967 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.09146, allocations: 71.38 kB / 0.4968 GB, free: 13.4 MB / 366.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.0008446/0.09231, allocations: 323.1 kB / 0.4971 GB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.09286, allocations: 494.7 kB / 0.4976 GB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.09325, allocations: 225 kB / 0.4978 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.0935, allocations: 243.2 kB / 0.498 GB, free: 12.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.09387, allocations: 294.7 kB / 0.4983 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.09395, allocations: 56 kB / 0.4983 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.09428, allocations: 211.8 kB / 0.4985 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.09449, allocations: 187.5 kB / 0.4987 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.09473, allocations: 258.5 kB / 0.499 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.09564, allocations: 0.7897 MB / 0.4997 GB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09564, allocations: 4 kB / 0.4997 GB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09564, allocations: 0 / 0.4997 GB, free: 10.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.09565, allocations: 0 / 0.4997 GB, free: 10.34 MB / 366.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.002075/0.09773, allocations: 1.317 MB / 0.501 GB, free: 8.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.09777, allocations: 8.031 kB / 0.501 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.09789, allocations: 94.69 kB / 0.5011 GB, free: 8.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.09801, allocations: 60.56 kB / 0.5012 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.09849, allocations: 356.5 kB / 0.5015 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.09853, allocations: 37.38 kB / 0.5016 GB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.09861, allocations: 56.36 kB / 0.5016 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.0996, allocations: 0.5536 MB / 0.5022 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.09962, allocations: 0 / 0.5022 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.09967, allocations: 23.98 kB / 0.5022 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.09969, allocations: 19.98 kB / 0.5022 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.1003, allocations: 313.5 kB / 0.5025 GB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1023, allocations: 1.525 MB / 0.504 GB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.1029, allocations: 310.5 kB / 0.5043 GB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1032, allocations: 163.3 kB / 0.5044 GB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.1033, allocations: 16.12 kB / 0.5045 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.1037, allocations: 267.7 kB / 0.5047 GB, free: 4.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.934e-06/0.1037, allocations: 4 kB / 0.5047 GB, free: 4.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.001332/0.1051, allocations: 0.6534 MB / 0.5053 GB, free: 4.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.1052, allocations: 164.6 kB / 0.5055 GB, free: 4.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.1055, allocations: 276.7 kB / 0.5058 GB, free: 3.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.1056, allocations: 45.69 kB / 0.5058 GB, free: 3.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1057, allocations: 233.3 kB / 0.506 GB, free: 3.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1058, allocations: 115.2 kB / 0.5061 GB, free: 3.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.106, allocations: 138.3 kB / 0.5063 GB, free: 3.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1062, allocations: 350.9 kB / 0.5066 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1065, allocations: 137.1 kB / 0.5067 GB, free: 2.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.1069, allocations: 363.6 kB / 0.5071 GB, free: 2.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.1077, allocations: 0.5355 MB / 0.5076 GB, free: 1.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.1077, allocations: 4 kB / 0.5076 GB, free: 1.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009264/0.1086, allocations: 0.548 MB / 0.5082 GB, free: 1.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1086, allocations: 8 kB / 0.5082 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1087, allocations: 8 kB / 0.5082 GB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1087, allocations: 8 kB / 0.5082 GB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.109, allocations: 87.83 kB / 0.5083 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.109, allocations: 19.88 kB / 0.5083 GB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1092, allocations: 47.72 kB / 0.5083 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1093, allocations: 28 kB / 0.5083 GB, free: 0.9258 MB / 366.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.000339/0.1096, allocations: 257.8 kB / 0.5086 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.1097, allocations: 31.81 kB / 0.5086 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.1101, allocations: 243.7 kB / 0.5089 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1101, allocations: 8 kB / 0.5089 GB, free: 392 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.1101, allocations: 3.938 kB / 0.5089 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1102, allocations: 4 kB / 0.5089 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.1117, allocations: 1.127 MB / 0.51 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1117, allocations: 0 / 0.51 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.1118, allocations: 15.98 kB / 0.51 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1118, allocations: 3.938 kB / 0.51 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.1118, allocations: 15.98 kB / 0.51 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1118, allocations: 0 / 0.51 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1118, allocations: 8 kB / 0.51 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1129, allocations: 0.7126 MB / 0.5107 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.113, allocations: 112.7 kB / 0.5108 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.113, allocations: 11.92 kB / 0.5108 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1132, allocations: 11.98 kB / 0.5108 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.1132, allocations: 31.95 kB / 0.5109 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.1133, allocations: 19.98 kB / 0.5109 GB, free: 14.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1134, allocations: 152.5 kB / 0.511 GB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1134, allocations: 0 / 0.511 GB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006408/0.1141, allocations: 183.3 kB / 0.5112 GB, free: 13.89 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.002077/0.1161, allocations: 1.49 MB / 0.5127 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.1169, allocations: 392.7 kB / 0.513 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1169, allocations: 0 / 0.513 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.1172, allocations: 160.2 kB / 0.5132 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.1178, allocations: 82.91 kB / 0.5133 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.1232, allocations: 3.846 MB / 0.517 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.1237, allocations: 0.8389 MB / 0.5178 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1238, allocations: 51.33 kB / 0.5179 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.124, allocations: 139.4 kB / 0.518 GB, free: 6.613 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.124, allocations: 4 kB / 0.518 GB, free: 6.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.1614, allocations: 9.349 MB / 0.5272 GB, free: 13.46 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.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/OpenModelica/OMCompiler/build/bin/../include/omc/c/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/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP.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.026110813996638] Failed to read output from testmodel.py, exit status != 0: 0.5380897660070332 0.558937578 0.459443644 Calling exit ...