Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.209e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4658, allocations: 89.23 MB / 498.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4661, allocations: 75.95 kB / 498.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02322/0.4893, allocations: 5.346 MB / 0.4917 GB, free: 11.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4894, allocations: 0 / 0.4917 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.4894, allocations: 7.938 kB / 0.4917 GB, free: 11.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005583/0.49, allocations: 406.1 kB / 0.4921 GB, free: 11.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.49, allocations: 12.03 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.4901, allocations: 7.906 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.4905, allocations: 206.8 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.4905, allocations: 7.953 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4906, allocations: 0 / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4907, allocations: 53.67 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4907, allocations: 4 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4908, allocations: 4 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4908, allocations: 0 / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.43e-05/0.4909, allocations: 19.98 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.4914, allocations: 292.8 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.4915, allocations: 54.61 kB / 0.4927 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.4916, allocations: 24.98 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4916, allocations: 0 / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.4918, allocations: 63.39 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.692e-06/0.4918, allocations: 0 / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.4924, allocations: 157.3 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.4925, allocations: 51.41 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.4927, allocations: 156 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.4927, allocations: 37.7 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.4929, allocations: 162.5 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.4929, allocations: 19.75 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-06/0.4929, allocations: 0 / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4931, allocations: 322.8 kB / 0.4937 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.4932, allocations: 16 kB / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.4933, allocations: 41.59 kB / 0.4937 GB, free: 9.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.4933, allocations: 27.98 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-06/0.4934, allocations: 0 / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002272/0.4936, allocations: 93.64 kB / 0.4939 GB, free: 9.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4936, allocations: 8 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-06/0.4936, allocations: 0 / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4937, allocations: 0 / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4938, allocations: 19.92 kB / 0.4939 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.338e-06/0.4938, allocations: 4 kB / 0.4939 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.4939, allocations: 4 kB / 0.4939 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.494, allocations: 4.188 kB / 0.4939 GB, free: 9.527 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.0001039/0.4941, allocations: 118.4 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.4941, allocations: 15.84 kB / 0.494 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.4944, allocations: 110.2 kB / 0.4941 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.465e-06/0.4945, allocations: 3.984 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.885e-06/0.4945, allocations: 0 / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.055e-06/0.4945, allocations: 0 / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.4951, allocations: 403.2 kB / 0.4945 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.042e-06/0.4951, allocations: 4.188 kB / 0.4945 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.4952, allocations: 15.98 kB / 0.4945 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.723e-06/0.4952, allocations: 0 / 0.4945 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4953, allocations: 4 kB / 0.4945 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4953, allocations: 0 / 0.4945 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.4953, allocations: 0 / 0.4945 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.4956, allocations: 225.9 kB / 0.4947 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.4957, allocations: 89 kB / 0.4948 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.4958, allocations: 4 kB / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.4959, allocations: 4 kB / 0.4948 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.4959, allocations: 11.94 kB / 0.4949 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.496, allocations: 4 kB / 0.4949 GB, free: 8.426 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.4961, allocations: 133.5 kB / 0.495 GB, free: 8.297 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4962, allocations: 0 / 0.495 GB, free: 8.297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.4966, allocations: 39.92 kB / 0.495 GB, free: 8.258 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.001629/0.4982, allocations: 462.8 kB / 0.4955 GB, free: 7.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4984, allocations: 63.91 kB / 0.4955 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.819e-06/0.4984, allocations: 0 / 0.4955 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.4985, allocations: 28 kB / 0.4956 GB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4989, allocations: 24.11 kB / 0.4956 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.4994, allocations: 184.9 kB / 0.4957 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4998, allocations: 0.7004 MB / 0.4964 GB, free: 6.883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.4999, allocations: 19.44 kB / 0.4965 GB, free: 6.863 MB / 426.7 MB Notification: Performance of SimCode: time 1.548e-06/0.4999, allocations: 0 / 0.4965 GB, free: 6.863 MB / 426.7 MB Notification: Performance of Templates: time 0.004712/0.5046, allocations: 1.911 MB / 0.4983 GB, free: 4.957 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16Functions.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.Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.o] Error 1