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.001364/0.001364, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001553/0.001553, allocations: 223.7 kB / 23.03 MB, free: 4.621 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.07048/0.07048, allocations: 12.23 MB / 325.4 MB, free: 7.02 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.002175/0.002175, allocations: 67.91 kB / 453.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1546, allocations: 56.39 MB / 0.4977 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.005104/0.1597, allocations: 2.339 MB / 0.5 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.1601, allocations: 147.5 kB / 0.5002 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.1602, allocations: 0 / 0.5002 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1603, allocations: 27.8 kB / 0.5002 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.1605, allocations: 11.92 kB / 0.5002 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1607, allocations: 51.83 kB / 0.5002 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1609, allocations: 67.77 kB / 0.5003 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1611, allocations: 15.98 kB / 0.5003 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.1611, allocations: 31.8 kB / 0.5004 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.1612, allocations: 23.86 kB / 0.5004 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1612, allocations: 8 kB / 0.5004 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.1613, allocations: 35.97 kB / 0.5004 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.1614, allocations: 7.938 kB / 0.5004 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.1614, allocations: 31.86 kB / 0.5005 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1617, allocations: 91.92 kB / 0.5005 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1617, allocations: 0 / 0.5005 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1617, allocations: 0 / 0.5005 GB, free: 13.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1617, allocations: 4 kB / 0.5005 GB, free: 13.45 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.0006083/0.1623, allocations: 357.4 kB / 0.5009 GB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1623, allocations: 8.031 kB / 0.5009 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.1624, allocations: 42.73 kB / 0.5009 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1624, allocations: 8.891 kB / 0.5009 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1627, allocations: 134.4 kB / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1627, allocations: 4.375 kB / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1627, allocations: 12.38 kB / 0.5011 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.1633, allocations: 220.9 kB / 0.5013 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1633, allocations: 3.938 kB / 0.5013 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1633, allocations: 0 / 0.5013 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1633, allocations: 4 kB / 0.5013 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.1634, allocations: 87.39 kB / 0.5014 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1639, allocations: 260.7 kB / 0.5016 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.1642, allocations: 136.6 kB / 0.5018 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1643, allocations: 89.19 kB / 0.5019 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-05/0.1644, allocations: 4 kB / 0.5019 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1644, allocations: 38.5 kB / 0.5019 GB, free: 11.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.1644, allocations: 3.938 kB / 0.5019 GB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004952/0.1649, allocations: 283.8 kB / 0.5022 GB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.1651, allocations: 140.5 kB / 0.5023 GB, free: 11.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1652, allocations: 117.8 kB / 0.5024 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1652, allocations: 29.73 kB / 0.5024 GB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.1653, allocations: 96.08 kB / 0.5025 GB, free: 11.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1653, allocations: 7.953 kB / 0.5025 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1654, allocations: 21.72 kB / 0.5026 GB, free: 11.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1656, allocations: 330.7 kB / 0.5029 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.1657, allocations: 67.39 kB / 0.5029 GB, free: 10.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1658, allocations: 113.4 kB / 0.5031 GB, free: 10.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.166, allocations: 192.7 kB / 0.5032 GB, free: 10.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.166, allocations: 0 / 0.5032 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002951/0.1663, allocations: 208.3 kB / 0.5034 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.1664, allocations: 59.41 kB / 0.5035 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1664, allocations: 0 / 0.5035 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1664, allocations: 4 kB / 0.5035 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.1665, allocations: 15.92 kB / 0.5035 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1665, allocations: 8.219 kB / 0.5035 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1665, allocations: 15.94 kB / 0.5035 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1665, allocations: 4 kB / 0.5035 GB, free: 9.918 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.000183/0.1667, allocations: 181.1 kB / 0.5037 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1668, allocations: 69.58 kB / 0.5038 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1669, allocations: 12.06 kB / 0.5038 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1669, allocations: 0 / 0.5038 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1669, allocations: 4 kB / 0.5038 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1669, allocations: 0 / 0.5038 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1671, allocations: 148.9 kB / 0.5039 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1671, allocations: 144 / 0.5039 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.1672, allocations: 16 kB / 0.504 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1672, allocations: 3.984 kB / 0.504 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1672, allocations: 0 / 0.504 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.1672, allocations: 7.984 kB / 0.504 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1672, allocations: 0 / 0.504 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.1676, allocations: 331.1 kB / 0.5043 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.1676, allocations: 3.938 kB / 0.5043 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1677, allocations: 4 kB / 0.5043 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.1677, allocations: 0 / 0.5043 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1678, allocations: 12.08 kB / 0.5043 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1678, allocations: 7.938 kB / 0.5043 GB, free: 9.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.722e-05/0.1679, allocations: 95.27 kB / 0.5044 GB, free: 8.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1679, allocations: 3.938 kB / 0.5044 GB, free: 8.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1681, allocations: 23.95 kB / 0.5044 GB, free: 8.891 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.001494/0.1696, allocations: 1.006 MB / 0.5054 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.17, allocations: 277.5 kB / 0.5057 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.17, allocations: 0 / 0.5057 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1702, allocations: 178.2 kB / 0.5058 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1705, allocations: 24.53 kB / 0.5059 GB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1727, allocations: 1.83 MB / 0.5076 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.1728, allocations: 79.19 kB / 0.5077 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.068e-05/0.1729, allocations: 7.984 kB / 0.5077 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1729, allocations: 19.44 kB / 0.5078 GB, free: 5.199 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1729, allocations: 0 / 0.5078 GB, free: 5.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.2089, allocations: 3.085 MB / 0.5108 GB, free: 2.246 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.84034633776173] Failed to read output from testmodel.py, exit status != 0: 0.7360276938416064 1.077012556 0.912117468 Calling exit ...