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.00168/0.00168, allocations: 104.3 kB / 19.74 MB, free: 1.902 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.002165/0.002165, allocations: 217.1 kB / 23.03 MB, free: 4.988 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.06421/0.06421, allocations: 12.22 MB / 325.4 MB, free: 7.066 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.003035/0.003035, allocations: 67.89 kB / 453.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1291, allocations: 56.4 MB / 0.4977 GB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.005894/0.135, allocations: 2.707 MB / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.1358, allocations: 335 kB / 0.5007 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.136, allocations: 11.88 kB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1362, allocations: 51.64 kB / 0.5008 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.1365, allocations: 63.75 kB / 0.5008 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.1368, allocations: 87.7 kB / 0.5009 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.137, allocations: 156 kB / 0.5011 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1372, allocations: 42.02 kB / 0.5011 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1373, allocations: 63.75 kB / 0.5012 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1374, allocations: 59.7 kB / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.1374, allocations: 12 kB / 0.5012 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1377, allocations: 135.9 kB / 0.5014 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-05/0.1378, allocations: 59.7 kB / 0.5014 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.152e-05/0.1379, allocations: 55.67 kB / 0.5015 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.1382, allocations: 235.1 kB / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1382, allocations: 4 kB / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1382, allocations: 0 / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1382, allocations: 3.938 kB / 0.5017 GB, free: 12.29 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.0006878/0.1389, allocations: 373.7 kB / 0.5021 GB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.139, allocations: 8.031 kB / 0.5021 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.936e-05/0.139, allocations: 54.73 kB / 0.5021 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1391, allocations: 20.8 kB / 0.5021 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1394, allocations: 169.7 kB / 0.5023 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1394, allocations: 8.609 kB / 0.5023 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1394, allocations: 12.38 kB / 0.5023 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.1397, allocations: 165.3 kB / 0.5025 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1397, allocations: 3.938 kB / 0.5025 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1397, allocations: 0 / 0.5025 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1397, allocations: 7.984 kB / 0.5025 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.14, allocations: 84.08 kB / 0.5026 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.1407, allocations: 408.7 kB / 0.503 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1408, allocations: 77.17 kB / 0.503 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.1409, allocations: 37.8 kB / 0.5031 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1409, allocations: 0 / 0.5031 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1412, allocations: 93.05 kB / 0.5032 GB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1412, allocations: 0 / 0.5032 GB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003175/0.1415, allocations: 129.7 kB / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.1416, allocations: 85.09 kB / 0.5034 GB, free: 10.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1418, allocations: 158.2 kB / 0.5035 GB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1418, allocations: 29.69 kB / 0.5035 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1419, allocations: 124.3 kB / 0.5037 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.142, allocations: 31.73 kB / 0.5037 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.142, allocations: 25.72 kB / 0.5037 GB, free: 10.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1422, allocations: 326.8 kB / 0.504 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.1423, allocations: 27.98 kB / 0.5041 GB, free: 9.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.927e-05/0.1424, allocations: 64.38 kB / 0.5041 GB, free: 9.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1426, allocations: 87.34 kB / 0.5042 GB, free: 9.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1426, allocations: 3.938 kB / 0.5042 GB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002482/0.1428, allocations: 129.7 kB / 0.5043 GB, free: 9.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1428, allocations: 4 kB / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.1429, allocations: 7.938 kB / 0.5043 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1429, allocations: 3.938 kB / 0.5043 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.143, allocations: 8 kB / 0.5044 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.143, allocations: 8.062 kB / 0.5044 GB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.143, allocations: 7.891 kB / 0.5044 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.143, allocations: 11.98 kB / 0.5044 GB, free: 9.293 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.0001879/0.1432, allocations: 134.6 kB / 0.5045 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1433, allocations: 7.953 kB / 0.5045 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.1433, allocations: 20.7 kB / 0.5045 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1433, allocations: 7.938 kB / 0.5045 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1433, allocations: 0 / 0.5045 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1433, allocations: 0 / 0.5045 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.1437, allocations: 200.6 kB / 0.5047 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1437, allocations: 4 kB / 0.5047 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.1437, allocations: 4 kB / 0.5047 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1437, allocations: 0 / 0.5047 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1437, allocations: 3.984 kB / 0.5047 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1437, allocations: 4 kB / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1437, allocations: 0 / 0.5047 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1442, allocations: 137.7 kB / 0.5049 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.1442, allocations: 11.91 kB / 0.5049 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1442, allocations: 4 kB / 0.5049 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.1443, allocations: 0 / 0.5049 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.1443, allocations: 7.984 kB / 0.5049 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1443, allocations: 8 kB / 0.5049 GB, free: 8.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1444, allocations: 119.2 kB / 0.505 GB, free: 8.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1444, allocations: 0 / 0.505 GB, free: 8.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.1447, allocations: 43.83 kB / 0.5051 GB, free: 8.512 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.001342/0.1461, allocations: 0.815 MB / 0.5059 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.1464, allocations: 101.6 kB / 0.506 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1464, allocations: 0 / 0.506 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.1465, allocations: 57.72 kB / 0.506 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1467, allocations: 8.094 kB / 0.506 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1489, allocations: 1.654 MB / 0.5076 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.149, allocations: 118.9 kB / 0.5077 GB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.1491, allocations: 12.48 kB / 0.5078 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.1492, allocations: 43.42 kB / 0.5078 GB, free: 5.598 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1492, allocations: 0 / 0.5078 GB, free: 5.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.1824, allocations: 3.958 MB / 0.5117 GB, free: 1.699 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.3608749280683696] Failed to read output from testmodel.py, exit status != 0: 0.6022363160736859 0.857358402 0.7149796380000001 Calling exit ...