Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.86e-05, allocations: 8 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3245, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4618, allocations: 89.28 MB / 498.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4621, allocations: 71.97 kB / 498.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02372/0.4859, allocations: 5.829 MB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.227e-06/0.4859, allocations: 4 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4859, allocations: 0 / 0.4922 GB, free: 11.45 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.0005606/0.4865, allocations: 406.1 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4866, allocations: 16.02 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.4866, allocations: 11.81 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.487, allocations: 230.5 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4871, allocations: 7.953 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.4871, allocations: 4 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4873, allocations: 53.69 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4873, allocations: 0 / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4873, allocations: 7.922 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.897e-06/0.4873, allocations: 4 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.4874, allocations: 12 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.4879, allocations: 312.8 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.4881, allocations: 54.62 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.4882, allocations: 20.98 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.4882, allocations: 11.95 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.4884, allocations: 63.34 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.667e-06/0.4884, allocations: 0 / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005781/0.489, allocations: 165.1 kB / 0.4935 GB, free: 9.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.489, allocations: 59.34 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.4894, allocations: 233.8 kB / 0.4938 GB, free: 9.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.4895, allocations: 29.7 kB / 0.4939 GB, free: 9.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4896, allocations: 166.6 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.4896, allocations: 27.64 kB / 0.494 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-06/0.4896, allocations: 0 / 0.494 GB, free: 9.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4898, allocations: 318.8 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.4899, allocations: 20 kB / 0.4944 GB, free: 9.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.49, allocations: 41.7 kB / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.393e-05/0.4901, allocations: 16 kB / 0.4944 GB, free: 8.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-06/0.4901, allocations: 0 / 0.4944 GB, free: 8.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002262/0.4903, allocations: 93.59 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4903, allocations: 8 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.547e-06/0.4903, allocations: 0 / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4904, allocations: 0 / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.4905, allocations: 12 kB / 0.4945 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4905, allocations: 8.031 kB / 0.4945 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.4906, allocations: 7.984 kB / 0.4945 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4906, allocations: 4 kB / 0.4945 GB, free: 8.844 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.0001027/0.4907, allocations: 116.9 kB / 0.4947 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.4908, allocations: 15.81 kB / 0.4947 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.4911, allocations: 111.2 kB / 0.4948 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-06/0.4911, allocations: 0 / 0.4948 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.221e-06/0.4911, allocations: 0 / 0.4948 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-06/0.4912, allocations: 8.281 kB / 0.4948 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.4919, allocations: 439.1 kB / 0.4952 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-06/0.4919, allocations: 0 / 0.4952 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.492, allocations: 15.88 kB / 0.4952 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.567e-06/0.492, allocations: 0 / 0.4952 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.492, allocations: 4.188 kB / 0.4952 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.205e-06/0.492, allocations: 7.938 kB / 0.4952 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.306e-06/0.492, allocations: 3.984 kB / 0.4952 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.4924, allocations: 229.8 kB / 0.4955 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.4925, allocations: 93.02 kB / 0.4955 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.4925, allocations: 7.984 kB / 0.4956 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4926, allocations: 0 / 0.4956 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4927, allocations: 7.953 kB / 0.4956 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4927, allocations: 15.98 kB / 0.4956 GB, free: 7.672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.493, allocations: 192.2 kB / 0.4958 GB, free: 7.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.493, allocations: 0 / 0.4958 GB, free: 7.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000383/0.4934, allocations: 35.94 kB / 0.4958 GB, free: 7.449 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.001614/0.4951, allocations: 456.8 kB / 0.4962 GB, free: 7.145 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4953, allocations: 67.91 kB / 0.4963 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.971e-06/0.4953, allocations: 0 / 0.4963 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.4954, allocations: 27.94 kB / 0.4963 GB, free: 7.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.4957, allocations: 31.7 kB / 0.4963 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.4963, allocations: 252.8 kB / 0.4966 GB, free: 6.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.4968, allocations: 0.7279 MB / 0.4973 GB, free: 5.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.4969, allocations: 19.42 kB / 0.4973 GB, free: 5.969 MB / 426.7 MB Notification: Performance of SimCode: time 1.374e-06/0.4969, allocations: 0 / 0.4973 GB, free: 5.969 MB / 426.7 MB Notification: Performance of Templates: time 0.005133/0.502, allocations: 2.153 MB / 0.4994 GB, free: 3.816 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47Functions.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.Test47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test47CalcHelperMain.o] Error 1