Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.405e-05, allocations: 7.938 kB / 347 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.5012, allocations: 88.33 MB / 497.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004337/0.5017, allocations: 67.97 kB / 497.2 MB, free: 2.289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03259/0.5343, allocations: 4.294 MB / 0.4898 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.5344, allocations: 0 / 0.4898 GB, free: 13.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.5344, allocations: 0 / 0.4898 GB, free: 13.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007841/0.5352, allocations: 362.4 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.078e-05/0.5353, allocations: 8.031 kB / 0.4901 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.5354, allocations: 7.906 kB / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.5359, allocations: 190.9 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.536, allocations: 4 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.5361, allocations: 4 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.5363, allocations: 59.36 kB / 0.4904 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5364, allocations: 7.938 kB / 0.4904 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.5364, allocations: 0 / 0.4904 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5365, allocations: 3.938 kB / 0.4904 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.5366, allocations: 15.98 kB / 0.4904 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.5375, allocations: 284.8 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.5379, allocations: 42.56 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.538, allocations: 12.86 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.5381, allocations: 4 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.5381, allocations: 30.56 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 4.48e-06/0.5382, allocations: 0 / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008934/0.5391, allocations: 109.5 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.5392, allocations: 77.11 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.5396, allocations: 129 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.5396, allocations: 29.7 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.5398, allocations: 158.5 kB / 0.4913 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.5399, allocations: 19.73 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-06/0.5399, allocations: 4 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.5402, allocations: 312 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.5403, allocations: 12 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.5405, allocations: 21.72 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.5406, allocations: 31.91 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.769e-06/0.5406, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003112/0.541, allocations: 57.69 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.541, allocations: 8 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.694e-06/0.5411, allocations: 256 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.5411, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.5413, allocations: 19.98 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.5414, allocations: 0 / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5415, allocations: 8 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5416, allocations: 0 / 0.4917 GB, free: 11.77 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 (5): * Single equations (assignments): 5 * 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 0.000168/0.5418, allocations: 116.9 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5419, allocations: 7.906 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.5423, allocations: 81.69 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.571e-06/0.5424, allocations: 0 / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5424, allocations: 0 / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-06/0.5424, allocations: 3.938 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.5434, allocations: 338.5 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.122e-06/0.5435, allocations: 0 / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.5437, allocations: 15.92 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.5437, allocations: 4.141 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5438, allocations: 0 / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.083e-06/0.5438, allocations: 0 / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.361e-06/0.5438, allocations: 3.984 kB / 0.4923 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.5443, allocations: 175.4 kB / 0.4924 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.5444, allocations: 88.95 kB / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.5445, allocations: 0 / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5448, allocations: 7.984 kB / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.5449, allocations: 8 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5449, allocations: 192 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.5451, allocations: 103.3 kB / 0.4926 GB, free: 10.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.29e-06/0.5452, allocations: 0 / 0.4926 GB, free: 10.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008956/0.5461, allocations: 31.98 kB / 0.4927 GB, free: 10.69 MB / 426.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 (5): * Single equations (assignments): 5 * 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.003027/0.5491, allocations: 445.9 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.5494, allocations: 31.98 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.713e-06/0.5495, allocations: 0 / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.5496, allocations: 16 kB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.5502, allocations: 23.88 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.5509, allocations: 130.7 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.5516, allocations: 0.7043 MB / 0.494 GB, free: 9.434 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5517, allocations: 11.44 kB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/0.5517, allocations: 0 / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of Templates: time 0.008135/0.5599, allocations: 1.602 MB / 0.4956 GB, free: 7.816 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23Functions.cpp:208:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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.CombiTable1Dv.Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test23CalcHelperMain.o] Error 1