Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.0008786/0.0008786, allocations: 80.53 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008798/0.0008798, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9667/0.9667, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.03632/0.03632, allocations: 9.143 MB / 269.1 MB, free: 4.484 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 397.1 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.713e-05, allocations: 2.281 kB / 397.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005516/0.005543, allocations: 3.124 MB / 400.2 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.007489, allocations: 0.9805 MB / 401.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.007689, allocations: 23.75 kB / 401.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.008019, allocations: 79.14 kB / 401.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.008322, allocations: 43.53 kB / 401.3 MB, free: 12.99 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.00941, allocations: 368.1 kB / 401.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.009995, allocations: 484 kB / 402.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.01043, allocations: 181.1 kB / 402.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.01079, allocations: 323.3 kB / 402.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.01113, allocations: 211.4 kB / 402.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.512e-05/0.01122, allocations: 60 kB / 402.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.01157, allocations: 211.7 kB / 403.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.01175, allocations: 167.4 kB / 403.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.01231, allocations: 159.5 kB / 403.4 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.01335, allocations: 0.7864 MB / 404.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.01336, allocations: 0 / 404.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.01336, allocations: 0 / 404.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.01337, allocations: 4 kB / 404.2 MB, free: 10.08 MB / 378.7 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 uDPReceive2_1.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002001/0.01537, allocations: 1.215 MB / 405.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.01541, allocations: 8.031 kB / 405.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.036e-05/0.01549, allocations: 102.7 kB / 405.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.01558, allocations: 60.56 kB / 405.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.01592, allocations: 307.1 kB / 405.9 MB, free: 8.27 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.01603, allocations: 102.3 kB / 406 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.01608, allocations: 52.38 kB / 406 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.01782, allocations: 1.666 MB / 407.7 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.01784, allocations: 4.125 kB / 407.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.01787, allocations: 32.36 kB / 407.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.01789, allocations: 11.94 kB / 407.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.01831, allocations: 318.7 kB / 408.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008762/0.01919, allocations: 1.059 MB / 409.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/0.02012, allocations: 0.8027 MB / 409.9 MB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/0.02105, allocations: 458.1 kB / 410.4 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.02117, allocations: 40.64 kB / 410.4 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.02121, allocations: 59.09 kB / 410.5 MB, free: 3.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 2.405e-06/0.02121, allocations: 0 / 410.5 MB, free: 3.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=98): time 0.00123/0.02244, allocations: 0.9391 MB / 411.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.02257, allocations: 255 kB / 411.7 MB, free: 2.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.02275, allocations: 223.1 kB / 411.9 MB, free: 2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.02278, allocations: 41.7 kB / 411.9 MB, free: 1.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.02287, allocations: 165.7 kB / 412.1 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.02291, allocations: 36.36 kB / 412.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.02297, allocations: 57.67 kB / 412.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.02306, allocations: 334.8 kB / 412.5 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.0231, allocations: 23.98 kB / 412.5 MB, free: 1.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.02317, allocations: 109.9 kB / 412.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.0233, allocations: 143 kB / 412.8 MB, free: 1.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0233, allocations: 0 / 412.8 MB, free: 1.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001783/0.02348, allocations: 181.5 kB / 413 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.0235, allocations: 11.94 kB / 413 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.02351, allocations: 4 kB / 413 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.02352, allocations: 4 kB / 413 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.02363, allocations: 23.98 kB / 413 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.02364, allocations: 7.938 kB / 413 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.02369, allocations: 19.89 kB / 413 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.02371, allocations: 15.98 kB / 413 MB, free: 0.7344 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 13 (integerExpression.y,integerExpression1.y,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001981/0.02391, allocations: 195.8 kB / 413.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/0.02471, allocations: 0.6593 MB / 413.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008904/0.0256, allocations: 0.7672 MB / 414.7 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.02561, allocations: 12 kB / 414.7 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.02561, allocations: 4 kB / 414.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.02562, allocations: 3.984 kB / 414.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.02606, allocations: 356.1 kB / 415 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.02607, allocations: 8 kB / 415 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.02636, allocations: 143.8 kB / 415.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.02637, allocations: 7.938 kB / 415.2 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.02641, allocations: 32.08 kB / 415.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.02642, allocations: 4 kB / 415.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.02642, allocations: 4 kB / 415.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.02735, allocations: 1.138 MB / 416.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.02739, allocations: 55.52 kB / 416.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.02744, allocations: 27.94 kB / 416.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.02761, allocations: 20 kB / 416.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.02765, allocations: 7.984 kB / 416.5 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.02769, allocations: 35.98 kB / 416.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.869e-05/0.02778, allocations: 144.6 kB / 416.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02778, allocations: 4 kB / 416.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004666/0.02824, allocations: 135.7 kB / 416.8 MB, free: 12.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 2 * 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.002754/0.031, allocations: 2.389 MB / 419.2 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.03146, allocations: 358.7 kB / 419.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03146, allocations: 0 / 419.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.03149, allocations: 28.73 kB / 419.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.03319, allocations: 2.024 MB / 421.6 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.03613, allocations: 3.122 MB / 424.7 MB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.03634, allocations: 309.3 kB / 425 MB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.03641, allocations: 22.98 kB / 425 MB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.03655, allocations: 140.4 kB / 425.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 1.021e-06/0.03655, allocations: 0 / 425.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.06271, allocations: 11.98 MB / 437.1 MB, free: 8.473 MB / 410.7 MB Error: Error building simulator. Build log: cmd: cd '809.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 18.1.3 -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/fmi -- 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.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;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) 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 \"809\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP/809.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3029217235744] Failed to read output from testmodel.py, exit status != 0: 0.30940704233944416 0.49627262800000005 0.480362899 Calling exit ...