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.001446/0.001446, allocations: 96.36 kB / 19.73 MB, free: 1.898 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.001694/0.001694, allocations: 219.2 kB / 23.03 MB, free: 5.004 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.638/1.638, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.06543/0.06543, allocations: 12.22 MB / 325.4 MB, free: 7.055 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.002142/0.002142, allocations: 68.08 kB / 453.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1534, allocations: 56.39 MB / 0.4977 GB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.005397/0.1588, allocations: 2.357 MB / 0.5 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.1592, allocations: 135.5 kB / 0.5002 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1593, allocations: 4 kB / 0.5002 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1595, allocations: 23.78 kB / 0.5002 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1597, allocations: 15.92 kB / 0.5002 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.16, allocations: 47.83 kB / 0.5002 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1602, allocations: 79.77 kB / 0.5003 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1603, allocations: 11.98 kB / 0.5003 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.1604, allocations: 31.86 kB / 0.5004 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.1604, allocations: 27.84 kB / 0.5004 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.1605, allocations: 4 kB / 0.5004 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.1606, allocations: 28 kB / 0.5004 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.1606, allocations: 11.98 kB / 0.5004 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.1607, allocations: 23.81 kB / 0.5005 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1609, allocations: 95.91 kB / 0.5005 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1609, allocations: 0 / 0.5005 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1609, allocations: 0 / 0.5005 GB, free: 13.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1609, allocations: 4 kB / 0.5006 GB, free: 13.46 MB / 382.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.0005685/0.1615, allocations: 357.4 kB / 0.5009 GB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1615, allocations: 12.03 kB / 0.5009 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.1616, allocations: 38.69 kB / 0.5009 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1616, allocations: 8.891 kB / 0.501 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1619, allocations: 142.4 kB / 0.5011 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1619, allocations: 4.375 kB / 0.5011 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1619, allocations: 4.375 kB / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.1624, allocations: 219.3 kB / 0.5013 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1624, allocations: 3.938 kB / 0.5013 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1625, allocations: 4 kB / 0.5013 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.1625, allocations: 4 kB / 0.5013 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1626, allocations: 79.39 kB / 0.5014 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.163, allocations: 264.6 kB / 0.5016 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1633, allocations: 128.6 kB / 0.5018 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.1634, allocations: 93.19 kB / 0.5019 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.971e-05/0.1635, allocations: 15.92 kB / 0.5019 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.1636, allocations: 38.55 kB / 0.5019 GB, free: 11.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.1636, allocations: 0 / 0.5019 GB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004919/0.1641, allocations: 283.8 kB / 0.5022 GB, free: 11.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1642, allocations: 132.5 kB / 0.5023 GB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1643, allocations: 122.2 kB / 0.5024 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1643, allocations: 29.7 kB / 0.5024 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.1644, allocations: 96.08 kB / 0.5025 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.1644, allocations: 7.953 kB / 0.5025 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.1645, allocations: 25.7 kB / 0.5026 GB, free: 11.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1646, allocations: 326.8 kB / 0.5029 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.1647, allocations: 71.39 kB / 0.503 GB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1649, allocations: 117.3 kB / 0.5031 GB, free: 10.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.165, allocations: 180.7 kB / 0.5032 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.165, allocations: 0 / 0.5032 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002756/0.1653, allocations: 220.3 kB / 0.5034 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.1654, allocations: 63.39 kB / 0.5035 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1654, allocations: 0 / 0.5035 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1654, allocations: 4 kB / 0.5035 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.1655, allocations: 11.94 kB / 0.5035 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1655, allocations: 0 / 0.5035 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.1655, allocations: 12.19 kB / 0.5035 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1655, allocations: 4 kB / 0.5035 GB, free: 9.941 MB / 382.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.0001769/0.1657, allocations: 193.3 kB / 0.5037 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1658, allocations: 69.58 kB / 0.5038 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.1659, allocations: 12.06 kB / 0.5038 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1659, allocations: 0 / 0.5038 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1659, allocations: 0 / 0.5038 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1659, allocations: 3.984 kB / 0.5038 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1661, allocations: 144.6 kB / 0.5039 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1661, allocations: 0 / 0.5039 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.1661, allocations: 11.98 kB / 0.504 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1661, allocations: 0 / 0.504 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1661, allocations: 4 kB / 0.504 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1661, allocations: 0 / 0.504 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1661, allocations: 4.094 kB / 0.504 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1665, allocations: 331 kB / 0.5043 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.1665, allocations: 7.938 kB / 0.5043 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1665, allocations: 4 kB / 0.5043 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.1666, allocations: 4 kB / 0.5043 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1666, allocations: 4 kB / 0.5043 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1666, allocations: 0 / 0.5043 GB, free: 9.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.267e-05/0.1667, allocations: 103.3 kB / 0.5044 GB, free: 8.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1667, allocations: 0 / 0.5044 GB, free: 8.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.167, allocations: 19.95 kB / 0.5044 GB, free: 8.922 MB / 382.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.001414/0.1684, allocations: 1.021 MB / 0.5054 GB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.1687, allocations: 281.5 kB / 0.5057 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1687, allocations: 0 / 0.5057 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.1689, allocations: 174.2 kB / 0.5058 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1692, allocations: 35.95 kB / 0.5059 GB, free: 7.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.1712, allocations: 1.805 MB / 0.5076 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.673e-05/0.1713, allocations: 87.19 kB / 0.5077 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.1713, allocations: 11.98 kB / 0.5077 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1714, allocations: 19.42 kB / 0.5078 GB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1714, allocations: 0 / 0.5078 GB, free: 5.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.2075, allocations: 3.084 MB / 0.5108 GB, free: 2.262 MB / 382.1 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 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/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource/434.fmutmp/sources/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/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 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource/434.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.8146105599589646] Failed to read output from testmodel.py, exit status != 0: 0.7407852141186595 1.062038216 0.897924984 Calling exit ...