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.00143/0.00143, allocations: 115.7 kB / 19.74 MB, free: 2.141 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.0018/0.0018, allocations: 215.3 kB / 23.05 MB, free: 4.945 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.619/1.619, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.06382/0.06382, allocations: 12.23 MB / 325.5 MB, free: 7.25 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.002007/0.002007, allocations: 59.91 kB / 453.4 MB, free: 9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 56.4 MB / 0.4978 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.004209/0.1404, allocations: 2.353 MB / 0.5001 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.1407, allocations: 155.4 kB / 0.5003 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.1408, allocations: 3.938 kB / 0.5003 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.141, allocations: 23.8 kB / 0.5003 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1411, allocations: 11.94 kB / 0.5003 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1414, allocations: 55.8 kB / 0.5004 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1415, allocations: 71.84 kB / 0.5004 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1416, allocations: 11.98 kB / 0.5004 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.1417, allocations: 31.86 kB / 0.5005 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.1418, allocations: 27.84 kB / 0.5005 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.1418, allocations: 4 kB / 0.5005 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.1419, allocations: 31.98 kB / 0.5005 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1419, allocations: 11.94 kB / 0.5005 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.142, allocations: 35.78 kB / 0.5006 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1422, allocations: 87.94 kB / 0.5007 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1422, allocations: 0 / 0.5007 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1422, allocations: 4 kB / 0.5007 GB, free: 13.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1422, allocations: 4 kB / 0.5007 GB, free: 13.58 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.0004765/0.1426, allocations: 357.4 kB / 0.501 GB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1427, allocations: 8.031 kB / 0.501 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.1427, allocations: 42.73 kB / 0.5011 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1428, allocations: 8.891 kB / 0.5011 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.143, allocations: 134.3 kB / 0.5012 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.143, allocations: 8.375 kB / 0.5012 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1431, allocations: 8.375 kB / 0.5012 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1434, allocations: 163.5 kB / 0.5014 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1434, allocations: 3.938 kB / 0.5014 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1434, allocations: 4 kB / 0.5014 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1434, allocations: 0 / 0.5014 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1435, allocations: 27.98 kB / 0.5014 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1439, allocations: 276.6 kB / 0.5017 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1441, allocations: 73.2 kB / 0.5017 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.1442, allocations: 41.78 kB / 0.5018 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.422e-05/0.1442, allocations: 15.98 kB / 0.5018 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1443, allocations: 34.5 kB / 0.5018 GB, free: 12.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1443, allocations: 0 / 0.5018 GB, free: 12.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003598/0.1446, allocations: 173 kB / 0.502 GB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1447, allocations: 136.5 kB / 0.5021 GB, free: 11.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1449, allocations: 121.8 kB / 0.5022 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1449, allocations: 25.7 kB / 0.5023 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.145, allocations: 100.1 kB / 0.5024 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.145, allocations: 7.953 kB / 0.5024 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.1451, allocations: 25.7 kB / 0.5024 GB, free: 11.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1452, allocations: 322.8 kB / 0.5027 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.1453, allocations: 15.98 kB / 0.5027 GB, free: 11.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.1454, allocations: 62 kB / 0.5028 GB, free: 11.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.1456, allocations: 180.7 kB / 0.5029 GB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1456, allocations: 4 kB / 0.5029 GB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002414/0.1458, allocations: 160.9 kB / 0.5031 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.1459, allocations: 59.41 kB / 0.5032 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1459, allocations: 0 / 0.5032 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1459, allocations: 4 kB / 0.5032 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.146, allocations: 11.94 kB / 0.5032 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.146, allocations: 7.984 kB / 0.5032 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.146, allocations: 8.156 kB / 0.5032 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.146, allocations: 8.141 kB / 0.5032 GB, free: 10.64 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.0001798/0.1462, allocations: 181.1 kB / 0.5034 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1463, allocations: 69.56 kB / 0.5034 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.1464, allocations: 16.05 kB / 0.5034 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1464, allocations: 0 / 0.5034 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1464, allocations: 0 / 0.5034 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1464, allocations: 4.094 kB / 0.5034 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1466, allocations: 156.5 kB / 0.5036 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1466, allocations: 4 kB / 0.5036 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.1467, allocations: 8 kB / 0.5036 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1467, allocations: 7.984 kB / 0.5036 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1467, allocations: 320 / 0.5036 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.1467, allocations: 8 kB / 0.5036 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.1467, allocations: 0 / 0.5036 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.147, allocations: 267.6 kB / 0.5039 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.147, allocations: 4 kB / 0.5039 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1471, allocations: 0 / 0.5039 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.1471, allocations: 12 kB / 0.5039 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1471, allocations: 3.984 kB / 0.5039 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1472, allocations: 7.938 kB / 0.5039 GB, free: 9.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.22e-05/0.1472, allocations: 95.27 kB / 0.504 GB, free: 9.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1472, allocations: 0 / 0.504 GB, free: 9.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.1475, allocations: 27.89 kB / 0.504 GB, free: 9.672 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.00127/0.1488, allocations: 0.947 MB / 0.5049 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1491, allocations: 166.7 kB / 0.5051 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1491, allocations: 0 / 0.5051 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1492, allocations: 114.8 kB / 0.5052 GB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1495, allocations: 34.08 kB / 0.5052 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1513, allocations: 1.546 MB / 0.5068 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1516, allocations: 0.6885 MB / 0.5074 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.998e-05/0.1517, allocations: 11.98 kB / 0.5074 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1517, allocations: 19.44 kB / 0.5075 GB, free: 5.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1517, allocations: 7.938 kB / 0.5075 GB, free: 5.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.1829, allocations: 2.694 MB / 0.5101 GB, free: 3.41 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.6230853439774364] Failed to read output from testmodel.py, exit status != 0: 0.6288653020747006 0.882372486 0.7369903409999999 Calling exit ...