Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.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.001454/0.001454, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001798/0.001798, allocations: 225.5 kB / 23.05 MB, free: 4.992 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.06861/0.06861, allocations: 12.22 MB / 325.5 MB, free: 7.305 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.Blocks.Examples.TestInputKeyboardKey,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputKeyboardKey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputKeyboardKey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 63.91 kB / 453.4 MB, free: 9.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1267, allocations: 56.41 MB / 0.4978 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.005497/0.1322, allocations: 2.789 MB / 0.5005 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.133, allocations: 362.8 kB / 0.5009 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1331, allocations: 11.88 kB / 0.5009 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1334, allocations: 51.64 kB / 0.501 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1337, allocations: 51.75 kB / 0.501 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.134, allocations: 87.66 kB / 0.5011 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.1343, allocations: 152 kB / 0.5012 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.1345, allocations: 50 kB / 0.5013 GB, free: 13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1346, allocations: 63.77 kB / 0.5013 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1347, allocations: 71.62 kB / 0.5014 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1348, allocations: 12 kB / 0.5014 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.135, allocations: 143.9 kB / 0.5016 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.1351, allocations: 39.91 kB / 0.5016 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1352, allocations: 71.47 kB / 0.5017 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.1357, allocations: 235.1 kB / 0.5019 GB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1357, allocations: 0 / 0.5019 GB, free: 12.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1357, allocations: 4 kB / 0.5019 GB, free: 12.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1357, allocations: 0 / 0.5019 GB, free: 12.38 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008833/0.1366, allocations: 381.7 kB / 0.5023 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1367, allocations: 8.031 kB / 0.5023 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.642e-05/0.1367, allocations: 46.73 kB / 0.5023 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.1368, allocations: 24.73 kB / 0.5023 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1372, allocations: 166 kB / 0.5025 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1372, allocations: 8.609 kB / 0.5025 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1372, allocations: 12.38 kB / 0.5025 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.1376, allocations: 164.8 kB / 0.5027 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1376, allocations: 3.938 kB / 0.5027 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1376, allocations: 4 kB / 0.5027 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1376, allocations: 0 / 0.5027 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1378, allocations: 92.06 kB / 0.5028 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.1388, allocations: 432.7 kB / 0.5032 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.139, allocations: 73.14 kB / 0.5032 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/0.1391, allocations: 41.84 kB / 0.5033 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.1391, allocations: 4 kB / 0.5033 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.1395, allocations: 89.03 kB / 0.5034 GB, free: 10.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1395, allocations: 3.938 kB / 0.5034 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004009/0.1399, allocations: 133.6 kB / 0.5035 GB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.14, allocations: 81.05 kB / 0.5036 GB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.1402, allocations: 158.2 kB / 0.5037 GB, free: 10.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1402, allocations: 25.7 kB / 0.5038 GB, free: 10.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1404, allocations: 132.3 kB / 0.5039 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1404, allocations: 27.75 kB / 0.5039 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.1405, allocations: 33.7 kB / 0.5039 GB, free: 10.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.1407, allocations: 326.8 kB / 0.5043 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.1408, allocations: 27.98 kB / 0.5043 GB, free: 9.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.1409, allocations: 55.36 kB / 0.5043 GB, free: 9.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.141, allocations: 87.3 kB / 0.5044 GB, free: 9.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.141, allocations: 0 / 0.5044 GB, free: 9.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002497/0.1413, allocations: 125.5 kB / 0.5045 GB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1413, allocations: 8 kB / 0.5045 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.1413, allocations: 0 / 0.5045 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.1414, allocations: 7.984 kB / 0.5046 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.1414, allocations: 11.94 kB / 0.5046 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1414, allocations: 0 / 0.5046 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.1415, allocations: 11.89 kB / 0.5046 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1415, allocations: 4 kB / 0.5046 GB, free: 9.363 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,keyboardKeyInput.additionalKeyStateInt,$PRE.keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,$PRE.keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001599/0.1417, allocations: 145.8 kB / 0.5047 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.1417, allocations: 8.188 kB / 0.5047 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.1417, allocations: 16.72 kB / 0.5047 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1418, allocations: 7.969 kB / 0.5047 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1418, allocations: 0 / 0.5047 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1418, allocations: 4 kB / 0.5048 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.142, allocations: 200.9 kB / 0.5049 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.142, allocations: 4 kB / 0.5049 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.1421, allocations: 7.938 kB / 0.505 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1421, allocations: 4 kB / 0.505 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1421, allocations: 7.984 kB / 0.505 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.1421, allocations: 0 / 0.505 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1421, allocations: 0 / 0.505 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1423, allocations: 141.7 kB / 0.5051 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.1423, allocations: 15.84 kB / 0.5051 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1424, allocations: 0 / 0.5051 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.1424, allocations: 0 / 0.5051 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.1424, allocations: 15.98 kB / 0.5051 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1425, allocations: 4 kB / 0.5051 GB, free: 8.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1426, allocations: 120.1 kB / 0.5053 GB, free: 8.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1426, allocations: 0 / 0.5053 GB, free: 8.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.1429, allocations: 39.83 kB / 0.5053 GB, free: 8.555 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: 4 ($whenCondition1,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.001339/0.1442, allocations: 0.8017 MB / 0.5061 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.1445, allocations: 97.61 kB / 0.5062 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1445, allocations: 0 / 0.5062 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1446, allocations: 61.62 kB / 0.5062 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.1448, allocations: 10.38 kB / 0.5062 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.1474, allocations: 1.655 MB / 0.5078 GB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1479, allocations: 0.7314 MB / 0.5086 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.148, allocations: 8.484 kB / 0.5086 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.148, allocations: 43.42 kB / 0.5086 GB, free: 5.027 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.148, allocations: 0 / 0.5086 GB, free: 5.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.183, allocations: 3.587 MB / 0.5121 GB, free: 1.516 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '228.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.Blocks.Examples.TestInputKeyboardKey/228.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.Blocks.Examples.TestInputKeyboardKey/228.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libWinmm.a -- Linking X11-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libUser32.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;X11-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Library/linux64/libUser32.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: X11 linked by target \"228\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey/228.fmutmp/sources rt linked by target \"228\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey/228.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.3824729390908033] Failed to read output from testmodel.py, exit status != 0: 0.816347026033327 0.828827525 0.690370308 Calling exit ...