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.00191/0.00191, allocations: 108.3 kB / 19.74 MB, free: 2.051 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.00284/0.00284, allocations: 214.5 kB / 23.03 MB, free: 4.863 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.06502/0.06502, allocations: 12.22 MB / 325.4 MB, free: 7.168 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.002124/0.002124, allocations: 67.89 kB / 453.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1098, allocations: 56.4 MB / 0.4977 GB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.004898/0.1147, allocations: 2.715 MB / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.1153, allocations: 343 kB / 0.5007 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1155, allocations: 11.88 kB / 0.5007 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1157, allocations: 39.72 kB / 0.5008 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.116, allocations: 63.73 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1163, allocations: 91.7 kB / 0.5009 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1165, allocations: 144 kB / 0.5011 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1167, allocations: 54 kB / 0.5011 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.1167, allocations: 63.7 kB / 0.5012 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1169, allocations: 63.69 kB / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1169, allocations: 12 kB / 0.5012 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1171, allocations: 139.9 kB / 0.5014 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.1172, allocations: 51.83 kB / 0.5014 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.1173, allocations: 55.67 kB / 0.5015 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.1176, allocations: 231 kB / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1176, allocations: 0 / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1176, allocations: 4 kB / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1176, allocations: 0 / 0.5017 GB, free: 12.3 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.0005966/0.1182, allocations: 381.7 kB / 0.5021 GB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1183, allocations: 8.031 kB / 0.5021 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.1183, allocations: 46.73 kB / 0.5021 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1184, allocations: 20.8 kB / 0.5021 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1186, allocations: 173.9 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1187, allocations: 8.609 kB / 0.5023 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1187, allocations: 12.38 kB / 0.5023 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.119, allocations: 161.3 kB / 0.5025 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.119, allocations: 3.938 kB / 0.5025 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.119, allocations: 4 kB / 0.5025 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.119, allocations: 11.94 kB / 0.5025 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1192, allocations: 80.12 kB / 0.5026 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.1199, allocations: 412.7 kB / 0.503 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.12, allocations: 69.2 kB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.1201, allocations: 33.84 kB / 0.5031 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.1201, allocations: 7.984 kB / 0.5031 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1204, allocations: 97.02 kB / 0.5032 GB, free: 10.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1204, allocations: 0 / 0.5032 GB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003375/0.1207, allocations: 129.5 kB / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.1208, allocations: 85.11 kB / 0.5034 GB, free: 10.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1209, allocations: 154.2 kB / 0.5035 GB, free: 10.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.121, allocations: 29.7 kB / 0.5035 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.1211, allocations: 128.3 kB / 0.5037 GB, free: 10.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1211, allocations: 27.75 kB / 0.5037 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.1212, allocations: 29.7 kB / 0.5037 GB, free: 10.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1213, allocations: 326.8 kB / 0.504 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.1214, allocations: 27.98 kB / 0.5041 GB, free: 9.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.251e-05/0.1215, allocations: 61.61 kB / 0.5041 GB, free: 9.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1216, allocations: 91.59 kB / 0.5042 GB, free: 9.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1216, allocations: 0 / 0.5042 GB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002034/0.1218, allocations: 125.4 kB / 0.5043 GB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1218, allocations: 11.94 kB / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1219, allocations: 0 / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1219, allocations: 4 kB / 0.5043 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.1219, allocations: 11.98 kB / 0.5044 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.1219, allocations: 0 / 0.5044 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.122, allocations: 15.89 kB / 0.5044 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.122, allocations: 4 kB / 0.5044 GB, free: 9.305 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.0001335/0.1221, allocations: 149.7 kB / 0.5045 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.1222, allocations: 7.953 kB / 0.5045 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.1222, allocations: 12.72 kB / 0.5045 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1222, allocations: 0 / 0.5045 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1222, allocations: 4 kB / 0.5045 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1222, allocations: 3.984 kB / 0.5045 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1224, allocations: 196.6 kB / 0.5047 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.1224, allocations: 4 kB / 0.5047 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.1225, allocations: 4 kB / 0.5047 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1225, allocations: 0 / 0.5047 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1225, allocations: 4 kB / 0.5047 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1225, allocations: 0 / 0.5047 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1225, allocations: 4 kB / 0.5047 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1227, allocations: 129.8 kB / 0.5049 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.1227, allocations: 23.83 kB / 0.5049 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1227, allocations: 4.125 kB / 0.5049 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.1228, allocations: 4 kB / 0.5049 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1228, allocations: 7.984 kB / 0.5049 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.1228, allocations: 4 kB / 0.5049 GB, free: 8.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1229, allocations: 120.1 kB / 0.505 GB, free: 8.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1229, allocations: 0 / 0.505 GB, free: 8.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1232, allocations: 47.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.001111/0.1243, allocations: 0.8098 MB / 0.5059 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1245, allocations: 105.7 kB / 0.506 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1245, allocations: 0 / 0.506 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/0.1246, allocations: 57.81 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.0001946/0.1248, allocations: 16.81 kB / 0.506 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.1269, allocations: 1.647 MB / 0.5076 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.127, allocations: 118.8 kB / 0.5078 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1271, allocations: 8.5 kB / 0.5078 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.1272, allocations: 51.41 kB / 0.5078 GB, free: 5.598 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1272, allocations: 0 / 0.5078 GB, free: 5.598 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.1597, allocations: 3.955 MB / 0.5117 GB, free: 1.703 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.3181282859295607] Failed to read output from testmodel.py, exit status != 0: 0.5743127577006817 0.796116058 0.675745334 Calling exit ...