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.0013/0.0013, allocations: 110.7 kB / 17.17 MB, free: 5.887 MB / 14.72 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.001429/0.001429, allocations: 208.9 kB / 20.14 MB, free: 2.934 MB / 14.72 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 1.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.06194/0.06194, allocations: 12.21 MB / 321.8 MB, free: 13.3 MB / 254.1 MB " [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 0.001899/0.001899, allocations: 63.88 kB / 448.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09697, allocations: 56.37 MB / 0.4926 GB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003208/0.1002, allocations: 2.259 MB / 0.4948 GB, free: 15.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.1005, allocations: 147.5 kB / 0.495 GB, free: 15.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.1006, allocations: 7.938 kB / 0.495 GB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1007, allocations: 19.78 kB / 0.495 GB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.629e-05/0.1008, allocations: 19.94 kB / 0.495 GB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1011, allocations: 43.83 kB / 0.4951 GB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1012, allocations: 79.75 kB / 0.4951 GB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.1013, allocations: 8 kB / 0.4951 GB, free: 15.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.1014, allocations: 27.92 kB / 0.4952 GB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.1015, allocations: 31.83 kB / 0.4952 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1015, allocations: 4 kB / 0.4952 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.1016, allocations: 32 kB / 0.4952 GB, free: 15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.1016, allocations: 11.92 kB / 0.4952 GB, free: 14.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1016, allocations: 31.81 kB / 0.4953 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1018, allocations: 103.8 kB / 0.4954 GB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1018, allocations: 0 / 0.4954 GB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1018, allocations: 0 / 0.4954 GB, free: 14.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1019, allocations: 0 / 0.4954 GB, free: 14.86 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.0005417/0.1024, allocations: 430.5 kB / 0.4958 GB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1024, allocations: 8.031 kB / 0.4958 GB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.1025, allocations: 38.75 kB / 0.4958 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.1025, allocations: 12.89 kB / 0.4958 GB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1028, allocations: 196.2 kB / 0.496 GB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1028, allocations: 12.36 kB / 0.496 GB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1028, allocations: 4.375 kB / 0.496 GB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1032, allocations: 160.2 kB / 0.4962 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1032, allocations: 7.922 kB / 0.4962 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1032, allocations: 0 / 0.4962 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1032, allocations: 8 kB / 0.4962 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.1033, allocations: 35.92 kB / 0.4963 GB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.1037, allocations: 285.6 kB / 0.4965 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1039, allocations: 158.2 kB / 0.4967 GB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.104, allocations: 45.72 kB / 0.4967 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1041, allocations: 81.11 kB / 0.4968 GB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1042, allocations: 30.56 kB / 0.4968 GB, free: 13.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1042, allocations: 3.938 kB / 0.4968 GB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003697/0.1045, allocations: 177 kB / 0.497 GB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.1046, allocations: 132.5 kB / 0.4971 GB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1047, allocations: 125.9 kB / 0.4972 GB, free: 12.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1048, allocations: 25.7 kB / 0.4973 GB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.1048, allocations: 96.09 kB / 0.4974 GB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1049, allocations: 7.938 kB / 0.4974 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1049, allocations: 21.72 kB / 0.4974 GB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1051, allocations: 326.8 kB / 0.4977 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.1051, allocations: 15.98 kB / 0.4977 GB, free: 12.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.1052, allocations: 65.94 kB / 0.4978 GB, free: 12.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1054, allocations: 184.8 kB / 0.498 GB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1054, allocations: 0 / 0.498 GB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002364/0.1056, allocations: 160.8 kB / 0.4981 GB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.1057, allocations: 59.41 kB / 0.4982 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1057, allocations: 0 / 0.4982 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1057, allocations: 4 kB / 0.4982 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.1057, allocations: 11.98 kB / 0.4982 GB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1057, allocations: 8.219 kB / 0.4982 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1058, allocations: 11.94 kB / 0.4982 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1058, allocations: 4 kB / 0.4982 GB, free: 11.54 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 0.0001522/0.106, allocations: 181.1 kB / 0.4984 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1061, allocations: 65.89 kB / 0.4984 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.1061, allocations: 11.97 kB / 0.4984 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1061, allocations: 64 / 0.4984 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1061, allocations: 4 kB / 0.4985 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1061, allocations: 4 kB / 0.4985 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1063, allocations: 185.5 kB / 0.4986 GB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1063, allocations: 4 kB / 0.4986 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.1064, allocations: 4 kB / 0.4986 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1064, allocations: 4 kB / 0.4986 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1064, allocations: 144 / 0.4986 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1064, allocations: 0 / 0.4986 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1064, allocations: 7.938 kB / 0.4987 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1067, allocations: 271.6 kB / 0.4989 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.1067, allocations: 89.12 kB / 0.499 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1068, allocations: 11.94 kB / 0.499 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.1068, allocations: 0 / 0.499 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.1069, allocations: 4 kB / 0.499 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1069, allocations: 4 kB / 0.499 GB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.668e-05/0.1069, allocations: 95.7 kB / 0.4991 GB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1069, allocations: 0 / 0.4991 GB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1072, allocations: 23.95 kB / 0.4991 GB, free: 10.46 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.001147/0.1084, allocations: 0.9383 MB / 0.5 GB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1086, allocations: 174.7 kB / 0.5002 GB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1086, allocations: 0 / 0.5002 GB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1087, allocations: 130.7 kB / 0.5003 GB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.109, allocations: 28.45 kB / 0.5004 GB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.1107, allocations: 1.54 MB / 0.5019 GB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1111, allocations: 0.6962 MB / 0.5025 GB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.1111, allocations: 15.98 kB / 0.5026 GB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1112, allocations: 23.42 kB / 0.5026 GB, free: 6.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1112, allocations: 0 / 0.5026 GB, free: 6.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.136, allocations: 2.537 MB / 0.5051 GB, free: 4.332 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/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/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 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 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/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.0649412860075245] Failed to read output from testmodel.py, exit status != 0: 0.5600683840020793 0.581324225 0.475590621 Calling exit ...