Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.614e-05/6.622e-05, allocations: 11.94 kB / 347 MB, free: 3.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 61.87 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.4775, allocations: 89.24 MB / 498.1 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4778, allocations: 67.97 kB / 498.2 MB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02269/0.5005, allocations: 5.311 MB / 0.4917 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.227e-06/0.5005, allocations: 0 / 0.4917 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.5006, allocations: 4 kB / 0.4917 GB, free: 12.04 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.0005446/0.5011, allocations: 394.2 kB / 0.492 GB, free: 11.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5012, allocations: 11.97 kB / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.5012, allocations: 7.906 kB / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.5016, allocations: 202.1 kB / 0.4923 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.5017, allocations: 11.94 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.5017, allocations: 7.938 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5018, allocations: 53.69 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5019, allocations: 0 / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.5019, allocations: 3.938 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.5019, allocations: 0 / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.385e-05/0.502, allocations: 19.98 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.5025, allocations: 288.8 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.5026, allocations: 54.69 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.5027, allocations: 16.98 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.5027, allocations: 4 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.5029, allocations: 67.38 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.868e-06/0.5029, allocations: 3.938 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005587/0.5035, allocations: 153.2 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5036, allocations: 55.41 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.5038, allocations: 145 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.5038, allocations: 37.69 kB / 0.4931 GB, free: 10.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.5039, allocations: 154.6 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.504, allocations: 19.72 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-06/0.504, allocations: 4 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5042, allocations: 318.8 kB / 0.4936 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-05/0.5043, allocations: 23.94 kB / 0.4936 GB, free: 9.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.5044, allocations: 37.72 kB / 0.4937 GB, free: 9.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.5044, allocations: 28.05 kB / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-06/0.5045, allocations: 0 / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002247/0.5047, allocations: 85.67 kB / 0.4938 GB, free: 9.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5047, allocations: 8 kB / 0.4938 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.953e-06/0.5048, allocations: 0 / 0.4938 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5048, allocations: 3.938 kB / 0.4938 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.5049, allocations: 15.98 kB / 0.4938 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.436e-06/0.5049, allocations: 8.031 kB / 0.4938 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.862e-05/0.505, allocations: 0 / 0.4938 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.505, allocations: 4.188 kB / 0.4938 GB, free: 9.609 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 0.000104/0.5052, allocations: 112.9 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.5052, allocations: 15.8 kB / 0.4939 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.5056, allocations: 122.3 kB / 0.4941 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.16e-06/0.5056, allocations: 0 / 0.4941 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.443e-06/0.5056, allocations: 4.031 kB / 0.4941 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.5056, allocations: 11.92 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.5063, allocations: 399.3 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.811e-06/0.5063, allocations: 0 / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.5064, allocations: 8 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.471e-06/0.5064, allocations: 0 / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.5064, allocations: 7.984 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-06/0.5064, allocations: 0 / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-06/0.5064, allocations: 0 / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.5068, allocations: 221.9 kB / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.5069, allocations: 92.92 kB / 0.4948 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.5069, allocations: 3.984 kB / 0.4948 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.507, allocations: 4 kB / 0.4948 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.5071, allocations: 11.89 kB / 0.4948 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.5071, allocations: 11.98 kB / 0.4948 GB, free: 8.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.5073, allocations: 123.8 kB / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.5073, allocations: 0 / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.5077, allocations: 24 kB / 0.4949 GB, free: 8.348 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.001654/0.5094, allocations: 458.1 kB / 0.4954 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.5096, allocations: 51.94 kB / 0.4954 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.864e-06/0.5096, allocations: 8 kB / 0.4954 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.5097, allocations: 31.94 kB / 0.4955 GB, free: 7.949 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5101, allocations: 31.02 kB / 0.4955 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.5105, allocations: 172.8 kB / 0.4957 GB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.511, allocations: 0.7083 MB / 0.4964 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.511, allocations: 15.44 kB / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/0.511, allocations: 0 / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of Templates: time 0.004704/0.5158, allocations: 1.861 MB / 0.4982 GB, free: 5.109 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3Functions.cpp:241: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.Test3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3CalcHelperMain.o] Error 1