Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 270 MB / 282.7 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.355e-05, allocations: 7.938 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 61.89 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4596, allocations: 89.51 MB / 498.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4599, allocations: 71.97 kB / 498.4 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.4841, allocations: 5.908 MB / 0.4925 GB, free: 11.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4841, allocations: 0 / 0.4925 GB, free: 11.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4842, allocations: 4 kB / 0.4925 GB, free: 11.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005466/0.4847, allocations: 402.1 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4848, allocations: 8.031 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4848, allocations: 7.906 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.4852, allocations: 202.8 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.4852, allocations: 4 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.4853, allocations: 7.922 kB / 0.4931 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4855, allocations: 67.34 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4855, allocations: 4 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.4855, allocations: 3.984 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-06/0.4855, allocations: 0 / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.4856, allocations: 20 kB / 0.4932 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.4861, allocations: 284.8 kB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.4863, allocations: 54.62 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.4864, allocations: 24.97 kB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.4864, allocations: 4 kB / 0.4936 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.4866, allocations: 59.41 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.739e-06/0.4866, allocations: 0 / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005532/0.4871, allocations: 161.3 kB / 0.4938 GB, free: 9.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.4872, allocations: 77.11 kB / 0.4939 GB, free: 9.586 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4874, allocations: 147.3 kB / 0.494 GB, free: 9.438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.4875, allocations: 29.7 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4876, allocations: 170.5 kB / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.4876, allocations: 23.66 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-06/0.4877, allocations: 0 / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4878, allocations: 314.8 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.4879, allocations: 20 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.488, allocations: 38.58 kB / 0.4946 GB, free: 8.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.4881, allocations: 31.95 kB / 0.4946 GB, free: 8.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-06/0.4881, allocations: 0 / 0.4946 GB, free: 8.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002227/0.4883, allocations: 85.69 kB / 0.4947 GB, free: 8.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4884, allocations: 4 kB / 0.4947 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.876e-06/0.4884, allocations: 3.984 kB / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4884, allocations: 0 / 0.4947 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.4885, allocations: 23.92 kB / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.115e-06/0.4886, allocations: 0 / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.4886, allocations: 8.141 kB / 0.4947 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4887, allocations: 12.03 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.435e-05/0.4888, allocations: 105 kB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.4888, allocations: 11.89 kB / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.4891, allocations: 118.4 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4892, allocations: 0 / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.765e-06/0.4892, allocations: 0 / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.264e-06/0.4892, allocations: 3.984 kB / 0.495 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.4898, allocations: 403.2 kB / 0.4953 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-06/0.4898, allocations: 0 / 0.4953 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.4899, allocations: 15.98 kB / 0.4954 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.4899, allocations: 0 / 0.4954 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.49, allocations: 7.938 kB / 0.4954 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.456e-06/0.49, allocations: 3.953 kB / 0.4954 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.49, allocations: 0 / 0.4954 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.4903, allocations: 218 kB / 0.4956 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.4904, allocations: 89 kB / 0.4957 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.4904, allocations: 7.953 kB / 0.4957 GB, free: 7.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4906, allocations: 4 kB / 0.4957 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4906, allocations: 7.984 kB / 0.4957 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4907, allocations: 4 kB / 0.4957 GB, free: 7.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.4908, allocations: 119.3 kB / 0.4958 GB, free: 7.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.4908, allocations: 0 / 0.4958 GB, free: 7.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004056/0.4912, allocations: 47.92 kB / 0.4958 GB, free: 7.398 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001796/0.493, allocations: 0.5069 MB / 0.4963 GB, free: 7.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.4933, allocations: 59.92 kB / 0.4964 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.127e-06/0.4933, allocations: 0 / 0.4964 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.4934, allocations: 28 kB / 0.4964 GB, free: 6.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4937, allocations: 22.42 kB / 0.4964 GB, free: 6.941 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.4942, allocations: 168.7 kB / 0.4966 GB, free: 6.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4946, allocations: 0.7045 MB / 0.4973 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.4947, allocations: 19.42 kB / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of SimCode: time 1.766e-06/0.4947, allocations: 0 / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of Templates: time 0.005014/0.4997, allocations: 2.045 MB / 0.4993 GB, free: 3.945 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.CombiTimeTable.Test55CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55Functions.cpp:255:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test55CalcHelperMain.o] Error 1