Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.596e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.37, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.5132, allocations: 89.28 MB / 498.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5135, allocations: 75.95 kB / 498.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02299/0.5365, allocations: 5.499 MB / 0.4919 GB, free: 11.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.137e-06/0.5365, allocations: 0 / 0.4919 GB, free: 11.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.5366, allocations: 8 kB / 0.4919 GB, free: 11.76 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.000576/0.5372, allocations: 394.2 kB / 0.4923 GB, free: 11.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5372, allocations: 8.031 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.5373, allocations: 7.906 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.5377, allocations: 215.6 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.5377, allocations: 7.891 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.5378, allocations: 4 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.5379, allocations: 57.67 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.538, allocations: 0 / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.538, allocations: 0 / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-06/0.538, allocations: 4 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.5381, allocations: 12 kB / 0.4926 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.5386, allocations: 300.8 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.5388, allocations: 50.62 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.191e-05/0.5389, allocations: 28.92 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.5389, allocations: 0 / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.5391, allocations: 63.39 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.672e-06/0.5391, allocations: 0 / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.5397, allocations: 161.1 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.5397, allocations: 55.41 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.54, allocations: 172.9 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.54, allocations: 29.7 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.5402, allocations: 162.6 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.5402, allocations: 19.72 kB / 0.4936 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-06/0.5402, allocations: 0 / 0.4936 GB, free: 9.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5404, allocations: 322.8 kB / 0.4939 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.5405, allocations: 16 kB / 0.4939 GB, free: 9.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.5406, allocations: 33.72 kB / 0.4939 GB, free: 9.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.5406, allocations: 27.98 kB / 0.494 GB, free: 9.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-06/0.5407, allocations: 3.938 kB / 0.494 GB, free: 9.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.5409, allocations: 81.69 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5409, allocations: 8 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-06/0.5409, allocations: 0 / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.541, allocations: 0 / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5411, allocations: 15.98 kB / 0.4941 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.5411, allocations: 7.938 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.5412, allocations: 3.938 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.5412, allocations: 16.02 kB / 0.4941 GB, free: 9.301 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.0001147/0.5414, allocations: 114.8 kB / 0.4942 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.5414, allocations: 11.81 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5417, allocations: 114.4 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.258e-06/0.5417, allocations: 3.984 kB / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-06/0.5418, allocations: 4 kB / 0.4943 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5418, allocations: 288 / 0.4943 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.5424, allocations: 411.3 kB / 0.4947 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5424, allocations: 0 / 0.4947 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.5425, allocations: 15.94 kB / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.903e-06/0.5425, allocations: 0 / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5426, allocations: 0 / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.428e-06/0.5426, allocations: 4 kB / 0.4947 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-06/0.5426, allocations: 4.172 kB / 0.4947 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.5429, allocations: 225.8 kB / 0.495 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.543, allocations: 93 kB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.5431, allocations: 0 / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5432, allocations: 7.984 kB / 0.4951 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.5432, allocations: 7.953 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.5433, allocations: 8 kB / 0.4951 GB, free: 8.188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.5435, allocations: 144.3 kB / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5435, allocations: 4 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.5439, allocations: 24 kB / 0.4952 GB, free: 8.023 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.001696/0.5456, allocations: 469.4 kB / 0.4957 GB, free: 7.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.5458, allocations: 55.98 kB / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5458, allocations: 3.938 kB / 0.4957 GB, free: 7.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.5459, allocations: 28.06 kB / 0.4958 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.5463, allocations: 31.91 kB / 0.4958 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.5468, allocations: 188.9 kB / 0.496 GB, free: 7.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.5472, allocations: 0.716 MB / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.5473, allocations: 19.42 kB / 0.4967 GB, free: 6.602 MB / 426.7 MB Notification: Performance of SimCode: time 1.712e-06/0.5473, allocations: 0 / 0.4967 GB, free: 6.602 MB / 426.7 MB Notification: Performance of Templates: time 0.004745/0.5521, allocations: 1.928 MB / 0.4986 GB, free: 4.672 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test21Functions.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.Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.o] Error 1