Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009184, 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.000994/0.000994, allocations: 176.4 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.412/1.412, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005334/0.005334, allocations: 0.9848 MB / 292.7 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 11.98 kB / 353.8 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3458, allocations: 50.61 MB / 404.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0007105/0.3465, allocations: 224.2 kB / 404.7 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3492, allocations: 1.261 MB / 405.9 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.3492, allocations: 0 / 405.9 MB, free: 9.621 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.001262/0.3505, allocations: 262.4 kB / 406.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.3505, allocations: 25.69 kB / 406.2 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.339e-05/0.3506, allocations: 13.12 kB / 406.2 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.729e-05/0.3506, allocations: 12.78 kB / 406.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.3507, allocations: 2.422 kB / 406.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.3507, allocations: 11.58 kB / 406.2 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.3508, allocations: 18.45 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3509, allocations: 1.094 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.3514, allocations: 296.6 kB / 406.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.3515, allocations: 18.86 kB / 406.6 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.3515, allocations: 26.89 kB / 406.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.3519, allocations: 182.2 kB / 406.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3519, allocations: 1.516 kB / 406.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3519, allocations: 0 / 406.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3519, allocations: 4 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.0003455/0.3522, allocations: 415.1 kB / 407.2 MB, free: 8.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3523, allocations: 9.875 kB / 407.2 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.3523, allocations: 77.34 kB / 407.3 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3525, allocations: 254.9 kB / 407.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3525, allocations: 150.6 kB / 407.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3526, allocations: 154.6 kB / 407.8 MB, free: 8.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.546e-05/0.3526, allocations: 106.4 kB / 407.9 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3526, allocations: 75.28 kB / 408 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3527, allocations: 152.1 kB / 408.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.3527, allocations: 151.6 kB / 408.3 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.3527, allocations: 155.9 kB / 408.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.3529, allocations: 452.7 kB / 408.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.793e-05/0.353, allocations: 167.9 kB / 409.1 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.353, allocations: 84.08 kB / 409.1 MB, free: 6.941 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.353, allocations: 79.28 kB / 409.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3532, allocations: 81.55 kB / 409.3 MB, free: 6.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.195e-06/0.3532, allocations: 0 / 409.3 MB, free: 6.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.3534, allocations: 59.27 kB / 409.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.3534, allocations: 136.2 kB / 409.5 MB, free: 6.551 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3535, allocations: 108.9 kB / 409.6 MB, free: 6.449 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.3536, allocations: 25.7 kB / 409.6 MB, free: 6.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.3536, allocations: 83.48 kB / 409.7 MB, free: 6.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.3536, allocations: 5.281 kB / 409.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.3536, allocations: 0 / 409.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.3537, allocations: 317.6 kB / 410 MB, free: 6.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.3537, allocations: 0.9688 kB / 410 MB, free: 6.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.3537, allocations: 1.062 kB / 410 MB, free: 6.016 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.3538, allocations: 31.44 kB / 410 MB, free: 5.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3538, allocations: 1.188 kB / 410 MB, free: 5.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.739e-05/0.3538, allocations: 60.17 kB / 410.1 MB, free: 5.918 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.3539, allocations: 32.03 kB / 410.1 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3539, allocations: 9.297 kB / 410.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3539, allocations: 0 / 410.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.3539, allocations: 1.734 kB / 410.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3539, allocations: 1.281 kB / 410.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.3539, allocations: 3.938 kB / 410.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.354, allocations: 1.75 kB / 410.2 MB, free: 5.875 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.004e-05/0.3541, allocations: 143.5 kB / 410.3 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.3541, allocations: 6.922 kB / 410.3 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.3541, allocations: 8.75 kB / 410.3 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3541, allocations: 3.953 kB / 410.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3541, allocations: 0 / 410.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3541, allocations: 1.781 kB / 410.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.3542, allocations: 152.9 kB / 410.5 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3542, allocations: 0 / 410.5 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3542, allocations: 0 / 410.5 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3543, allocations: 3.984 kB / 410.5 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3543, allocations: 5.703 kB / 410.5 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3543, allocations: 3.938 kB / 410.5 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3543, allocations: 10.05 kB / 410.5 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.159e-05/0.3544, allocations: 92.08 kB / 410.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.3544, allocations: 80.02 kB / 410.7 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3544, allocations: 2.078 kB / 410.7 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.3545, allocations: 1.438 kB / 410.7 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3545, allocations: 6.078 kB / 410.7 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.3545, allocations: 0 / 410.7 MB, free: 5.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.902e-05/0.3545, allocations: 93.06 kB / 410.8 MB, free: 5.223 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3546, allocations: 4.031 kB / 410.8 MB, free: 5.219 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.3549, allocations: 96.69 kB / 410.9 MB, free: 5.191 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008753/0.3558, allocations: 387 kB / 411.2 MB, free: 5.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.334e-05/0.3559, allocations: 64.92 kB / 411.3 MB, free: 4.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3559, allocations: 1.094 kB / 411.3 MB, free: 4.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.356, allocations: 54.25 kB / 411.3 MB, free: 4.887 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3561, allocations: 4.891 kB / 411.4 MB, free: 4.887 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, false) 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, false) type: String[1, 4] [1,4] Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.3564, allocations: 129.2 kB / 411.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3565, allocations: 0.6774 MB / 412.2 MB, free: 4.051 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.3566, allocations: 10.53 kB / 412.2 MB, free: 4.043 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3566, allocations: 0 / 412.2 MB, free: 4.043 MB / 286.1 MB Notification: Performance of Templates: time 0.006099/0.3627, allocations: 2.345 MB / 414.5 MB, free: 3.773 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquotedCalcHelperMain.o OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedCalcHelperMain.o] Error 1