Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.716e-05/4.726e-05, allocations: 8 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3681, allocations: 61.89 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5081, allocations: 89.26 MB / 498.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5083, allocations: 75.95 kB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02342/0.5318, allocations: 5.687 MB / 0.4921 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.939e-06/0.5318, allocations: 0 / 0.4921 GB, free: 11.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.5318, allocations: 0 / 0.4921 GB, free: 11.61 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.000543/0.5324, allocations: 402.1 kB / 0.4925 GB, free: 11.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5324, allocations: 12.02 kB / 0.4925 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.5325, allocations: 15.81 kB / 0.4925 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.5329, allocations: 210.8 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.5329, allocations: 11.94 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.533, allocations: 0 / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5331, allocations: 53.69 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5331, allocations: 0 / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5331, allocations: 4 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5332, allocations: 0 / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.5332, allocations: 23.98 kB / 0.4928 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.5337, allocations: 304.8 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.5339, allocations: 58.62 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.534, allocations: 16.98 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.534, allocations: 3.938 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.5342, allocations: 75.33 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.738e-06/0.5342, allocations: 0 / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005195/0.5347, allocations: 149.2 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.5348, allocations: 51.41 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.5351, allocations: 207.2 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5351, allocations: 25.7 kB / 0.4936 GB, free: 9.812 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5352, allocations: 170.5 kB / 0.4938 GB, free: 9.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.5353, allocations: 19.72 kB / 0.4938 GB, free: 9.625 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.5353, allocations: 0 / 0.4938 GB, free: 9.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5355, allocations: 326.8 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-05/0.5356, allocations: 20 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.5356, allocations: 33.66 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.318e-05/0.5357, allocations: 19.98 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-06/0.5357, allocations: 0 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002157/0.536, allocations: 93.58 kB / 0.4943 GB, free: 9.121 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.536, allocations: 4 kB / 0.4943 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.962e-06/0.536, allocations: 8.031 kB / 0.4943 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.536, allocations: 0 / 0.4943 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5362, allocations: 19.92 kB / 0.4943 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.704e-06/0.5362, allocations: 0 / 0.4943 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.5363, allocations: 8 kB / 0.4943 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5363, allocations: 4 kB / 0.4943 GB, free: 9.078 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 9.855e-05/0.5364, allocations: 112.9 kB / 0.4944 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.5364, allocations: 11.91 kB / 0.4944 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.5368, allocations: 123 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-06/0.5368, allocations: 0 / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.5368, allocations: 4 kB / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.21e-06/0.5368, allocations: 0 / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.5375, allocations: 423.4 kB / 0.495 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5375, allocations: 0 / 0.495 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.5375, allocations: 12 kB / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-06/0.5376, allocations: 4.266 kB / 0.495 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5376, allocations: 4.031 kB / 0.495 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.444e-06/0.5376, allocations: 4.188 kB / 0.495 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.453e-06/0.5376, allocations: 7.938 kB / 0.495 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.5379, allocations: 225.8 kB / 0.4952 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.538, allocations: 97 kB / 0.4953 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.5381, allocations: 0 / 0.4953 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5382, allocations: 11.98 kB / 0.4953 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.5383, allocations: 11.95 kB / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.5383, allocations: 4 kB / 0.4953 GB, free: 7.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.5385, allocations: 167.5 kB / 0.4955 GB, free: 7.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.5385, allocations: 0 / 0.4955 GB, free: 7.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.5389, allocations: 35.94 kB / 0.4955 GB, free: 7.727 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.001596/0.5405, allocations: 459.3 kB / 0.496 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.5407, allocations: 59.92 kB / 0.496 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.503e-06/0.5408, allocations: 0 / 0.496 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.5408, allocations: 24 kB / 0.496 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.5412, allocations: 24.17 kB / 0.4961 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.5417, allocations: 232.9 kB / 0.4963 GB, free: 7.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.5422, allocations: 0.7238 MB / 0.497 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/0.5422, allocations: 15.44 kB / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5422, allocations: 0 / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of Templates: time 0.004763/0.547, allocations: 2.033 MB / 0.499 GB, free: 4.254 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51Functions.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.Test51CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test51CalcHelperMain.o] Error 1