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.0008139/0.0008139, 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.0007925/0.0007925, 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.9463/0.9463, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.03473/0.03473, allocations: 9.139 MB / 269.1 MB, free: 4.465 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 1.633e-06/1.633e-06, allocations: 0 / 397 MB, free: 1.281 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.522e-05, allocations: 2.281 kB / 397 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.0032/0.003225, allocations: 2.354 MB / 399.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000289/0.003514, allocations: 139.5 kB / 399.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.0036, allocations: 7.938 kB / 399.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.003769, allocations: 23.78 kB / 399.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.003875, allocations: 11.92 kB / 399.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.004125, allocations: 51.77 kB / 399.6 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.004295, allocations: 75.77 kB / 399.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.004403, allocations: 11.98 kB / 399.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.004462, allocations: 39.91 kB / 399.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.00453, allocations: 19.97 kB / 399.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.004555, allocations: 4 kB / 399.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.004634, allocations: 39.86 kB / 399.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.00467, allocations: 7.984 kB / 399.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.004715, allocations: 15.94 kB / 399.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.004897, allocations: 99.62 kB / 399.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004899, allocations: 3.938 kB / 399.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0049, allocations: 0 / 399.9 MB, free: 14.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.004905, allocations: 0 / 399.9 MB, free: 14.37 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.0004417/0.005347, allocations: 357.4 kB / 400.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.005393, allocations: 12.03 kB / 400.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.005427, allocations: 34.75 kB / 400.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.005479, allocations: 12.84 kB / 400.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.005705, allocations: 137.7 kB / 400.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.005717, allocations: 4.375 kB / 400.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.00573, allocations: 12.31 kB / 400.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.006027, allocations: 216.9 kB / 400.7 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.006036, allocations: 192 / 400.7 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006047, allocations: 384 / 400.7 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.00607, allocations: 16.05 kB / 400.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.00615, allocations: 87.33 kB / 400.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.006493, allocations: 240.9 kB / 401 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.006734, allocations: 128.5 kB / 401.2 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.00681, allocations: 105.1 kB / 401.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-05/0.006895, allocations: 4 kB / 401.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.00692, allocations: 34.56 kB / 401.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/0.006922, allocations: 4 kB / 401.3 MB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003196/0.007241, allocations: 283.8 kB / 401.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.007311, allocations: 136.5 kB / 401.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.007405, allocations: 133.7 kB / 401.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.007421, allocations: 29.7 kB / 401.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.00747, allocations: 84.14 kB / 402 MB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.007487, allocations: 19.89 kB / 402 MB, free: 12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.007518, allocations: 13.72 kB / 402 MB, free: 11.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.007617, allocations: 318.8 kB / 402.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.007665, allocations: 63.39 kB / 402.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.964e-05/0.007715, allocations: 81.09 kB / 402.5 MB, free: 11.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.007794, allocations: 140.5 kB / 402.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.007797, allocations: 0 / 402.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.007942, allocations: 180.4 kB / 402.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.007992, allocations: 63.39 kB / 402.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.007999, allocations: 0 / 402.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.008016, allocations: 0 / 402.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.008057, allocations: 4 kB / 402.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008064, allocations: 0 / 402.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.00809, allocations: 8.203 kB / 402.8 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.0081, allocations: 4.062 kB / 402.8 MB, free: 11.02 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.0001031/0.008203, allocations: 181.2 kB / 403 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.008276, allocations: 65.62 kB / 403.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.008313, allocations: 16.06 kB / 403.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.008317, allocations: 0 / 403.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.008322, allocations: 4 kB / 403.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.008327, allocations: 0 / 403.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.008456, allocations: 144.6 kB / 403.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.008459, allocations: 3.938 kB / 403.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.008488, allocations: 12 kB / 403.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.00849, allocations: 4 kB / 403.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.008501, allocations: 3.984 kB / 403.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008503, allocations: 4 kB / 403.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008505, allocations: 0 / 403.3 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.008719, allocations: 311.2 kB / 403.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.008731, allocations: 19.7 kB / 403.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.008745, allocations: 4 kB / 403.6 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.008779, allocations: 7.984 kB / 403.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.008802, allocations: 4 kB / 403.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.008809, allocations: 4 kB / 403.6 MB, free: 10.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.00885, allocations: 95.27 kB / 403.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00885, allocations: 4 kB / 403.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.009029, allocations: 19.94 kB / 403.7 MB, free: 10.02 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.0007171/0.009746, allocations: 1.004 MB / 404.7 MB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.009966, allocations: 269.5 kB / 405 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.009968, allocations: 0 / 405 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.01004, allocations: 174.2 kB / 405.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01028, allocations: 39.89 kB / 405.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.01141, allocations: 1.714 MB / 406.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.287e-05/0.01147, allocations: 87.48 kB / 407 MB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.01153, allocations: 7.984 kB / 407 MB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.01157, allocations: 20.5 kB / 407 MB, free: 6.461 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01157, allocations: 0 / 407 MB, free: 6.461 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.03263, allocations: 3.169 MB / 410.2 MB, free: 3.418 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.0176116740331054] Failed to read output from testmodel.py, exit status != 0: 0.28896307200193405 0.299005733 0.29218656200000004 Calling exit ...