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.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.Blocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 92.69 kB / 16.37 MB, free: 5.969 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.001677/0.001677, allocations: 181.4 kB / 17.27 MB, free: 5.824 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.598/1.598, allocations: 223.2 MB / 241.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.2047/0.2047, allocations: 12.03 MB / 304.4 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 368.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 53.36 MB / 421.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey): time 0.003209/0.1412, allocations: 2.264 MB / 423.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.1418, allocations: 343.1 kB / 424.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.607e-05/0.142, allocations: 7.938 kB / 424.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.1422, allocations: 39.7 kB / 424.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.1423, allocations: 31.89 kB / 424.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1425, allocations: 71.78 kB / 424.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1427, allocations: 132 kB / 424.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1429, allocations: 65.61 kB / 424.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.1429, allocations: 43.78 kB / 424.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.143, allocations: 47.7 kB / 424.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.143, allocations: 4 kB / 424.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1432, allocations: 123.9 kB / 424.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.1433, allocations: 27.91 kB / 424.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.1433, allocations: 53.52 kB / 424.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1436, allocations: 163.9 kB / 425 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1436, allocations: 0 / 425 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1436, allocations: 0 / 425 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1436, allocations: 4 kB / 425 MB, free: 0.6445 MB / 350.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.0005271/0.1441, allocations: 415 kB / 425.4 MB, free: 192 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1442, allocations: 12.03 kB / 425.5 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.1442, allocations: 19.81 kB / 425.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3172/0.4615, allocations: 216.4 kB / 425.7 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.4615, allocations: 8.75 kB / 425.7 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.4616, allocations: 11.09 kB / 425.7 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.462, allocations: 161.7 kB / 425.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.462, allocations: 2.922 kB / 425.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.462, allocations: 6.125 kB / 425.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.4621, allocations: 5.703 kB / 425.9 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.4622, allocations: 75 kB / 426 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007701/0.463, allocations: 476.3 kB / 426.4 MB, free: 39.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.4632, allocations: 75.78 kB / 426.5 MB, free: 39.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.4633, allocations: 43.27 kB / 426.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.4633, allocations: 0.875 kB / 426.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.4635, allocations: 98.91 kB / 426.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/0.4635, allocations: 0 / 426.6 MB, free: 39.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003219/0.4639, allocations: 129 kB / 426.8 MB, free: 38.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4639, allocations: 82.7 kB / 426.8 MB, free: 38.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4641, allocations: 157.6 kB / 427 MB, free: 38.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4641, allocations: 31.77 kB / 427 MB, free: 38.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.4642, allocations: 132.5 kB / 427.2 MB, free: 38.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4642, allocations: 27.42 kB / 427.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4642, allocations: 3.281 kB / 427.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.4643, allocations: 328.2 kB / 427.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.4644, allocations: 26 kB / 427.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.4644, allocations: 54.28 kB / 427.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.4645, allocations: 39.45 kB / 427.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4645, allocations: 0 / 427.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001762/0.4647, allocations: 119.3 kB / 427.7 MB, free: 38.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4647, allocations: 4.969 kB / 427.7 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.4648, allocations: 3.125 kB / 427.7 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4648, allocations: 4.562 kB / 427.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.4649, allocations: 11.5 kB / 427.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4649, allocations: 6.047 kB / 427.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.4649, allocations: 13.16 kB / 427.8 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4649, allocations: 0.9375 kB / 427.8 MB, free: 38.25 MB / 350.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.keyState,$PRE.keyboardKeyInput.keyStateInt,keyboardKeyInput.keyStateInt,$PRE.keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.additionalKeyStateInt) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.4651, allocations: 139.5 kB / 427.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.4651, allocations: 15.56 kB / 427.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.4651, allocations: 14.73 kB / 427.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4651, allocations: 9.812 kB / 428 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4652, allocations: 3.234 kB / 428 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4652, allocations: 2.281 kB / 428 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.4654, allocations: 224.2 kB / 428.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4654, allocations: 2.688 kB / 428.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.4654, allocations: 4.156 kB / 428.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4654, allocations: 4.047 kB / 428.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4654, allocations: 0 / 428.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4654, allocations: 3 kB / 428.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4654, allocations: 3.953 kB / 428.2 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.4656, allocations: 143.3 kB / 428.3 MB, free: 37.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.4657, allocations: 87.95 kB / 428.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.4657, allocations: 0.9375 kB / 428.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.4657, allocations: 3.125 kB / 428.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.4658, allocations: 16.14 kB / 428.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4658, allocations: 2.812 kB / 428.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.4659, allocations: 118.9 kB / 428.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4659, allocations: 0 / 428.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.4662, allocations: 40 kB / 428.6 MB, free: 37.65 MB / 350.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 (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.0006018/0.4668, allocations: 236.9 kB / 428.8 MB, free: 37.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.467, allocations: 100.3 kB / 428.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.467, allocations: 4.125 kB / 428.9 MB, free: 37.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.4671, allocations: 62.98 kB / 429 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.4673, allocations: 10.97 kB / 429 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.4678, allocations: 355.4 kB / 429.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.4681, allocations: 0.7243 MB / 430.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.4681, allocations: 22.47 kB / 430.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4681, allocations: 0 / 430.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of Templates: time 0.004938/0.4731, allocations: 2.594 MB / 432.7 MB, free: 36.34 MB / 350.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKey.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.Blocks.Examples.TestInputKeyboardKeyCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKeyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboardKeyCalcHelperMain.o] Error 1