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.001318/0.001318, allocations: 105 kB / 20.53 MB, free: 1.43 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.002219/0.002219, allocations: 212.2 kB / 23.83 MB, free: 4.641 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.496/1.496, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.06298/0.06298, allocations: 12.22 MB / 326.2 MB, free: 7.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 454.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1371, allocations: 56.4 MB / 0.4986 GB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.006041/0.1431, allocations: 3.179 MB / 0.5017 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1452, allocations: 0.9963 MB / 0.5027 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1454, allocations: 11.88 kB / 0.5027 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1458, allocations: 87.06 kB / 0.5028 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1461, allocations: 71.39 kB / 0.5028 GB, free: 12.13 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.0009638/0.147, allocations: 327.1 kB / 0.5031 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.1476, allocations: 498.7 kB / 0.5036 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.148, allocations: 173.7 kB / 0.5038 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.1483, allocations: 247.2 kB / 0.504 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.1487, allocations: 298.7 kB / 0.5043 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.386e-05/0.1488, allocations: 56 kB / 0.5044 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.1492, allocations: 215.8 kB / 0.5046 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.1494, allocations: 187.5 kB / 0.5047 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.1496, allocations: 258.6 kB / 0.505 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1507, allocations: 0.8013 MB / 0.5058 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1507, allocations: 0 / 0.5058 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1507, allocations: 0 / 0.5058 GB, free: 9.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1507, allocations: 0 / 0.5058 GB, free: 9.094 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.002218/0.1529, allocations: 1.22 MB / 0.507 GB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.153, allocations: 12.03 kB / 0.507 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.894e-05/0.153, allocations: 13.19 kB / 0.507 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1531, allocations: 90.69 kB / 0.5071 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1532, allocations: 60.56 kB / 0.5071 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.1538, allocations: 302.5 kB / 0.5074 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.1538, allocations: 37.36 kB / 0.5075 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.1539, allocations: 52.38 kB / 0.5075 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.155, allocations: 0.5574 MB / 0.5081 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.155, allocations: 0 / 0.5081 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.1551, allocations: 16 kB / 0.5081 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1551, allocations: 12 kB / 0.5081 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006428/0.1557, allocations: 315.9 kB / 0.5084 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.158, allocations: 1.497 MB / 0.5098 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/0.1588, allocations: 330.6 kB / 0.5102 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.1591, allocations: 151.4 kB / 0.5103 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.1592, allocations: 11.94 kB / 0.5103 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.1597, allocations: 271.9 kB / 0.5106 GB, free: 3.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.144e-06/0.1597, allocations: 0 / 0.5106 GB, free: 3.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.001416/0.1611, allocations: 0.6541 MB / 0.5112 GB, free: 3.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.1613, allocations: 172.4 kB / 0.5114 GB, free: 3.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.1617, allocations: 268.9 kB / 0.5116 GB, free: 2.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.1617, allocations: 49.69 kB / 0.5117 GB, free: 2.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.162, allocations: 241.2 kB / 0.5119 GB, free: 2.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1621, allocations: 115.2 kB / 0.512 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.1623, allocations: 138.3 kB / 0.5122 GB, free: 2.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1625, allocations: 346.8 kB / 0.5125 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.1628, allocations: 137.2 kB / 0.5126 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.1633, allocations: 355.6 kB / 0.513 GB, free: 1.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.1642, allocations: 0.5352 MB / 0.5135 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.1642, allocations: 4 kB / 0.5135 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001019/0.1652, allocations: 0.5481 MB / 0.514 GB, free: 96 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1652, allocations: 8 kB / 0.514 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.1652, allocations: 4 kB / 0.514 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.1653, allocations: 12 kB / 0.514 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2622/0.4275, allocations: 85.78 kB / 0.5141 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.844e-05/0.4275, allocations: 19.25 kB / 0.5141 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.4278, allocations: 48.11 kB / 0.5142 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.4279, allocations: 26.69 kB / 0.5142 GB, free: 20.9 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.0003624/0.4283, allocations: 256.2 kB / 0.5145 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.4283, allocations: 37.64 kB / 0.5145 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.4288, allocations: 246.2 kB / 0.5147 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4288, allocations: 7.875 kB / 0.5147 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4288, allocations: 0 / 0.5147 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4288, allocations: 2.531 kB / 0.5147 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.43, allocations: 1.103 MB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4301, allocations: 3.688 kB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.4301, allocations: 18.53 kB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.4301, allocations: 1.703 kB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.4302, allocations: 13.05 kB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4302, allocations: 2.219 kB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4302, allocations: 1.469 kB / 0.5158 GB, free: 20.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.431, allocations: 0.7191 MB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.431, allocations: 34.06 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.431, allocations: 11.36 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.4312, allocations: 10.17 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4313, allocations: 22.38 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.4313, allocations: 21.95 kB / 0.5166 GB, free: 20.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.4314, allocations: 158.2 kB / 0.5168 GB, free: 20.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4314, allocations: 3.156 kB / 0.5168 GB, free: 20.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000681/0.4321, allocations: 182.6 kB / 0.517 GB, free: 20.09 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.001829/0.4339, allocations: 1.499 MB / 0.5184 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006945/0.4346, allocations: 380.3 kB / 0.5188 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4346, allocations: 0 / 0.5188 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.4349, allocations: 162.2 kB / 0.519 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.4355, allocations: 70.91 kB / 0.519 GB, free: 19.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.44, allocations: 3.848 MB / 0.5228 GB, free: 17.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.4404, allocations: 0.8368 MB / 0.5236 GB, free: 16.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.4406, allocations: 54.44 kB / 0.5237 GB, free: 16.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.4408, allocations: 134.3 kB / 0.5238 GB, free: 16.48 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4408, allocations: 0 / 0.5238 GB, free: 16.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.4774, allocations: 9.772 MB / 0.5333 GB, free: 14.59 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_DIRECTORY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc -- SUNDIALS_CVODE_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- SUNDIALS_NVECSERIAL_LIBRARY: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- CVODE: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_cvode.so;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libsundials_nvecserial.so -- 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.4023937470046803] Failed to read output from testmodel.py, exit status != 0: 0.8753578870091587 0.887084126 0.733725984 Calling exit ...