Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 270 MB / 282.7 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.853e-05, allocations: 4 kB / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3925, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.5317, allocations: 89.26 MB / 498.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.532, allocations: 75.95 kB / 498.2 MB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02371/0.5557, allocations: 5.818 MB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.055e-06/0.5558, allocations: 0 / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.5558, allocations: 4 kB / 0.4922 GB, free: 11.47 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.0005755/0.5564, allocations: 418.1 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5564, allocations: 12.03 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.5565, allocations: 15.81 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.5569, allocations: 230.5 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.557, allocations: 3.953 kB / 0.4929 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.557, allocations: 4 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5571, allocations: 57.66 kB / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5572, allocations: 0 / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5572, allocations: 0 / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.941e-06/0.5572, allocations: 0 / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.5573, allocations: 27.86 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.5578, allocations: 312.9 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.558, allocations: 46.69 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.558, allocations: 16.98 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.5581, allocations: 4 kB / 0.4933 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.5583, allocations: 75.27 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.667e-06/0.5583, allocations: 0 / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.5589, allocations: 169.1 kB / 0.4935 GB, free: 9.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.5589, allocations: 51.41 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.5593, allocations: 233.8 kB / 0.4938 GB, free: 9.629 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5594, allocations: 29.7 kB / 0.4938 GB, free: 9.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.5595, allocations: 170.5 kB / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5595, allocations: 23.66 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-06/0.5595, allocations: 4 kB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.5597, allocations: 322.8 kB / 0.4943 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.5598, allocations: 20 kB / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.5599, allocations: 29.72 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.696e-05/0.5599, allocations: 23.97 kB / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-06/0.56, allocations: 0 / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002205/0.5602, allocations: 89.62 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5602, allocations: 8.031 kB / 0.4945 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.711e-06/0.5602, allocations: 4 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5603, allocations: 3.984 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5604, allocations: 12 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.749e-06/0.5604, allocations: 0 / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.5605, allocations: 8 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.5605, allocations: 4 kB / 0.4945 GB, free: 8.863 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.0001051/0.5607, allocations: 122 kB / 0.4946 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.5607, allocations: 11.81 kB / 0.4947 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.561, allocations: 123.1 kB / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-06/0.561, allocations: 0 / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-06/0.5611, allocations: 0 / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.992e-06/0.5611, allocations: 0 / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.5618, allocations: 439.3 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-06/0.5618, allocations: 8 kB / 0.4952 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.5619, allocations: 8 kB / 0.4952 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.382e-06/0.5619, allocations: 8.25 kB / 0.4952 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5619, allocations: 4 kB / 0.4952 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.044e-06/0.5619, allocations: 3.938 kB / 0.4952 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.177e-06/0.5619, allocations: 3.938 kB / 0.4952 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.5623, allocations: 217.9 kB / 0.4954 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5624, allocations: 101 kB / 0.4955 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.5624, allocations: 7.938 kB / 0.4955 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.5626, allocations: 7.984 kB / 0.4955 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5627, allocations: 7.953 kB / 0.4955 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.5627, allocations: 8 kB / 0.4956 GB, free: 7.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002592/0.563, allocations: 192.2 kB / 0.4957 GB, free: 7.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.563, allocations: 0 / 0.4957 GB, free: 7.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004016/0.5634, allocations: 39.92 kB / 0.4958 GB, free: 7.465 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.001624/0.565, allocations: 462.6 kB / 0.4962 GB, free: 7.152 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.5653, allocations: 55.92 kB / 0.4963 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.5653, allocations: 4 kB / 0.4963 GB, free: 7.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.5654, allocations: 27.94 kB / 0.4963 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.5657, allocations: 31.7 kB / 0.4963 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.5664, allocations: 256.9 kB / 0.4966 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.5668, allocations: 0.7238 MB / 0.4973 GB, free: 6.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.5669, allocations: 15.44 kB / 0.4973 GB, free: 5.988 MB / 426.7 MB Notification: Performance of SimCode: time 1.645e-06/0.5669, allocations: 0 / 0.4973 GB, free: 5.988 MB / 426.7 MB Notification: Performance of Templates: time 0.005094/0.572, allocations: 2.154 MB / 0.4994 GB, free: 3.836 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46Functions.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.Test46CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.o] Error 1