Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.961e-05, allocations: 4 kB / 347 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.4591, allocations: 88.35 MB / 497.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4594, allocations: 71.97 kB / 497.2 MB, free: 2.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.4762, allocations: 4.286 MB / 0.4898 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.43e-06/0.4762, allocations: 0 / 0.4898 GB, free: 13.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4763, allocations: 0 / 0.4898 GB, free: 13.96 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.0004551/0.4767, allocations: 362.4 kB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4768, allocations: 12.03 kB / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.4768, allocations: 7.906 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.4771, allocations: 194.9 kB / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4772, allocations: 0 / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4772, allocations: 0 / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.4773, allocations: 63.36 kB / 0.4904 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4774, allocations: 0 / 0.4904 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4774, allocations: 0 / 0.4904 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.295e-06/0.4774, allocations: 0 / 0.4904 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.4775, allocations: 19.94 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.478, allocations: 296.7 kB / 0.4907 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.4782, allocations: 34.67 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.4782, allocations: 16.84 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4782, allocations: 0 / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4783, allocations: 34.56 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 5.468e-06/0.4783, allocations: 3.984 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004573/0.4788, allocations: 109.4 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4788, allocations: 81.11 kB / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.479, allocations: 125 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4791, allocations: 25.7 kB / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.4792, allocations: 158.5 kB / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.4792, allocations: 19.73 kB / 0.4913 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-06/0.4792, allocations: 4 kB / 0.4913 GB, free: 12.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4794, allocations: 320 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.4794, allocations: 12 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.4795, allocations: 21.72 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.54e-05/0.4796, allocations: 19.94 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4796, allocations: 0 / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001511/0.4797, allocations: 69.62 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4798, allocations: 4 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.116e-06/0.4798, allocations: 4.031 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4798, allocations: 0 / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4799, allocations: 15.98 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.245e-06/0.4799, allocations: 0 / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.48, allocations: 4 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-06/0.48, allocations: 4 kB / 0.4917 GB, free: 11.73 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 8.632e-05/0.4801, allocations: 104.9 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4802, allocations: 15.91 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.4804, allocations: 77.95 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4805, allocations: 0 / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.262e-06/0.4805, allocations: 4.062 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-06/0.4805, allocations: 3.984 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.481, allocations: 334.5 kB / 0.4922 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.734e-06/0.481, allocations: 0 / 0.4922 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.4811, allocations: 19.92 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.604e-06/0.4811, allocations: 4 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-06/0.4812, allocations: 0 / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.709e-06/0.4812, allocations: 3.938 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.4812, allocations: 0 / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.4814, allocations: 163.4 kB / 0.4924 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.4815, allocations: 93 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.4815, allocations: 0 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4816, allocations: 15.94 kB / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4817, allocations: 3.984 kB / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.853e-06/0.4817, allocations: 4 kB / 0.4925 GB, free: 10.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.4818, allocations: 107.3 kB / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4818, allocations: 0 / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.4822, allocations: 24 kB / 0.4927 GB, free: 10.67 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.001541/0.4838, allocations: 457.9 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.4839, allocations: 31.98 kB / 0.4931 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.484, allocations: 0 / 0.4931 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.484, allocations: 16 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.4843, allocations: 20.55 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.4847, allocations: 134.9 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.4851, allocations: 0.6965 MB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.4852, allocations: 19.42 kB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of SimCode: time 1.658e-06/0.4852, allocations: 0 / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of Templates: time 0.004119/0.4893, allocations: 1.598 MB / 0.4956 GB, free: 7.785 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24Functions.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.Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24CalcHelperMain.o] Error 1