Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.231e-05, allocations: 4 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.5112, allocations: 89.1 MB / 497.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5115, allocations: 75.95 kB / 498 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.023/0.5345, allocations: 5.667 MB / 0.4919 GB, free: 11.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.5345, allocations: 3.938 kB / 0.4919 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.5346, allocations: 4 kB / 0.4919 GB, free: 11.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005585/0.5351, allocations: 405.2 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5352, allocations: 12.03 kB / 0.4923 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.5353, allocations: 15.81 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.5357, allocations: 230.5 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5357, allocations: 0 / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.5357, allocations: 7.953 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.5359, allocations: 49.61 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-06/0.5359, allocations: 0 / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5359, allocations: 0 / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.5359, allocations: 0 / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-05/0.536, allocations: 16 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.5363, allocations: 193.7 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.5364, allocations: 46.62 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.5365, allocations: 16.86 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.5365, allocations: 0 / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5367, allocations: 75.38 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.429e-06/0.5367, allocations: 7.938 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002516/0.537, allocations: 85.48 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.537, allocations: 55.41 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.5374, allocations: 229.8 kB / 0.4933 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.5374, allocations: 29.7 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.5376, allocations: 166.6 kB / 0.4935 GB, free: 9.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.5376, allocations: 11.91 kB / 0.4935 GB, free: 9.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-06/0.5376, allocations: 0 / 0.4935 GB, free: 9.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5378, allocations: 314.8 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.5378, allocations: 19.98 kB / 0.4938 GB, free: 9.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.5379, allocations: 33.66 kB / 0.4938 GB, free: 9.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.538, allocations: 15.98 kB / 0.4938 GB, free: 9.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-06/0.538, allocations: 0 / 0.4938 GB, free: 9.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001744/0.5382, allocations: 69.59 kB / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5382, allocations: 11.95 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.322e-06/0.5382, allocations: 0 / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5383, allocations: 4.031 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.5384, allocations: 11.94 kB / 0.4939 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.695e-06/0.5384, allocations: 0 / 0.4939 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.5385, allocations: 11.92 kB / 0.4939 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5385, allocations: 4 kB / 0.4939 GB, free: 9.473 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 (7): * Single equations (assignments): 7 * 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 8.846e-05/0.5386, allocations: 105 kB / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.5387, allocations: 15.81 kB / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.5389, allocations: 94.62 kB / 0.4941 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-06/0.539, allocations: 7.922 kB / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-06/0.539, allocations: 8 kB / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-06/0.539, allocations: 0 / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.5392, allocations: 197.6 kB / 0.4944 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.937e-06/0.5393, allocations: 0 / 0.4944 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.5393, allocations: 11.94 kB / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.235e-06/0.5393, allocations: 0 / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5393, allocations: 0 / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.197e-06/0.5394, allocations: 3.953 kB / 0.4944 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5394, allocations: 0 / 0.4944 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.5396, allocations: 125.1 kB / 0.4945 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5397, allocations: 100.9 kB / 0.4946 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.5398, allocations: 3.938 kB / 0.4946 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.5399, allocations: 4 kB / 0.4946 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.5399, allocations: 15.92 kB / 0.4946 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.5399, allocations: 0 / 0.4946 GB, free: 8.688 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.5402, allocations: 196.2 kB / 0.4948 GB, free: 8.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.5402, allocations: 0 / 0.4948 GB, free: 8.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.5405, allocations: 28 kB / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001444/0.542, allocations: 404.1 kB / 0.4952 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.5422, allocations: 43.98 kB / 0.4952 GB, free: 8.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.695e-06/0.5422, allocations: 4 kB / 0.4953 GB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.625e-05/0.5423, allocations: 23.92 kB / 0.4953 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5426, allocations: 23.77 kB / 0.4953 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.5431, allocations: 236.1 kB / 0.4955 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.5436, allocations: 0.716 MB / 0.4962 GB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.5436, allocations: 23.5 kB / 0.4962 GB, free: 7.078 MB / 426.7 MB Notification: Performance of SimCode: time 1.499e-06/0.5436, allocations: 0 / 0.4962 GB, free: 7.078 MB / 426.7 MB Notification: Performance of Templates: time 0.004618/0.5483, allocations: 1.918 MB / 0.4981 GB, free: 5.156 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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.Test64CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64CalcHelperMain.o] Error 1