Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.396e-05, allocations: 4 kB / 347 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3721, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5198, allocations: 89.28 MB / 498.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.5202, allocations: 75.95 kB / 498.2 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03941/0.5597, allocations: 5.542 MB / 0.4919 GB, free: 11.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.321e-06/0.5597, allocations: 0 / 0.4919 GB, free: 11.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.5598, allocations: 7.938 kB / 0.492 GB, free: 11.7 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.0008513/0.5607, allocations: 394.2 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.5608, allocations: 8.031 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.5609, allocations: 7.906 kB / 0.4923 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.5615, allocations: 227.3 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5616, allocations: 3.953 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.5616, allocations: 8 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.5619, allocations: 53.67 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5619, allocations: 0 / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.562, allocations: 0 / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-06/0.562, allocations: 0 / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.5621, allocations: 31.92 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.5629, allocations: 288.9 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.5632, allocations: 58.62 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5633, allocations: 20.98 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.5634, allocations: 3.984 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.5636, allocations: 59.41 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.675e-06/0.5637, allocations: 0 / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009199/0.5646, allocations: 153.2 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.5647, allocations: 59.41 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.5652, allocations: 178.7 kB / 0.4934 GB, free: 9.984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.5653, allocations: 33.69 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5655, allocations: 162.6 kB / 0.4936 GB, free: 9.785 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.5656, allocations: 23.66 kB / 0.4936 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5656, allocations: 0 / 0.4936 GB, free: 9.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.5658, allocations: 322.8 kB / 0.494 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.566, allocations: 20 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.5661, allocations: 37.72 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.5663, allocations: 31.97 kB / 0.494 GB, free: 9.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-06/0.5663, allocations: 0 / 0.494 GB, free: 9.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004039/0.5667, allocations: 85.59 kB / 0.4941 GB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5668, allocations: 4 kB / 0.4941 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.679e-06/0.5668, allocations: 4 kB / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5669, allocations: 0 / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.5671, allocations: 15.98 kB / 0.4941 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5671, allocations: 7.969 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.5673, allocations: 8 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.5673, allocations: 4 kB / 0.4942 GB, free: 9.211 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.0001587/0.5675, allocations: 112.9 kB / 0.4943 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.5676, allocations: 11.89 kB / 0.4943 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.5681, allocations: 115.1 kB / 0.4944 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5681, allocations: 0 / 0.4944 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.5682, allocations: 4.266 kB / 0.4944 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5682, allocations: 4 kB / 0.4944 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5694, allocations: 419.2 kB / 0.4948 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.047e-06/0.5694, allocations: 3.938 kB / 0.4948 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5696, allocations: 8 kB / 0.4948 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.5696, allocations: 3.984 kB / 0.4948 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.5696, allocations: 4 kB / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.429e-06/0.5697, allocations: 3.984 kB / 0.4948 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.461e-06/0.5697, allocations: 0 / 0.4948 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.5703, allocations: 221.9 kB / 0.495 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.5705, allocations: 93.11 kB / 0.4951 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.5706, allocations: 11.98 kB / 0.4951 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.5709, allocations: 4 kB / 0.4951 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.571, allocations: 7.953 kB / 0.4951 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.5711, allocations: 7.984 kB / 0.4952 GB, free: 8.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003884/0.5715, allocations: 151 kB / 0.4953 GB, free: 7.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.306e-06/0.5715, allocations: 0 / 0.4953 GB, free: 7.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009309/0.5725, allocations: 43.92 kB / 0.4953 GB, free: 7.895 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.003241/0.5757, allocations: 456.8 kB / 0.4958 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.5761, allocations: 59.92 kB / 0.4958 GB, free: 7.535 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.054e-06/0.5762, allocations: 4.062 kB / 0.4958 GB, free: 7.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.5764, allocations: 28 kB / 0.4959 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.5771, allocations: 26.97 kB / 0.4959 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.5781, allocations: 208.6 kB / 0.4961 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.5788, allocations: 0.7083 MB / 0.4968 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.579, allocations: 23.42 kB / 0.4968 GB, free: 6.492 MB / 426.7 MB Notification: Performance of SimCode: time 2.799e-06/0.579, allocations: 3.938 kB / 0.4968 GB, free: 6.488 MB / 426.7 MB Notification: Performance of Templates: time 0.006165/0.5852, allocations: 1.963 MB / 0.4987 GB, free: 4.527 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26Functions.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.Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.o] Error 1