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.00133/0.00133, 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.001562/0.001562, allocations: 222.2 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.06251/0.06251, allocations: 12.21 MB / 325.5 MB, free: 7.262 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.002063/0.002063, allocations: 63.91 kB / 453.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1337, allocations: 56.39 MB / 0.4978 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.005144/0.1388, allocations: 2.803 MB / 0.5006 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.1395, allocations: 358.8 kB / 0.5009 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1397, allocations: 7.875 kB / 0.5009 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1399, allocations: 55.64 kB / 0.501 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1401, allocations: 51.81 kB / 0.501 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1404, allocations: 95.58 kB / 0.5011 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1406, allocations: 152 kB / 0.5012 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1408, allocations: 46 kB / 0.5013 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1409, allocations: 59.77 kB / 0.5013 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.141, allocations: 67.7 kB / 0.5014 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.141, allocations: 12 kB / 0.5014 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1413, allocations: 139.9 kB / 0.5016 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.1413, allocations: 47.89 kB / 0.5016 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.1414, allocations: 75.48 kB / 0.5017 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1418, allocations: 231.1 kB / 0.5019 GB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1418, allocations: 0 / 0.5019 GB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1418, allocations: 0 / 0.5019 GB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1418, allocations: 4 kB / 0.5019 GB, free: 12.36 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.0006596/0.1425, allocations: 373.7 kB / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1425, allocations: 8.031 kB / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.1426, allocations: 46.73 kB / 0.5023 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1426, allocations: 20.8 kB / 0.5023 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1429, allocations: 181.9 kB / 0.5025 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1429, allocations: 8.609 kB / 0.5025 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.143, allocations: 12.38 kB / 0.5025 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.1433, allocations: 156.8 kB / 0.5027 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1433, allocations: 7.922 kB / 0.5027 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1433, allocations: 8 kB / 0.5027 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1433, allocations: 0 / 0.5027 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.1435, allocations: 92.06 kB / 0.5028 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.1442, allocations: 440.6 kB / 0.5032 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1444, allocations: 73.17 kB / 0.5033 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.1445, allocations: 37.8 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1445, allocations: 4 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1447, allocations: 85.11 kB / 0.5034 GB, free: 10.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1447, allocations: 0 / 0.5034 GB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003461/0.1451, allocations: 133.5 kB / 0.5035 GB, free: 10.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.1452, allocations: 81.05 kB / 0.5036 GB, free: 10.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1453, allocations: 154.2 kB / 0.5037 GB, free: 10.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1453, allocations: 29.7 kB / 0.5038 GB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1455, allocations: 128.3 kB / 0.5039 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.1455, allocations: 35.73 kB / 0.5039 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.1455, allocations: 21.72 kB / 0.5039 GB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1457, allocations: 330.8 kB / 0.5043 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.1458, allocations: 27.98 kB / 0.5043 GB, free: 9.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.565e-05/0.1459, allocations: 55.41 kB / 0.5043 GB, free: 9.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.146, allocations: 91.55 kB / 0.5044 GB, free: 9.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.146, allocations: 3.938 kB / 0.5044 GB, free: 9.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002094/0.1462, allocations: 117.5 kB / 0.5045 GB, free: 9.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1462, allocations: 8 kB / 0.5045 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.1462, allocations: 0 / 0.5045 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1463, allocations: 4 kB / 0.5045 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.1463, allocations: 15.94 kB / 0.5046 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1463, allocations: 8.047 kB / 0.5046 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1464, allocations: 11.89 kB / 0.5046 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1464, allocations: 7.984 kB / 0.5046 GB, free: 9.336 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.0001415/0.1465, allocations: 137.7 kB / 0.5047 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.1466, allocations: 7.953 kB / 0.5047 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.1466, allocations: 16.7 kB / 0.5047 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1466, allocations: 0 / 0.5047 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1466, allocations: 0 / 0.5047 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1466, allocations: 0 / 0.5047 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1468, allocations: 216.5 kB / 0.5049 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1469, allocations: 0 / 0.5049 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.1469, allocations: 7.938 kB / 0.505 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1469, allocations: 4 kB / 0.505 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1469, allocations: 240 / 0.505 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1469, allocations: 3.938 kB / 0.505 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1469, allocations: 0 / 0.505 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1471, allocations: 145.7 kB / 0.5051 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.1471, allocations: 15.89 kB / 0.5051 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.1472, allocations: 4 kB / 0.5051 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.1472, allocations: 128 / 0.5051 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.1472, allocations: 7.984 kB / 0.5051 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1472, allocations: 8 kB / 0.5051 GB, free: 8.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1473, allocations: 120.1 kB / 0.5053 GB, free: 8.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1473, allocations: 0 / 0.5053 GB, free: 8.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1476, allocations: 43.83 kB / 0.5053 GB, free: 8.531 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.001123/0.1487, allocations: 0.7943 MB / 0.5061 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.149, allocations: 105.6 kB / 0.5062 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.149, allocations: 0 / 0.5062 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.1491, allocations: 57.62 kB / 0.5062 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1492, allocations: 10.44 kB / 0.5062 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1512, allocations: 1.65 MB / 0.5078 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1516, allocations: 0.7313 MB / 0.5086 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.1516, allocations: 8.641 kB / 0.5086 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.1517, allocations: 51.41 kB / 0.5086 GB, free: 5.004 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1517, allocations: 0 / 0.5086 GB, free: 5.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.1842, allocations: 3.581 MB / 0.5121 GB, free: 1.496 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.473422753995692] Failed to read output from testmodel.py, exit status != 0: 0.9106535859973519 0.929274592 0.784230119 Calling exit ...