Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.001455/0.001455, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001645/0.001645, allocations: 217.3 kB / 23.03 MB, free: 4.621 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06365/0.06365, allocations: 12.22 MB / 325.4 MB, free: 7.051 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.TestInputKeyboardKey,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputKeyboardKey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestInputKeyboardKey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.14 kB / 453.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1578, allocations: 56.4 MB / 0.4977 GB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.005132/0.163, allocations: 2.375 MB / 0.5001 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003993/0.1634, allocations: 171.5 kB / 0.5002 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.1635, allocations: 7.938 kB / 0.5002 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1636, allocations: 15.88 kB / 0.5002 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.1639, allocations: 55.81 kB / 0.5003 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1643, allocations: 47.89 kB / 0.5003 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1644, allocations: 79.77 kB / 0.5004 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1646, allocations: 8.234 kB / 0.5004 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.1646, allocations: 35.84 kB / 0.5005 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.1647, allocations: 35.78 kB / 0.5005 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1647, allocations: 12 kB / 0.5005 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.165, allocations: 127.9 kB / 0.5006 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.165, allocations: 15.92 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1651, allocations: 27.86 kB / 0.5007 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1654, allocations: 143.8 kB / 0.5008 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1654, allocations: 0 / 0.5008 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1654, allocations: 0 / 0.5008 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1654, allocations: 0 / 0.5008 GB, free: 13.21 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.0007029/0.1661, allocations: 373.3 kB / 0.5012 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.1662, allocations: 8.031 kB / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.1662, allocations: 38.75 kB / 0.5012 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1663, allocations: 12.89 kB / 0.5012 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.1666, allocations: 146.3 kB / 0.5014 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.1667, allocations: 4.375 kB / 0.5014 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1667, allocations: 12.36 kB / 0.5014 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.1672, allocations: 204.9 kB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1672, allocations: 7.922 kB / 0.5016 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1672, allocations: 8 kB / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1672, allocations: 0 / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1673, allocations: 83.39 kB / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1678, allocations: 264.7 kB / 0.5019 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.1682, allocations: 120.6 kB / 0.502 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1683, allocations: 93.19 kB / 0.5021 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1683, allocations: 3.938 kB / 0.5021 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.1684, allocations: 34.56 kB / 0.5022 GB, free: 11.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.1684, allocations: 4 kB / 0.5022 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006786/0.169, allocations: 271.8 kB / 0.5024 GB, free: 11.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.1692, allocations: 140.5 kB / 0.5026 GB, free: 11.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.1693, allocations: 134.1 kB / 0.5027 GB, free: 10.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1694, allocations: 29.7 kB / 0.5027 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1695, allocations: 88.14 kB / 0.5028 GB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1695, allocations: 19.83 kB / 0.5028 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1696, allocations: 25.72 kB / 0.5028 GB, free: 10.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003523/0.1699, allocations: 326.8 kB / 0.5031 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.17, allocations: 67.39 kB / 0.5032 GB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1701, allocations: 109.4 kB / 0.5033 GB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.1706, allocations: 188.7 kB / 0.5035 GB, free: 10.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1706, allocations: 0 / 0.5035 GB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000359/0.1709, allocations: 212.3 kB / 0.5037 GB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.171, allocations: 63.39 kB / 0.5038 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.171, allocations: 4.219 kB / 0.5038 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.171, allocations: 4 kB / 0.5038 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.1711, allocations: 8.188 kB / 0.5038 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1711, allocations: 4 kB / 0.5038 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.1712, allocations: 8 kB / 0.5038 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1712, allocations: 4 kB / 0.5038 GB, free: 9.676 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: 6 (synchronizeRealtime.initialized,keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState,assignClock1.y,assignClock1.u) * 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.000216/0.1714, allocations: 185.1 kB / 0.504 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.1715, allocations: 61.59 kB / 0.504 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1716, allocations: 16.39 kB / 0.504 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1716, allocations: 0 / 0.504 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1716, allocations: 4 kB / 0.504 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1716, allocations: 96 / 0.504 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.1719, allocations: 160.4 kB / 0.5042 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1719, allocations: 4 kB / 0.5042 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.172, allocations: 4 kB / 0.5042 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.172, allocations: 144 / 0.5042 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.172, allocations: 4 kB / 0.5042 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.172, allocations: 7.984 kB / 0.5042 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.172, allocations: 0 / 0.5042 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.1724, allocations: 323 kB / 0.5045 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.1724, allocations: 7.953 kB / 0.5045 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1724, allocations: 4 kB / 0.5045 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.706e-05/0.1725, allocations: 8 kB / 0.5045 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1725, allocations: 0 / 0.5045 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1725, allocations: 4 kB / 0.5045 GB, free: 8.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1727, allocations: 110.2 kB / 0.5047 GB, free: 8.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1727, allocations: 0 / 0.5047 GB, free: 8.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003054/0.173, allocations: 24 kB / 0.5047 GB, free: 8.648 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: 6 (synchronizeRealtime.initialized,assignClock1.u,assignClock1.y,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt) * 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.001692/0.1747, allocations: 1.057 MB / 0.5057 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006748/0.1754, allocations: 277.5 kB / 0.506 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1754, allocations: 0 / 0.506 GB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1756, allocations: 174.2 kB / 0.5061 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1759, allocations: 31.95 kB / 0.5062 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.1787, allocations: 1.833 MB / 0.508 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.1788, allocations: 84.08 kB / 0.508 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.635e-05/0.1789, allocations: 12.66 kB / 0.5081 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.1789, allocations: 23.42 kB / 0.5081 GB, free: 4.902 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1789, allocations: 4 kB / 0.5081 GB, free: 4.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.2151, allocations: 3.75 MB / 0.5117 GB, free: 1.207 MB / 382.1 MB Error: Error building simulator. Build log: cmd: cd '196.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.TestInputKeyboardKey/196.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.TestInputKeyboardKey/196.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 \"196\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey/196.fmutmp/sources rt linked by target \"196\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey/196.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.6863355189561844] Failed to read output from testmodel.py, exit status != 0: 1.067498924676329 1.081702811 0.913368584 Calling exit ...