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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-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(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.0014/0.001404, allocations: 102 kB / 16.41 MB, free: 6.488 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.001649/0.001649, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006451/0.006451, allocations: 1.003 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.91 kB / 403.6 MB, free: 31.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07496/0.07619, allocations: 49.64 MB / 453.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001526/0.07776, allocations: 0.493 MB / 453.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.08007, allocations: 1.341 MB / 455.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.08011, allocations: 0 / 455.1 MB, free: 12.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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-master/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.00137/0.08149, allocations: 313 kB / 455.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.08154, allocations: 23.98 kB / 455.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.19e-05/0.08159, allocations: 19.92 kB / 455.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.08166, allocations: 27.86 kB / 455.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.08171, allocations: 0 / 455.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.08174, allocations: 11.97 kB / 455.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.08183, allocations: 8 kB / 455.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.08185, allocations: 0 / 455.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.08231, allocations: 343.5 kB / 455.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.08238, allocations: 19.98 kB / 455.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.08241, allocations: 4 kB / 455.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.08279, allocations: 279.5 kB / 456.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.0828, allocations: 0 / 456.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.08281, allocations: 0 / 456.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.08282, allocations: 0 / 456.1 MB, free: 11.05 MB / 334.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.0004225/0.08325, allocations: 425 kB / 456.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.08329, allocations: 12.03 kB / 456.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.08336, allocations: 76.22 kB / 456.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.08353, allocations: 247.6 kB / 456.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.08359, allocations: 154.9 kB / 457 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.08364, allocations: 158.9 kB / 457.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.628e-05/0.0837, allocations: 105.1 kB / 457.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.08374, allocations: 75.28 kB / 457.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.08381, allocations: 154.5 kB / 457.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.773e-05/0.08388, allocations: 154.5 kB / 457.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.08395, allocations: 154.6 kB / 457.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.08421, allocations: 446 kB / 458.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.08429, allocations: 181.1 kB / 458.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.08434, allocations: 84.14 kB / 458.5 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.08437, allocations: 79.28 kB / 458.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.08447, allocations: 69.06 kB / 458.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.214e-06/0.08448, allocations: 0 / 458.7 MB, free: 8.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001768/0.08467, allocations: 67.33 kB / 458.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.08474, allocations: 132.5 kB / 458.9 MB, free: 8.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.08484, allocations: 109.8 kB / 459 MB, free: 7.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.08486, allocations: 33.83 kB / 459 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.0849, allocations: 80.14 kB / 459.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.08492, allocations: 0 / 459.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.08495, allocations: 13.72 kB / 459.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.08506, allocations: 318.8 kB / 459.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.08508, allocations: 0 / 459.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.08509, allocations: 0 / 459.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.08514, allocations: 60.33 kB / 459.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.08515, allocations: 4 kB / 459.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.958e-05/0.08523, allocations: 79.12 kB / 459.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.08527, allocations: 37.62 kB / 459.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.08528, allocations: 0 / 459.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.0853, allocations: 4 kB / 459.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.08531, allocations: 0 / 459.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.08531, allocations: 0 / 459.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.08534, allocations: 0 / 459.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.08535, allocations: 256 / 459.6 MB, free: 7.316 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.818e-05/0.08544, allocations: 143.6 kB / 459.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.08547, allocations: 3.938 kB / 459.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.08548, allocations: 11.11 kB / 459.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.08549, allocations: 0 / 459.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.0855, allocations: 4 kB / 459.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.08551, allocations: 0 / 459.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.08561, allocations: 153.7 kB / 459.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.08562, allocations: 3.938 kB / 459.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.08563, allocations: 0 / 459.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.08563, allocations: 0 / 459.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.08564, allocations: 4 kB / 459.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.08565, allocations: 4 kB / 459.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.08566, allocations: 0 / 459.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.216e-05/0.08575, allocations: 90.77 kB / 460 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.0858, allocations: 85.05 kB / 460.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.08582, allocations: 0 / 460.1 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.08584, allocations: 4 kB / 460.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.08585, allocations: 4.031 kB / 460.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.08586, allocations: 0 / 460.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.08591, allocations: 91.27 kB / 460.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08592, allocations: 0 / 460.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.08627, allocations: 103.9 kB / 460.3 MB, free: 6.516 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007179/0.087, allocations: 387.6 kB / 460.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.08712, allocations: 67.33 kB / 460.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.08713, allocations: 0 / 460.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.08717, allocations: 63.47 kB / 460.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.08733, allocations: 7.938 kB / 460.8 MB, free: 6.035 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:8709:7-8709: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:8709:7-8709: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.0002915/0.08763, allocations: 126.7 kB / 460.9 MB, free: 5.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.08788, allocations: 0.6727 MB / 461.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.08791, allocations: 15.44 kB / 461.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08792, allocations: 0 / 461.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of Templates: time 0.004239/0.09216, allocations: 2.372 MB / 464 MB, free: 2.793 MB / 334.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -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/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 In file included from OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedCalcHelperMain.cpp:29: ./OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedInitialize.cpp:155:3: error: use of undeclared identifier 'units_' units_.assign(tmp1); ^ ./OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedInitialize.cpp:167:3: error: use of undeclared identifier 'header_' header_.assign(tmp2); ^ In file included from OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedCalcHelperMain.cpp:33: ./OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.cpp:195:54: error: use of undeclared identifier 'header_' _functions->Modelica_Utilities_Streams_print(header_(1,k_), ""); ^ ./OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.cpp:217:54: error: use of undeclared identifier 'units_' _functions->Modelica_Utilities_Streams_print(units_(1,k_), ""); ^ 4 errors generated. make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquotedCalcHelperMain.o] Error 1