Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.696e-05, allocations: 4 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3821, allocations: 61.89 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5203, allocations: 89.27 MB / 498.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5205, allocations: 75.97 kB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.5438, allocations: 5.566 MB / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.478e-06/0.5438, allocations: 0 / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.5439, allocations: 4 kB / 0.492 GB, free: 11.72 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.0005414/0.5444, allocations: 398.1 kB / 0.4923 GB, free: 11.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5445, allocations: 8.031 kB / 0.4924 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.5445, allocations: 11.84 kB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.5449, allocations: 215.4 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.545, allocations: 11.95 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.545, allocations: 0 / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.5452, allocations: 57.67 kB / 0.4926 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5452, allocations: 0 / 0.4926 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5452, allocations: 0 / 0.4926 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-06/0.5452, allocations: 0 / 0.4926 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/0.5453, allocations: 19.98 kB / 0.4927 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.5458, allocations: 296.8 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.546, allocations: 50.69 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.546, allocations: 24.92 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.5461, allocations: 4 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.5462, allocations: 63.39 kB / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.478e-06/0.5462, allocations: 0 / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.5468, allocations: 165.2 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.5469, allocations: 55.41 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.5472, allocations: 182.3 kB / 0.4935 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.5472, allocations: 25.7 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.5473, allocations: 166.5 kB / 0.4936 GB, free: 9.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.5474, allocations: 23.73 kB / 0.4937 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-06/0.5474, allocations: 4 kB / 0.4937 GB, free: 9.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5475, allocations: 318.8 kB / 0.494 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.5476, allocations: 19.98 kB / 0.494 GB, free: 9.434 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.5477, allocations: 41.66 kB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.602e-05/0.5478, allocations: 19.98 kB / 0.494 GB, free: 9.367 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5478, allocations: 0 / 0.494 GB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002205/0.548, allocations: 93.58 kB / 0.4941 GB, free: 9.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5481, allocations: 4 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.662e-06/0.5481, allocations: 0 / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5481, allocations: 4 kB / 0.4941 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5482, allocations: 19.92 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.527e-06/0.5483, allocations: 4.031 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.5483, allocations: 8 kB / 0.4942 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.5484, allocations: 4 kB / 0.4942 GB, free: 9.227 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.628e-05/0.5485, allocations: 108.9 kB / 0.4943 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.5485, allocations: 15.89 kB / 0.4943 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.5488, allocations: 123.2 kB / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.496e-06/0.5489, allocations: 0 / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.573e-06/0.5489, allocations: 0 / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-06/0.5489, allocations: 7.984 kB / 0.4944 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.5495, allocations: 407.3 kB / 0.4948 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-06/0.5496, allocations: 0 / 0.4948 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.5496, allocations: 8 kB / 0.4948 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-06/0.5496, allocations: 0 / 0.4948 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.5497, allocations: 8 kB / 0.4948 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.945e-06/0.5497, allocations: 0 / 0.4948 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5497, allocations: 3.938 kB / 0.4948 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.55, allocations: 229.9 kB / 0.4951 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.5501, allocations: 92.92 kB / 0.4951 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.5502, allocations: 0 / 0.4951 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.5503, allocations: 11.98 kB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.5504, allocations: 7.953 kB / 0.4952 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.5504, allocations: 0 / 0.4952 GB, free: 8.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.5506, allocations: 155.5 kB / 0.4953 GB, free: 7.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5506, allocations: 3.938 kB / 0.4953 GB, free: 7.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.551, allocations: 39.92 kB / 0.4953 GB, free: 7.918 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.001619/0.5526, allocations: 460.6 kB / 0.4958 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5529, allocations: 59.92 kB / 0.4958 GB, free: 7.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-06/0.5529, allocations: 4.062 kB / 0.4958 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/0.553, allocations: 27.98 kB / 0.4959 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.5533, allocations: 23.98 kB / 0.4959 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.5539, allocations: 219.9 kB / 0.4961 GB, free: 7.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.5543, allocations: 0.7044 MB / 0.4968 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.5544, allocations: 23.44 kB / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of SimCode: time 1.36e-06/0.5544, allocations: 0 / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of Templates: time 0.004773/0.5592, allocations: 1.965 MB / 0.4987 GB, free: 4.539 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42Functions.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.Test42CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test42CalcHelperMain.o] Error 1