Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.015e-05/6.029e-05, allocations: 4 kB / 347 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3406, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4806, allocations: 91.28 MB / 0.4884 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4809, allocations: 71.95 kB / 0.4885 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03759/0.5185, allocations: 9.727 MB / 0.498 GB, free: 5.562 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.738e-06/0.5186, allocations: 0 / 0.498 GB, free: 5.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.242e-05/0.5186, allocations: 11.98 kB / 0.498 GB, free: 5.551 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007688/0.5194, allocations: 0.5598 MB / 0.4985 GB, free: 4.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5194, allocations: 8.031 kB / 0.4985 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.5196, allocations: 39.53 kB / 0.4986 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.5202, allocations: 357 kB / 0.4989 GB, free: 4.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.5203, allocations: 12 kB / 0.4989 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.5203, allocations: 12 kB / 0.4989 GB, free: 4.484 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.5206, allocations: 110.5 kB / 0.499 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5206, allocations: 0 / 0.499 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.5207, allocations: 4 kB / 0.499 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5207, allocations: 7.938 kB / 0.499 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.5209, allocations: 71.97 kB / 0.4991 GB, free: 4.289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.5219, allocations: 0.5392 MB / 0.4996 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.5221, allocations: 102.5 kB / 0.4997 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.5222, allocations: 32.86 kB / 0.4998 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.5223, allocations: 7.938 kB / 0.4998 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5223, allocations: 43.59 kB / 0.4998 GB, free: 3.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.373e-06/0.5223, allocations: 0 / 0.4998 GB, free: 3.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001014/0.5234, allocations: 380 kB / 0.5002 GB, free: 3.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5234, allocations: 51.41 kB / 0.5002 GB, free: 3.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.5242, allocations: 495.1 kB / 0.5007 GB, free: 2.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5243, allocations: 25.7 kB / 0.5007 GB, free: 2.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.5245, allocations: 238.7 kB / 0.501 GB, free: 2.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.5246, allocations: 55.2 kB / 0.501 GB, free: 2.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.5246, allocations: 8 kB / 0.501 GB, free: 2.234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5247, allocations: 318.8 kB / 0.5013 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.5249, allocations: 55.98 kB / 0.5014 GB, free: 1.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.525, allocations: 57.55 kB / 0.5014 GB, free: 1.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5252, allocations: 66.69 kB / 0.5015 GB, free: 1.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-06/0.5252, allocations: 3.953 kB / 0.5015 GB, free: 1.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003773/0.5256, allocations: 169.5 kB / 0.5017 GB, free: 1.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5256, allocations: 4 kB / 0.5017 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-06/0.5256, allocations: 0 / 0.5017 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5257, allocations: 4 kB / 0.5017 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.5259, allocations: 39.91 kB / 0.5017 GB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5259, allocations: 4 kB / 0.5017 GB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.526, allocations: 16 kB / 0.5017 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.5261, allocations: 7.938 kB / 0.5017 GB, free: 1.492 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.813e-05/0.5262, allocations: 109 kB / 0.5018 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5263, allocations: 43.48 kB / 0.5019 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.5269, allocations: 269.1 kB / 0.5021 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-06/0.5269, allocations: 3.938 kB / 0.5021 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5269, allocations: 4 kB / 0.5021 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5269, allocations: 0 / 0.5021 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.5282, allocations: 0.7106 MB / 0.5028 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5282, allocations: 4 kB / 0.5028 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.5284, allocations: 31.98 kB / 0.5029 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.599e-06/0.5284, allocations: 4 kB / 0.5029 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5284, allocations: 4 kB / 0.5029 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.124e-06/0.5284, allocations: 3.984 kB / 0.5029 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5285, allocations: 4 kB / 0.5029 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.529, allocations: 306.8 kB / 0.5032 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5292, allocations: 152.6 kB / 0.5033 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.5293, allocations: 0 / 0.5033 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.5295, allocations: 12 kB / 0.5033 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.5295, allocations: 11.97 kB / 0.5033 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.5296, allocations: 4 kB / 0.5033 GB, free: 15.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006404/0.5302, allocations: 397.2 kB / 0.5037 GB, free: 15.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5302, allocations: 0 / 0.5037 GB, free: 15.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.5307, allocations: 75.92 kB / 0.5038 GB, free: 15.27 MB / 442.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002539/0.5333, allocations: 0.6888 MB / 0.5045 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.5337, allocations: 147.8 kB / 0.5046 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.222e-06/0.5337, allocations: 0 / 0.5046 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.5339, allocations: 75.92 kB / 0.5047 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.5344, allocations: 81.7 kB / 0.5048 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.5357, allocations: 0.5886 MB / 0.5053 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.5363, allocations: 0.8221 MB / 0.5061 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.5364, allocations: 43.36 kB / 0.5062 GB, free: 12.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.508e-06/0.5365, allocations: 4 kB / 0.5062 GB, free: 12.99 MB / 442.7 MB Notification: Performance of Templates: time 0.009865/0.5463, allocations: 4.928 MB / 0.511 GB, free: 8.07 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21Functions.cpp:330:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp13.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21CalcHelperMain.o] Error 1