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.00131/0.00131, allocations: 118.2 kB / 19.74 MB, free: 2.141 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.001502/0.001502, allocations: 217.8 kB / 23.05 MB, free: 4.945 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.06207/0.06207, allocations: 12.22 MB / 325.5 MB, free: 7.246 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.002034/0.002034, allocations: 71.89 kB / 453.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1273, allocations: 56.39 MB / 0.4978 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005305/0.1326, allocations: 3.174 MB / 0.5009 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1345, allocations: 0.9924 MB / 0.5019 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.1346, allocations: 19.81 kB / 0.5019 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1349, allocations: 83.12 kB / 0.502 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1352, allocations: 75.31 kB / 0.5021 GB, free: 12.14 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.0008368/0.136, allocations: 331.1 kB / 0.5024 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.1366, allocations: 494.7 kB / 0.5029 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.1369, allocations: 173.8 kB / 0.503 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.1372, allocations: 251.1 kB / 0.5033 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.1376, allocations: 298.7 kB / 0.5035 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.1376, allocations: 56 kB / 0.5036 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.138, allocations: 215.8 kB / 0.5038 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.1382, allocations: 187.5 kB / 0.504 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.1384, allocations: 262.6 kB / 0.5042 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.1394, allocations: 0.7935 MB / 0.505 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1394, allocations: 0 / 0.505 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1394, allocations: 0 / 0.505 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1394, allocations: 3.984 kB / 0.505 GB, free: 9.098 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.002084/0.1415, allocations: 1.224 MB / 0.5062 GB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1415, allocations: 8.031 kB / 0.5062 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1416, allocations: 94.69 kB / 0.5063 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.1417, allocations: 60.56 kB / 0.5064 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1422, allocations: 294.6 kB / 0.5066 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.1422, allocations: 33.38 kB / 0.5067 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.1423, allocations: 56.3 kB / 0.5067 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.1432, allocations: 0.5575 MB / 0.5073 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1432, allocations: 4 kB / 0.5073 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.1433, allocations: 16 kB / 0.5073 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1433, allocations: 12 kB / 0.5073 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.1439, allocations: 317.4 kB / 0.5076 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.146, allocations: 1.497 MB / 0.5091 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.1467, allocations: 326.5 kB / 0.5094 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.1469, allocations: 151.3 kB / 0.5095 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.147, allocations: 8 kB / 0.5095 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.1474, allocations: 271.9 kB / 0.5098 GB, free: 3.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.1474, allocations: 0 / 0.5098 GB, free: 3.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001299/0.1487, allocations: 0.6625 MB / 0.5104 GB, free: 3.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.1489, allocations: 160.5 kB / 0.5106 GB, free: 3.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.1492, allocations: 276.8 kB / 0.5109 GB, free: 2.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.1492, allocations: 45.69 kB / 0.5109 GB, free: 2.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1494, allocations: 241.2 kB / 0.5111 GB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1495, allocations: 123.1 kB / 0.5112 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.1497, allocations: 134.3 kB / 0.5114 GB, free: 2.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1499, allocations: 350.8 kB / 0.5117 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.1502, allocations: 133.2 kB / 0.5118 GB, free: 1.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.1506, allocations: 355.6 kB / 0.5122 GB, free: 1.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/0.1513, allocations: 0.535 MB / 0.5127 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.1513, allocations: 4 kB / 0.5127 GB, free: 0.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009401/0.1523, allocations: 0.5326 MB / 0.5132 GB, free: 132 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1523, allocations: 8.125 kB / 0.5132 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1523, allocations: 12 kB / 0.5132 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/0.1523, allocations: 15.94 kB / 0.5133 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1527, allocations: 91.77 kB / 0.5133 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2463/0.3989, allocations: 17.25 kB / 0.5134 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.3993, allocations: 46.23 kB / 0.5134 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.3994, allocations: 29.12 kB / 0.5134 GB, free: 20.82 MB / 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.0004185/0.3998, allocations: 253.1 kB / 0.5137 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.3999, allocations: 34.78 kB / 0.5137 GB, free: 20.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.4004, allocations: 249.6 kB / 0.5139 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4004, allocations: 4.875 kB / 0.5139 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4004, allocations: 1.531 kB / 0.514 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4004, allocations: 6.875 kB / 0.514 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.4017, allocations: 1.098 MB / 0.515 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4017, allocations: 4.375 kB / 0.515 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.4017, allocations: 14.12 kB / 0.515 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.4017, allocations: 2.125 kB / 0.515 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.4018, allocations: 12.61 kB / 0.5151 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4018, allocations: 2.312 kB / 0.5151 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4018, allocations: 5.438 kB / 0.5151 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.4026, allocations: 0.72 MB / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.4026, allocations: 30.19 kB / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.4027, allocations: 10.19 kB / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4028, allocations: 14.41 kB / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.4029, allocations: 21.45 kB / 0.5158 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.403, allocations: 19.62 kB / 0.5159 GB, free: 20.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.4031, allocations: 154 kB / 0.516 GB, free: 20.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4031, allocations: 0 / 0.516 GB, free: 20.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007093/0.4038, allocations: 182.9 kB / 0.5162 GB, free: 20 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.001703/0.4055, allocations: 1.506 MB / 0.5177 GB, free: 19.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.4062, allocations: 382.8 kB / 0.518 GB, free: 19.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4062, allocations: 3.828 kB / 0.518 GB, free: 19.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.4065, allocations: 163.9 kB / 0.5182 GB, free: 19.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.407, allocations: 73.08 kB / 0.5182 GB, free: 19.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.4111, allocations: 3.839 MB / 0.522 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4114, allocations: 0.8423 MB / 0.5228 GB, free: 16.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.4116, allocations: 53.16 kB / 0.5229 GB, free: 16.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.4117, allocations: 134.4 kB / 0.523 GB, free: 16.39 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4117, allocations: 0 / 0.523 GB, free: 16.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04313/0.4549, allocations: 9.744 MB / 0.5325 GB, free: 14.55 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.4354394639958628] Failed to read output from testmodel.py, exit status != 0: 0.8411921969964169 0.852316277 0.710487995 Calling exit ...