Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009026, allocations: 100.5 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.001004/0.001004, allocations: 175.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.396/1.396, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005304/0.005304, allocations: 0.9924 MB / 292.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 8 kB / 353.8 MB, free: 2.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3393, allocations: 50.62 MB / 404.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0006335/0.34, allocations: 231.8 kB / 404.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3427, allocations: 1.255 MB / 405.9 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.3428, allocations: 0 / 405.9 MB, free: 9.629 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function ‘KeyWordIO.readSizeCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function ‘KeyWordIO.readColsCSV‘ contains a call to impure function ‘KeyWordIO.readSizeCSV‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function ‘KeyWordIO.readStringCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeComponents: time 0.001118/0.3439, allocations: 271.3 kB / 406.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.3439, allocations: 26.91 kB / 406.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.428e-05/0.344, allocations: 11.72 kB / 406.2 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3441, allocations: 24.17 kB / 406.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.3442, allocations: 2.625 kB / 406.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.3442, allocations: 13.94 kB / 406.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3443, allocations: 24.92 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3443, allocations: 1.875 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.345, allocations: 299.1 kB / 406.6 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.345, allocations: 21.34 kB / 406.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.3451, allocations: 26.95 kB / 406.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.3455, allocations: 189.5 kB / 406.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3455, allocations: 1.219 kB / 406.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.3455, allocations: 0 / 406.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3455, allocations: 3.938 kB / 406.8 MB, free: 9.395 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.0004711/0.346, allocations: 388.7 kB / 407.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.3461, allocations: 9.594 kB / 407.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.3462, allocations: 91.14 kB / 407.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3464, allocations: 242.4 kB / 407.5 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.3464, allocations: 155.1 kB / 407.7 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.3465, allocations: 151.4 kB / 407.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.3466, allocations: 110.8 kB / 407.9 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3466, allocations: 75.28 kB / 408 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.3466, allocations: 152.3 kB / 408.2 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.3467, allocations: 155.5 kB / 408.3 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.3467, allocations: 155.2 kB / 408.5 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.347, allocations: 450.2 kB / 408.9 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.3471, allocations: 166.9 kB / 409.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.3472, allocations: 81.05 kB / 409.2 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3472, allocations: 83.84 kB / 409.2 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.3475, allocations: 68.02 kB / 409.3 MB, free: 6.836 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.544e-06/0.3475, allocations: 0 / 409.3 MB, free: 6.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.3476, allocations: 46.75 kB / 409.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3477, allocations: 52.3 kB / 409.4 MB, free: 6.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3478, allocations: 112.4 kB / 409.5 MB, free: 6.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3478, allocations: 25.7 kB / 409.5 MB, free: 6.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.3479, allocations: 85.97 kB / 409.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.3479, allocations: 3.094 kB / 409.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.3479, allocations: 0 / 409.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.348, allocations: 313.2 kB / 409.9 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.348, allocations: 8.062 kB / 409.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.348, allocations: 1.672 kB / 409.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.357e-05/0.348, allocations: 2.188 kB / 409.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.348, allocations: 0 / 409.9 MB, free: 6.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.002e-05/0.3481, allocations: 44.09 kB / 410 MB, free: 6.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3481, allocations: 5.984 kB / 410 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3481, allocations: 3.953 kB / 410 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3481, allocations: 1.641 kB / 410 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.3482, allocations: 0 / 410 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3482, allocations: 5.062 kB / 410 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.3482, allocations: 4.406 kB / 410 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3482, allocations: 0.9062 kB / 410 MB, free: 6.141 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.303e-05/0.3483, allocations: 115.8 kB / 410.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.3483, allocations: 7.328 kB / 410.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.3484, allocations: 6.062 kB / 410.1 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3484, allocations: 4.953 kB / 410.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3484, allocations: 0 / 410.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3484, allocations: 3.219 kB / 410.1 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3485, allocations: 158.9 kB / 410.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3485, allocations: 1.156 kB / 410.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-06/0.3485, allocations: 0.8906 kB / 410.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3485, allocations: 1.188 kB / 410.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3485, allocations: 0 / 410.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3485, allocations: 0 / 410.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3485, allocations: 6.422 kB / 410.3 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.374e-05/0.3486, allocations: 67.8 kB / 410.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.3487, allocations: 79.17 kB / 410.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.3487, allocations: 4.688 kB / 410.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.3487, allocations: 2.062 kB / 410.4 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.3487, allocations: 5.078 kB / 410.5 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.3487, allocations: 4.688 kB / 410.5 MB, free: 5.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.3488, allocations: 94.36 kB / 410.5 MB, free: 5.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3488, allocations: 0 / 410.5 MB, free: 5.559 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.3492, allocations: 99.61 kB / 410.6 MB, free: 5.531 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008867/0.3501, allocations: 389.3 kB / 411 MB, free: 5.355 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.3502, allocations: 3.344 kB / 411 MB, free: 5.355 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3502, allocations: 5 kB / 411 MB, free: 5.352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.3502, allocations: 2.031 kB / 411 MB, free: 5.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3504, allocations: 6.094 kB / 411 MB, free: 5.352 MB / 286.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:8328:7-8328:116:writable] Error: Internal error Failed to find SimVar list for Var: units:PARAM() = KeyWordIO.readStringCSV(csvTabFileName, colUnits, colUnits, 1, 4, " ", false, cache) type: String[1, 4] [1,4] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:8328:7-8328:116:writable] Error: Internal error Failed to find SimVar list for Var: header:PARAM() = KeyWordIO.readStringCSV(csvTabFileName, colHeader, colHeader, 1, 4, " ", false, cache) type: String[1, 4] [1,4] Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3507, allocations: 142.7 kB / 411.2 MB, free: 5.207 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.3509, allocations: 0.6743 MB / 411.9 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.3509, allocations: 12.36 kB / 411.9 MB, free: 4.504 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.3509, allocations: 0 / 411.9 MB, free: 4.504 MB / 286.1 MB Notification: Performance of Templates: time 0.006318/0.3573, allocations: 2.501 MB / 414.4 MB, free: 4.227 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSVCalcHelperMain.o OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVCalcHelperMain.o] Error 1