Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009833, allocations: 92.84 kB / 16.38 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 184.2 kB / 17.27 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 241.3 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05434/0.05434, allocations: 12.06 MB / 304.4 MB, free: 3.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 12 kB / 368.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3071, allocations: 53.37 MB / 421.6 MB, free: 20.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard): time 0.002686/0.3099, allocations: 1.892 MB / 423.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002516/0.3101, allocations: 133.4 kB / 423.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.3102, allocations: 0 / 423.7 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.3104, allocations: 19.86 kB / 423.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.3105, allocations: 3.984 kB / 423.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.3107, allocations: 37.25 kB / 423.7 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3109, allocations: 59.84 kB / 423.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.311, allocations: 32.14 kB / 423.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.3111, allocations: 22.98 kB / 423.8 MB, free: 18.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3111, allocations: 35.78 kB / 423.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3111, allocations: 0 / 423.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.3112, allocations: 20 kB / 423.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.3113, allocations: 19.91 kB / 423.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.3113, allocations: 33.7 kB / 423.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3115, allocations: 71.88 kB / 424 MB, free: 18.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3115, allocations: 7.875 kB / 424 MB, free: 18.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3115, allocations: 0 / 424 MB, free: 18.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3115, allocations: 2.75 kB / 424 MB, free: 18.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000456/0.312, allocations: 440.5 kB / 424.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.312, allocations: 8.031 kB / 424.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.3121, allocations: 7.906 kB / 424.5 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3123, allocations: 190.9 kB / 424.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3123, allocations: 15.94 kB / 424.7 MB, free: 17.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3124, allocations: 12 kB / 424.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.3128, allocations: 266.9 kB / 424.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3128, allocations: 4 kB / 424.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3128, allocations: 11.94 kB / 425 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.3128, allocations: 4 kB / 425 MB, free: 17.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.313, allocations: 59.97 kB / 425 MB, free: 17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3133, allocations: 297.6 kB / 425.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3135, allocations: 137.3 kB / 425.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.3136, allocations: 65.83 kB / 425.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3136, allocations: 3.984 kB / 425.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3136, allocations: 38.56 kB / 425.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.3136, allocations: 0 / 425.6 MB, free: 16.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003765/0.314, allocations: 252.8 kB / 425.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.3141, allocations: 136.5 kB / 425.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.3142, allocations: 117.8 kB / 426 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3142, allocations: 33.62 kB / 426.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.3142, allocations: 92.42 kB / 426.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3143, allocations: 23.83 kB / 426.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.3143, allocations: 0 / 426.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.3144, allocations: 322.9 kB / 426.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.3144, allocations: 32.36 kB / 426.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3145, allocations: 155.2 kB / 426.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3146, allocations: 107.3 kB / 426.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3146, allocations: 4 kB / 426.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002585/0.3149, allocations: 256.5 kB / 427.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.315, allocations: 59.41 kB / 427.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.315, allocations: 4 kB / 427.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.315, allocations: 8 kB / 427.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.3151, allocations: 28.55 kB / 427.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3151, allocations: 8 kB / 427.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.3152, allocations: 15.91 kB / 427.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3152, allocations: 16.03 kB / 427.2 MB, free: 14.56 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 19 (synchronizeRealtime.initialized,keyboardInput.KeyCode[10],keyboardInput.KeyCode[9],keyboardInput.KeyCode[8],keyboardInput.KeyCode[7],keyboardInput.KeyCode[6],keyboardInput.KeyCode[5],keyboardInput.KeyCode[4],keyboardInput.KeyCode[3],keyboardInput.KeyCode[2],keyboardInput.KeyCode[1],keyboardInput.keySpace,keyboardInput.keyReturn,keyboardInput.keyLeft,keyboardInput.keyRight,keyboardInput.keyDown,keyboardInput.keyUp,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.3154, allocations: 207.4 kB / 427.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.3155, allocations: 132 kB / 427.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.3155, allocations: 12.83 kB / 427.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3156, allocations: 8 kB / 427.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3156, allocations: 0 / 427.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.3156, allocations: 4 kB / 427.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.3157, allocations: 197.4 kB / 427.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3157, allocations: 0 / 427.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/0.3158, allocations: 0 / 427.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3158, allocations: 0 / 427.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3158, allocations: 11.98 kB / 427.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3158, allocations: 3.938 kB / 427.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3158, allocations: 0 / 427.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.316, allocations: 326.6 kB / 428.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.3161, allocations: 92.86 kB / 428.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3161, allocations: 11.98 kB / 428.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.3162, allocations: 4 kB / 428.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.3162, allocations: 0 / 428.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3162, allocations: 8 kB / 428.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.3163, allocations: 91.81 kB / 428.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3163, allocations: 0 / 428.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.3166, allocations: 28 kB / 428.3 MB, free: 13.32 MB / 302.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: 19 (synchronizeRealtime.initialized,assignClock1.u,assignClock1.y,keyboardInput.keyUp,keyboardInput.keyDown,keyboardInput.keyRight,keyboardInput.keyLeft,keyboardInput.keyReturn,keyboardInput.keySpace,keyboardInput.KeyCode[1],keyboardInput.KeyCode[2],keyboardInput.KeyCode[3],keyboardInput.KeyCode[4],keyboardInput.KeyCode[5],keyboardInput.KeyCode[6],keyboardInput.KeyCode[7],keyboardInput.KeyCode[8],keyboardInput.KeyCode[9],keyboardInput.KeyCode[10]) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000592/0.3172, allocations: 277.6 kB / 428.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.3174, allocations: 235.6 kB / 428.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3175, allocations: 4.125 kB / 428.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.3175, allocations: 122.8 kB / 428.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3179, allocations: 82.94 kB / 429 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.3184, allocations: 304.9 kB / 429.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.3185, allocations: 0.7197 MB / 430 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.3186, allocations: 15.44 kB / 430 MB, free: 11.54 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3186, allocations: 0 / 430 MB, free: 11.54 MB / 302.1 MB Notification: Performance of Templates: time 0.003541/0.3221, allocations: 1.737 MB / 431.8 MB, free: 9.801 MB / 302.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboard.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardCalcHelperMain.o] Error 1