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.00117/0.00117, 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.001347/0.001347, allocations: 173.9 kB / 23.25 MB, free: 1.316 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.9546/0.9546, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.03802/0.03802, allocations: 9.138 MB / 269.1 MB, free: 4.48 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 7.324e-06/7.324e-06, allocations: 0 / 397 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.528e-05/4.26e-05, allocations: 5.234 kB / 397.1 MB, free: 72 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004231/0.004273, allocations: 3.125 MB / 400.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.005702, allocations: 0.9844 MB / 401.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.005881, allocations: 15.88 kB / 401.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.006135, allocations: 83.08 kB / 401.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.006335, allocations: 47.47 kB / 401.3 MB, free: 11.79 MB / 330.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.0008169/0.007152, allocations: 370.7 kB / 401.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.007566, allocations: 484 kB / 402.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.007848, allocations: 181.1 kB / 402.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.008105, allocations: 323.4 kB / 402.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.008349, allocations: 215.4 kB / 402.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.008406, allocations: 56 kB / 402.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.008659, allocations: 211.6 kB / 403.1 MB, free: 9.984 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.008805, allocations: 163.5 kB / 403.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.008936, allocations: 163.5 kB / 403.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006414/0.009578, allocations: 0.7864 MB / 404.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.009581, allocations: 0 / 404.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.009583, allocations: 4 kB / 404.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.009593, allocations: 0 / 404.2 MB, free: 8.871 MB / 330.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.001402/0.01099, allocations: 1.203 MB / 405.4 MB, free: 7.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01103, allocations: 8.031 kB / 405.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.453e-05/0.01111, allocations: 98.7 kB / 405.5 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.0112, allocations: 60.56 kB / 405.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.01151, allocations: 311.1 kB / 405.9 MB, free: 7.078 MB / 330.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 9.361e-05/0.0116, allocations: 97.28 kB / 406 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.01164, allocations: 60.31 kB / 406 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.01328, allocations: 1.677 MB / 407.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.0133, allocations: 4.125 kB / 407.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.01333, allocations: 20.38 kB / 407.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.01334, allocations: 15.94 kB / 407.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.01374, allocations: 322.7 kB / 408.1 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.01455, allocations: 1.055 MB / 409.1 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/0.01541, allocations: 0.8028 MB / 409.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.01586, allocations: 458.1 kB / 410.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/0.01596, allocations: 44.62 kB / 410.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.01599, allocations: 59.09 kB / 410.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 2.054e-06/0.01599, allocations: 0 / 410.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.001135/0.01713, allocations: 0.9356 MB / 411.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.01726, allocations: 251.2 kB / 411.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.0174, allocations: 227.1 kB / 411.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.01744, allocations: 45.64 kB / 411.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.01752, allocations: 161.8 kB / 412.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.01754, allocations: 35.72 kB / 412.1 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.0176, allocations: 57.69 kB / 412.2 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.0177, allocations: 334.8 kB / 412.5 MB, free: 164 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.01774, allocations: 23.98 kB / 412.5 MB, free: 140 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1713/0.189, allocations: 111.1 kB / 412.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.1892, allocations: 140.2 kB / 412.8 MB, free: 27.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1892, allocations: 1.062 kB / 412.8 MB, free: 27.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002296/0.1894, allocations: 173.6 kB / 412.9 MB, free: 27.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1894, allocations: 11.78 kB / 413 MB, free: 27.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1895, allocations: 4.391 kB / 413 MB, free: 27.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1895, allocations: 2.906 kB / 413 MB, free: 27.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1896, allocations: 35.8 kB / 413 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1896, allocations: 8.047 kB / 413 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1897, allocations: 14.94 kB / 413 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1897, allocations: 16.05 kB / 413 MB, free: 27.24 MB / 330.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.0003271/0.19, allocations: 197.8 kB / 413.2 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009297/0.191, allocations: 0.6574 MB / 413.9 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/0.1919, allocations: 0.7632 MB / 414.6 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1919, allocations: 10.53 kB / 414.7 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.192, allocations: 2.906 kB / 414.7 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.192, allocations: 6.766 kB / 414.7 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.1924, allocations: 361.1 kB / 415 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.1924, allocations: 5.359 kB / 415 MB, free: 26.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.1928, allocations: 151.3 kB / 415.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1928, allocations: 3.875 kB / 415.2 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1928, allocations: 25.84 kB / 415.2 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.1928, allocations: 4.219 kB / 415.2 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1928, allocations: 2.969 kB / 415.2 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009945/0.1938, allocations: 1.144 MB / 416.4 MB, free: 25.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.1939, allocations: 56.98 kB / 416.4 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.1939, allocations: 24.36 kB / 416.4 MB, free: 25.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1941, allocations: 16.88 kB / 416.4 MB, free: 25.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1942, allocations: 11.72 kB / 416.5 MB, free: 25.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.1942, allocations: 35.5 kB / 416.5 MB, free: 25.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.1943, allocations: 145.4 kB / 416.6 MB, free: 25.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1943, allocations: 3.844 kB / 416.6 MB, free: 25.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005347/0.1948, allocations: 134.4 kB / 416.8 MB, free: 25.62 MB / 330.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.002305/0.1971, allocations: 2.379 MB / 419.1 MB, free: 24.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.1977, allocations: 352.5 kB / 419.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1977, allocations: 2.062 kB / 419.5 MB, free: 24.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.1977, allocations: 30.77 kB / 419.5 MB, free: 24.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.1992, allocations: 2.022 MB / 421.5 MB, free: 22.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.2019, allocations: 3.127 MB / 424.7 MB, free: 20.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.2022, allocations: 304.1 kB / 425 MB, free: 19.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.2023, allocations: 24.25 kB / 425 MB, free: 19.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.2025, allocations: 141.5 kB / 425.1 MB, free: 19.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2025, allocations: 4 kB / 425.1 MB, free: 19.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.2297, allocations: 11.99 MB / 437.1 MB, free: 15.12 MB / 330.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.1527799628674984] Failed to read output from testmodel.py, exit status != 0: 0.467071833088994 0.47201343199999996 0.46084310199999995 Calling exit ...