Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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.0008619/0.0008619, 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.0008945/0.0008945, 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.9911/0.9911, allocations: 177.1 MB / 203.6 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.03774/0.03774, allocations: 9.147 MB / 269.1 MB, free: 4.477 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.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 397.1 MB, free: 80 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.102e-05, allocations: 6.281 kB / 397.1 MB, free: 72 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003613/0.003634, allocations: 3.133 MB / 400.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.005009, allocations: 0.9534 MB / 401.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.005179, allocations: 19.81 kB / 401.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.005423, allocations: 87.11 kB / 401.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.005625, allocations: 55.47 kB / 401.3 MB, free: 11.8 MB / 330.7 MB [/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: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/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: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/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: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'. [/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:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008733/0.006498, allocations: 345.6 kB / 401.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.007092, allocations: 459.5 kB / 402.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.007409, allocations: 181 kB / 402.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.007784, allocations: 303.3 kB / 402.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.00808, allocations: 203.4 kB / 402.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.008145, allocations: 44 kB / 402.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.008477, allocations: 207.7 kB / 403 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.008623, allocations: 167.4 kB / 403.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.008736, allocations: 151.5 kB / 403.3 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.009443, allocations: 0.7785 MB / 404.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.009446, allocations: 0 / 404.1 MB, free: 8.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.009448, allocations: 4 kB / 404.1 MB, free: 8.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.009458, allocations: 0 / 404.1 MB, free: 8.992 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001466/0.01092, allocations: 1.117 MB / 405.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01096, allocations: 8.031 kB / 405.2 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.01104, allocations: 94.7 kB / 405.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/0.01113, allocations: 64.52 kB / 405.4 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.01147, allocations: 337.3 kB / 405.7 MB, free: 7.273 MB / 330.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.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.0001019/0.01158, allocations: 104.9 kB / 405.8 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.01163, allocations: 48.38 kB / 405.9 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.013, allocations: 1.333 MB / 407.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.01302, allocations: 3.938 kB / 407.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.01306, allocations: 27.94 kB / 407.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.0131, allocations: 19.98 kB / 407.2 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.01355, allocations: 361.7 kB / 407.6 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.01496, allocations: 2.022 MB / 409.6 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007609/0.01572, allocations: 0.7708 MB / 410.4 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.01609, allocations: 403 kB / 410.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.224e-05/0.01619, allocations: 56.36 kB / 410.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.01622, allocations: 51 kB / 410.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.615e-06/0.01622, allocations: 0 / 410.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.001119/0.01734, allocations: 0.895 MB / 411.8 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.01749, allocations: 355.8 kB / 412.1 MB, free: 448 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.01771, allocations: 304 kB / 412.4 MB, free: 132 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.01774, allocations: 41.7 kB / 412.5 MB, free: 84 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1661/0.1839, allocations: 194 kB / 412.7 MB, free: 27.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.184, allocations: 78.69 kB / 412.7 MB, free: 27.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.1841, allocations: 84.91 kB / 412.8 MB, free: 27.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.1842, allocations: 340.7 kB / 413.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1843, allocations: 84.94 kB / 413.2 MB, free: 27.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1845, allocations: 249.4 kB / 413.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1848, allocations: 351.8 kB / 413.8 MB, free: 26.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1848, allocations: 2.25 kB / 413.8 MB, free: 26.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004149/0.1852, allocations: 372.6 kB / 414.2 MB, free: 26.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1852, allocations: 6.562 kB / 414.2 MB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1852, allocations: 11.11 kB / 414.2 MB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1853, allocations: 7 kB / 414.2 MB, free: 26.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.1854, allocations: 60.05 kB / 414.3 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1854, allocations: 8.531 kB / 414.3 MB, free: 26.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/0.1855, allocations: 32.34 kB / 414.3 MB, free: 26.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1855, allocations: 17.28 kB / 414.3 MB, free: 26.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.1858, allocations: 234.8 kB / 414.6 MB, free: 26.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/0.1864, allocations: 0.5117 MB / 415.1 MB, free: 26.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.1872, allocations: 0.6755 MB / 415.7 MB, free: 25.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/0.1872, allocations: 18.3 kB / 415.8 MB, free: 25.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1872, allocations: 2.906 kB / 415.8 MB, free: 25.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.1872, allocations: 10.2 kB / 415.8 MB, free: 25.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.1878, allocations: 387.2 kB / 416.1 MB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.1879, allocations: 5.719 kB / 416.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1881, allocations: 118 kB / 416.3 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1881, allocations: 5.562 kB / 416.3 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.1881, allocations: 25.89 kB / 416.3 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.1882, allocations: 10.3 kB / 416.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1882, allocations: 2.031 kB / 416.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.1894, allocations: 1.833 MB / 418.1 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1894, allocations: 63.83 kB / 418.2 MB, free: 24.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1895, allocations: 22.22 kB / 418.2 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1897, allocations: 25.47 kB / 418.3 MB, free: 24.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1898, allocations: 28.77 kB / 418.3 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.1898, allocations: 30.34 kB / 418.3 MB, free: 24.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1899, allocations: 200.2 kB / 418.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1899, allocations: 0 / 418.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005702/0.1905, allocations: 150 kB / 418.7 MB, free: 24.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.001751/0.1923, allocations: 2.668 MB / 421.3 MB, free: 22.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.1929, allocations: 1.123 MB / 422.4 MB, free: 21.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1929, allocations: 1.281 kB / 422.4 MB, free: 21.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.1932, allocations: 0.7831 MB / 423.2 MB, free: 20.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.1946, allocations: 1.228 MB / 424.5 MB, free: 19.95 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.1974, allocations: 2.686 MB / 427.1 MB, free: 18.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1977, allocations: 333 kB / 427.5 MB, free: 18.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.1979, allocations: 62.05 kB / 427.5 MB, free: 18.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.198, allocations: 160.1 kB / 427.7 MB, free: 18.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.198, allocations: 0.9688 kB / 427.7 MB, free: 18.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.2249, allocations: 12.89 MB / 440.6 MB, free: 11.45 MB / 330.7 MB Error: Error building simulator. Build log: cmd: cd '885.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.TestSerialPackager_UDP/885.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.TestSerialPackager_UDP/885.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 \"885\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP/885.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.2435461934655905] Failed to read output from testmodel.py, exit status != 0: 0.49403941445052624 0.502121885 0.490604893 Calling exit ...