Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008632/0.000863, allocations: 102.1 kB / 15.71 MB, free: 460 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.0009932/0.0009933, allocations: 172.3 kB / 16.58 MB, free: 6.402 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.427/1.427, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005276/0.005276, allocations: 0.989 MB / 292.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 353.8 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3215, allocations: 50.62 MB / 404.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001438/0.323, allocations: 0.9287 MB / 405.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.3263, allocations: 1.922 MB / 407.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.3263, allocations: 0.875 kB / 407.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.3264, allocations: 0.75 kB / 407.3 MB, free: 8.953 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function ‘KeyWordIO.readReal_m‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.001409/0.3278, allocations: 384.5 kB / 407.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.3278, allocations: 0 / 407.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.3278, allocations: 12.31 kB / 407.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.3279, allocations: 2.062 kB / 407.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.3279, allocations: 11.45 kB / 407.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3281, allocations: 6.531 kB / 407.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-06/0.3281, allocations: 0 / 407.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007603/0.3289, allocations: 431.7 kB / 408.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.3289, allocations: 1.25 kB / 408.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.3289, allocations: 29.64 kB / 408.2 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.3293, allocations: 257.7 kB / 408.4 MB, free: 8.523 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3293, allocations: 0.9844 kB / 408.4 MB, free: 8.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3293, allocations: 5.219 kB / 408.4 MB, free: 8.52 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3293, allocations: 0 / 408.4 MB, free: 8.52 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.0003382/0.3297, allocations: 412.3 kB / 408.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3297, allocations: 8.719 kB / 408.8 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3298, allocations: 76.28 kB / 408.9 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3299, allocations: 247.7 kB / 409.1 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3299, allocations: 153.7 kB / 409.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.33, allocations: 155.1 kB / 409.4 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.084e-05/0.33, allocations: 106 kB / 409.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.33, allocations: 75.28 kB / 409.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3301, allocations: 152.6 kB / 409.8 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.3301, allocations: 150.6 kB / 409.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.3301, allocations: 155.7 kB / 410.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3303, allocations: 450.5 kB / 410.5 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.3304, allocations: 172.6 kB / 410.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.3304, allocations: 84.89 kB / 410.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.3304, allocations: 75.28 kB / 410.8 MB, free: 6.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3305, allocations: 119.7 kB / 410.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3305, allocations: 0 / 410.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.736e-05/0.3305, allocations: 31.11 kB / 411 MB, free: 5.848 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.3306, allocations: 128.1 kB / 411.1 MB, free: 5.711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.3307, allocations: 106.3 kB / 411.2 MB, free: 5.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.3307, allocations: 26.92 kB / 411.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.294e-05/0.3307, allocations: 80.14 kB / 411.3 MB, free: 5.496 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.3307, allocations: 5.469 kB / 411.3 MB, free: 5.492 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-06/0.3307, allocations: 0 / 411.3 MB, free: 5.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.3308, allocations: 318.8 kB / 411.6 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-06/0.3308, allocations: 0.7188 kB / 411.6 MB, free: 5.172 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-06/0.3308, allocations: 48 / 411.6 MB, free: 5.172 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.405e-05/0.3308, allocations: 83.81 kB / 411.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.3308, allocations: 79.88 kB / 411.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.574e-05/0.3309, allocations: 29.44 kB / 411.8 MB, free: 4.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.3309, allocations: 84.55 kB / 411.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.3309, allocations: 76.31 kB / 412 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/0.331, allocations: 159.9 kB / 412.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.344e-05/0.331, allocations: 77.34 kB / 412.2 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.331, allocations: 156 kB / 412.4 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.3311, allocations: 77.31 kB / 412.4 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3311, allocations: 83.27 kB / 412.5 MB, free: 4.289 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.767e-05/0.3312, allocations: 263.7 kB / 412.8 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.3312, allocations: 107.1 kB / 412.9 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.3312, allocations: 107.1 kB / 413 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.3313, allocations: 186.1 kB / 413.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/0.3313, allocations: 181.1 kB / 413.3 MB, free: 3.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.3313, allocations: 182.5 kB / 413.5 MB, free: 3.246 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3315, allocations: 403.7 kB / 413.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.3315, allocations: 101 kB / 414 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/0.3315, allocations: 111.1 kB / 414.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-05/0.3316, allocations: 178.5 kB / 414.3 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.3316, allocations: 185.5 kB / 414.5 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.723e-05/0.3316, allocations: 182.2 kB / 414.7 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-05/0.3317, allocations: 182.3 kB / 414.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.931e-05/0.3317, allocations: 304.7 kB / 415.1 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3318, allocations: 190.4 kB / 415.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.3318, allocations: 182 kB / 415.5 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.3319, allocations: 102.6 kB / 415.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3319, allocations: 186.8 kB / 415.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.332, allocations: 106.1 kB / 415.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.332, allocations: 86.92 kB / 416 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.332, allocations: 0 / 416 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.3325, allocations: 147.3 kB / 416.1 MB, free: 0.6172 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.001152/0.3337, allocations: 0.5779 MB / 416.7 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 4.218e-05/0.3338, allocations: 5.156 kB / 416.7 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3338, allocations: 0 / 416.7 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.3338, allocations: 0.9062 kB / 416.7 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3341, allocations: 0.5202 MB / 417.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3345, allocations: 202.6 kB / 417.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3348, allocations: 0.674 MB / 418.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.3348, allocations: 12.38 kB / 418.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.394e-06/0.3348, allocations: 1.25 kB / 418.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Templates: time 0.007812/0.3427, allocations: 3.335 MB / 421.4 MB, free: 14.52 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_mCalcHelperMain.o OMCppKeyWordIO_KeyWordIO.Examples.ReadReal_mCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.ReadReal_mCalcHelperMain.o] Error 1