Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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/KeyWordIO 0.11.0+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.000829, allocations: 100.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.452/1.452, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005286/0.005286, allocations: 0.9812 MB / 292.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003302, allocations: 4 kB / 353.8 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.302, allocations: 50.63 MB / 404.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001446/0.3035, allocations: 0.9212 MB / 405.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.3066, allocations: 1.867 MB / 407.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.3066, allocations: 3.219 kB / 407.2 MB, free: 8.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3067, allocations: 5.094 kB / 407.2 MB, free: 8.988 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function ‘KeyWordIO.readRealParameter‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.00125/0.3079, allocations: 339.4 kB / 407.6 MB, free: 8.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.3079, allocations: 5.344 kB / 407.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.308, allocations: 7.031 kB / 407.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.308, allocations: 2.094 kB / 407.6 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.3081, allocations: 10.08 kB / 407.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3082, allocations: 4.375 kB / 407.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.3082, allocations: 1.5 kB / 407.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007782/0.309, allocations: 411.7 kB / 408 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-06/0.309, allocations: 1.094 kB / 408 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.309, allocations: 26.67 kB / 408 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.3094, allocations: 234.5 kB / 408.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3094, allocations: 0 / 408.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3095, allocations: 0 / 408.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3095, allocations: 4.969 kB / 408.3 MB, free: 8.602 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003377/0.3098, allocations: 405.5 kB / 408.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3099, allocations: 9.25 kB / 408.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.3099, allocations: 80.25 kB / 408.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.31, allocations: 239.1 kB / 409 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.3101, allocations: 151.7 kB / 409.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.3101, allocations: 155.6 kB / 409.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.87e-05/0.3101, allocations: 106 kB / 409.4 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3102, allocations: 75.28 kB / 409.5 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3102, allocations: 159.8 kB / 409.6 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.3102, allocations: 150.6 kB / 409.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.3103, allocations: 153.9 kB / 409.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.3105, allocations: 446 kB / 410.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.3105, allocations: 174.3 kB / 410.5 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.3106, allocations: 81.17 kB / 410.6 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.3106, allocations: 76.31 kB / 410.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3106, allocations: 105.8 kB / 410.8 MB, free: 5.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3106, allocations: 1.031 kB / 410.8 MB, free: 5.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.777e-05/0.3107, allocations: 39.62 kB / 410.8 MB, free: 5.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3107, allocations: 135.7 kB / 411 MB, free: 5.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.3108, allocations: 105.3 kB / 411.1 MB, free: 5.695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.3108, allocations: 26.7 kB / 411.1 MB, free: 5.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.3109, allocations: 85.11 kB / 411.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3109, allocations: 0 / 411.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.3109, allocations: 0 / 411.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.3109, allocations: 316.9 kB / 411.5 MB, free: 5.262 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.3109, allocations: 0 / 411.5 MB, free: 5.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-06/0.3109, allocations: 5.031 kB / 411.5 MB, free: 5.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.367e-05/0.311, allocations: 76.27 kB / 411.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.311, allocations: 76.31 kB / 411.6 MB, free: 5.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.608e-05/0.311, allocations: 28.89 kB / 411.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3111, allocations: 80.53 kB / 411.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3111, allocations: 80.31 kB / 411.8 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.3111, allocations: 156.5 kB / 412 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.207e-05/0.3111, allocations: 88.34 kB / 412.1 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.3112, allocations: 156.7 kB / 412.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.3112, allocations: 75.28 kB / 412.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3112, allocations: 81.14 kB / 412.4 MB, free: 4.383 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 5.429e-05/0.3113, allocations: 259.6 kB / 412.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.3113, allocations: 106 kB / 412.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.3114, allocations: 110 kB / 412.8 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/0.3114, allocations: 186.9 kB / 413 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/0.3114, allocations: 186 kB / 413.2 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.3115, allocations: 177 kB / 413.4 MB, free: 3.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3116, allocations: 406.3 kB / 413.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.3116, allocations: 110.4 kB / 413.9 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.3117, allocations: 101 kB / 414 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-05/0.3117, allocations: 181.8 kB / 414.1 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.3117, allocations: 177.2 kB / 414.3 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.138e-05/0.3118, allocations: 180.3 kB / 414.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-05/0.3118, allocations: 189.9 kB / 414.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.401e-05/0.3119, allocations: 310 kB / 415 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.3119, allocations: 180.8 kB / 415.2 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.312, allocations: 178.6 kB / 415.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.312, allocations: 110.8 kB / 415.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.3121, allocations: 182.2 kB / 415.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3121, allocations: 110.7 kB / 415.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.705e-05/0.3121, allocations: 81.19 kB / 415.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3121, allocations: 3.938 kB / 415.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.3126, allocations: 133.2 kB / 415.9 MB, free: 0.7188 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001081/0.3137, allocations: 0.5587 MB / 416.5 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.56e-05/0.3138, allocations: 0 / 416.5 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3138, allocations: 1.5 kB / 416.5 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.3138, allocations: 1.172 kB / 416.5 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3141, allocations: 0.5237 MB / 417 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.3144, allocations: 196.8 kB / 417.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3147, allocations: 0.6732 MB / 417.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.3147, allocations: 12.23 kB / 417.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.3147, allocations: 3.938 kB / 417.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Templates: time 0.007276/0.322, allocations: 3.14 MB / 421 MB, free: 14.66 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppKeyWordIO_KeyWordIO.Examples.ReadRealParameterCalcHelperMain.o OMCppKeyWordIO_KeyWordIO.Examples.ReadRealParameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.ReadRealParameterCalcHelperMain.o] Error 1