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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.8 kB / 17.17 MB, free: 5.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 196.5 kB / 20.12 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06063/0.06063, allocations: 12.17 MB / 315.6 MB, free: 244 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001923/0.001923, allocations: 71.88 kB / 439.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2912, allocations: 55.16 MB / 494.7 MB, free: 23.58 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003223/0.2944, allocations: 2.245 MB / 496.9 MB, free: 21.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002792/0.2947, allocations: 147.3 kB / 497.1 MB, free: 21.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.2948, allocations: 1.875 kB / 497.1 MB, free: 21.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.2949, allocations: 23.02 kB / 497.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.295, allocations: 10.06 kB / 497.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2952, allocations: 56.41 kB / 497.2 MB, free: 21.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.2954, allocations: 70.92 kB / 497.2 MB, free: 21.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.2955, allocations: 14 kB / 497.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.2955, allocations: 21.48 kB / 497.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.2956, allocations: 35.48 kB / 497.3 MB, free: 21.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2956, allocations: 5.156 kB / 497.3 MB, free: 21.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.771e-05/0.2957, allocations: 26.78 kB / 497.3 MB, free: 21.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.2957, allocations: 15.36 kB / 497.3 MB, free: 21.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.2957, allocations: 30.36 kB / 497.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2959, allocations: 97.91 kB / 497.5 MB, free: 21.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2959, allocations: 4 kB / 497.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2959, allocations: 0 / 497.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.2959, allocations: 1.031 kB / 497.5 MB, free: 21.45 MB / 366.1 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.0003859/0.2963, allocations: 429.1 kB / 497.9 MB, free: 20.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2963, allocations: 14.05 kB / 497.9 MB, free: 20.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.2964, allocations: 41.2 kB / 498 MB, free: 20.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.2964, allocations: 14.09 kB / 498 MB, free: 20.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.2966, allocations: 199.3 kB / 498.2 MB, free: 20.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2966, allocations: 11.47 kB / 498.2 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.2966, allocations: 4.938 kB / 498.2 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.2969, allocations: 154.1 kB / 498.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2969, allocations: 4.875 kB / 498.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2969, allocations: 0.8125 kB / 498.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.297, allocations: 6.875 kB / 498.3 MB, free: 20.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.297, allocations: 30.92 kB / 498.4 MB, free: 20.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.2973, allocations: 287.3 kB / 498.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.2975, allocations: 155.9 kB / 498.8 MB, free: 20.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.2976, allocations: 40.28 kB / 498.8 MB, free: 20.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.2977, allocations: 80.48 kB / 498.9 MB, free: 19.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2977, allocations: 36.16 kB / 499 MB, free: 19.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.502e-06/0.2977, allocations: 0 / 499 MB, free: 19.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000297/0.298, allocations: 176 kB / 499.1 MB, free: 19.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.298, allocations: 135.4 kB / 499.3 MB, free: 19.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.2981, allocations: 130 kB / 499.4 MB, free: 19.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2981, allocations: 31.08 kB / 499.4 MB, free: 19.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.2982, allocations: 91.05 kB / 499.5 MB, free: 19.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.2982, allocations: 17.31 kB / 499.5 MB, free: 19.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.2982, allocations: 26.36 kB / 499.5 MB, free: 19.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.2983, allocations: 324.7 kB / 499.9 MB, free: 19.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.2983, allocations: 12.62 kB / 499.9 MB, free: 19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.844e-05/0.2984, allocations: 61.72 kB / 499.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.2985, allocations: 182.4 kB / 0.4884 GB, free: 18.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2985, allocations: 3.938 kB / 0.4884 GB, free: 18.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001773/0.2986, allocations: 157.1 kB / 0.4885 GB, free: 18.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.2987, allocations: 59.53 kB / 0.4886 GB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.2987, allocations: 6.438 kB / 0.4886 GB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2987, allocations: 1.562 kB / 0.4886 GB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.2987, allocations: 13.39 kB / 0.4886 GB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2987, allocations: 3.375 kB / 0.4886 GB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.943e-05/0.2988, allocations: 11.08 kB / 0.4886 GB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2988, allocations: 9.5 kB / 0.4886 GB, free: 18.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (8): * Single equations (assignments): 6 * 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 8.11e-05/0.2989, allocations: 185 kB / 0.4888 GB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.299, allocations: 62.61 kB / 0.4889 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.299, allocations: 10.75 kB / 0.4889 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.299, allocations: 1.406 kB / 0.4889 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.299, allocations: 0 / 0.4889 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.299, allocations: 1.781 kB / 0.4889 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.2991, allocations: 180 kB / 0.4891 GB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2991, allocations: 7.984 kB / 0.4891 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.2992, allocations: 11.28 kB / 0.4891 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2992, allocations: 1.375 kB / 0.4891 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2992, allocations: 2.281 kB / 0.4891 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2992, allocations: 1.469 kB / 0.4891 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2992, allocations: 320 / 0.4891 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.2994, allocations: 259.9 kB / 0.4893 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.2994, allocations: 91.89 kB / 0.4894 GB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2994, allocations: 6.094 kB / 0.4894 GB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.2995, allocations: 2.469 kB / 0.4894 GB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.2995, allocations: 7.094 kB / 0.4894 GB, free: 17.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2995, allocations: 3.031 kB / 0.4894 GB, free: 17.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.561e-05/0.2995, allocations: 100.7 kB / 0.4895 GB, free: 17.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2995, allocations: 0 / 0.4895 GB, free: 17.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000271/0.2998, allocations: 29.31 kB / 0.4896 GB, free: 17.59 MB / 366.1 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.0008349/0.3006, allocations: 0.9409 MB / 0.4905 GB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3008, allocations: 170 kB / 0.4906 GB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3008, allocations: 1.562 kB / 0.4907 GB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.3009, allocations: 120 kB / 0.4908 GB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3012, allocations: 33.72 kB / 0.4908 GB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3023, allocations: 1.546 MB / 0.4923 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3024, allocations: 0.6907 MB / 0.493 GB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.3024, allocations: 18.2 kB / 0.493 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.3025, allocations: 22.7 kB / 0.493 GB, free: 14.22 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3025, allocations: 0 / 0.493 GB, free: 14.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3275, allocations: 2.553 MB / 0.4955 GB, free: 12.84 MB / 366.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource.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 14.0.0 -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-master/Resources/Library/linux64/libWinmm.a -- Configuring done 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 \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource/Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestRandomRealSource.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.2049100752919912] Failed to read output from testmodel.py, exit status != 0: 0.7582806870341301 0.780871774 0.480924792 Calling exit ...