Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.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.000872/0.000872, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.001619/0.001619, allocations: 174.3 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.9532/0.9532, allocations: 177.1 MB / 203.6 MB, free: 5.746 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.03692/0.03692, allocations: 9.14 MB / 269.1 MB, free: 4.469 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.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 397 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.079e-05, allocations: 6.219 kB / 397.1 MB, free: 1.258 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003973/0.004004, allocations: 2.35 MB / 399.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.004259, allocations: 139.5 kB / 399.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.004352, allocations: 7.938 kB / 399.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.004564, allocations: 27.78 kB / 399.6 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.004706, allocations: 7.922 kB / 399.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.00501, allocations: 51.77 kB / 399.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.005216, allocations: 75.7 kB / 399.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.005359, allocations: 15.98 kB / 399.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.005436, allocations: 39.89 kB / 399.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.005513, allocations: 15.98 kB / 399.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.005543, allocations: 4 kB / 399.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.005637, allocations: 39.92 kB / 399.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.005683, allocations: 11.92 kB / 399.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.005734, allocations: 15.94 kB / 399.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.005952, allocations: 95.69 kB / 399.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.005958, allocations: 3.984 kB / 399.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.00596, allocations: 4 kB / 399.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.005967, allocations: 3.938 kB / 399.9 MB, free: 14.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005078/0.006475, allocations: 345.5 kB / 400.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.006527, allocations: 12.03 kB / 400.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.006567, allocations: 38.75 kB / 400.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.006614, allocations: 16.83 kB / 400.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.006911, allocations: 149.6 kB / 400.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.006925, allocations: 384 / 400.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.006938, allocations: 4.375 kB / 400.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.007243, allocations: 212.9 kB / 400.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.007253, allocations: 192 / 400.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.007266, allocations: 4.375 kB / 400.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.007294, allocations: 19.98 kB / 400.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.007368, allocations: 83.39 kB / 400.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.00772, allocations: 240.9 kB / 401.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.007945, allocations: 128.6 kB / 401.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.00801, allocations: 97.06 kB / 401.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.008097, allocations: 12 kB / 401.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.008122, allocations: 30.56 kB / 401.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.008124, allocations: 0 / 401.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002959/0.00842, allocations: 283.8 kB / 401.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.008496, allocations: 140.5 kB / 401.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.008589, allocations: 137.7 kB / 401.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.008603, allocations: 25.7 kB / 401.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.008664, allocations: 92.12 kB / 402 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.008676, allocations: 11.89 kB / 402 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.008707, allocations: 17.72 kB / 402 MB, free: 11.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.008788, allocations: 318.8 kB / 402.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.00883, allocations: 63.39 kB / 402.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.008872, allocations: 73.12 kB / 402.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.008949, allocations: 140.5 kB / 402.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.008952, allocations: 0 / 402.6 MB, free: 11.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.009087, allocations: 180.4 kB / 402.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.009134, allocations: 67.39 kB / 402.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.009142, allocations: 0 / 402.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.009158, allocations: 0 / 402.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.009196, allocations: 4 kB / 402.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.009203, allocations: 0 / 402.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.00923, allocations: 7.953 kB / 402.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.009241, allocations: 240 / 402.8 MB, free: 11.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.0001161/0.009357, allocations: 181.1 kB / 403 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.009424, allocations: 65.62 kB / 403.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.009466, allocations: 16.48 kB / 403.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00947, allocations: 4 kB / 403.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.009474, allocations: 0 / 403.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.009479, allocations: 4 kB / 403.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.009613, allocations: 148.6 kB / 403.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.009616, allocations: 3.938 kB / 403.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.00964, allocations: 8 kB / 403.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.009643, allocations: 3.984 kB / 403.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.009657, allocations: 8 kB / 403.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.009659, allocations: 0 / 403.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00966, allocations: 0 / 403.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.009878, allocations: 319.1 kB / 403.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.009892, allocations: 15.83 kB / 403.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.00991, allocations: 3.984 kB / 403.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.009943, allocations: 7.938 kB / 403.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.009969, allocations: 4 kB / 403.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.009975, allocations: 4 kB / 403.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.01003, allocations: 95.7 kB / 403.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 403.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.01021, allocations: 19.94 kB / 403.7 MB, free: 10 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0008224/0.01103, allocations: 1.012 MB / 404.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.01124, allocations: 261.6 kB / 405 MB, free: 8.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01124, allocations: 0 / 405 MB, free: 8.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.01131, allocations: 178.2 kB / 405.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.01153, allocations: 34.92 kB / 405.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.01272, allocations: 1.721 MB / 406.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.418e-05/0.0128, allocations: 76.36 kB / 407 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.01284, allocations: 12.17 kB / 407 MB, free: 6.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.01288, allocations: 16.5 kB / 407 MB, free: 6.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01288, allocations: 0 / 407 MB, free: 6.445 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.02903, allocations: 3.17 MB / 410.2 MB, free: 3.398 MB / 378.7 MB Error: Error building simulator. Build log: cmd: cd '434.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.TestRandomRealSource/434.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.TestRandomRealSource/434.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.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: rt linked by target \"434\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource/434.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.040443789213896] Failed to read output from testmodel.py, exit status != 0: 0.2701596887782216 0.27991336 0.27147199 Calling exit ...