Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.564e-05/5.58e-05, allocations: 7.938 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3706, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.5132, allocations: 89.24 MB / 498.1 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5134, allocations: 75.95 kB / 498.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02297/0.5364, allocations: 5.366 MB / 0.4917 GB, free: 11.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.5365, allocations: 0 / 0.4917 GB, free: 11.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.5365, allocations: 0 / 0.4917 GB, free: 11.97 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.0005531/0.5371, allocations: 402.1 kB / 0.4921 GB, free: 11.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5371, allocations: 8.031 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.5372, allocations: 7.906 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.5376, allocations: 209.9 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5376, allocations: 7.953 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.5376, allocations: 7.984 kB / 0.4923 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.5378, allocations: 61.55 kB / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5378, allocations: 0 / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.5378, allocations: 3.938 kB / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-06/0.5379, allocations: 4 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.5379, allocations: 19.98 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.5384, allocations: 292.8 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5386, allocations: 58.62 kB / 0.4928 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.92e-05/0.5387, allocations: 16.98 kB / 0.4928 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.5387, allocations: 4 kB / 0.4928 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.5389, allocations: 67.39 kB / 0.4928 GB, free: 10.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.55e-06/0.5389, allocations: 0 / 0.4928 GB, free: 10.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005349/0.5394, allocations: 145.4 kB / 0.493 GB, free: 10.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.5395, allocations: 51.41 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.5397, allocations: 157.4 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5398, allocations: 25.7 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5399, allocations: 174.5 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.54, allocations: 19.75 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.54, allocations: 4 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5402, allocations: 318.8 kB / 0.4937 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.5402, allocations: 20 kB / 0.4937 GB, free: 9.723 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.5403, allocations: 29.72 kB / 0.4937 GB, free: 9.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.5404, allocations: 24.06 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.868e-06/0.5404, allocations: 0 / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00024/0.5407, allocations: 105.5 kB / 0.4939 GB, free: 9.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5407, allocations: 4 kB / 0.4939 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-06/0.5407, allocations: 4.062 kB / 0.4939 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5407, allocations: 4 kB / 0.4939 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5409, allocations: 15.98 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.736e-06/0.5409, allocations: 0 / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.541, allocations: 4 kB / 0.4939 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.541, allocations: 4 kB / 0.4939 GB, free: 9.52 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.0001029/0.5411, allocations: 116.9 kB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.5411, allocations: 15.89 kB / 0.494 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.5414, allocations: 110.4 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-06/0.5415, allocations: 4 kB / 0.4941 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.5415, allocations: 0 / 0.4941 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.125e-06/0.5415, allocations: 3.984 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006263/0.5421, allocations: 403.2 kB / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-06/0.5422, allocations: 3.969 kB / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.5422, allocations: 15.98 kB / 0.4945 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.102e-06/0.5423, allocations: 4 kB / 0.4946 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5423, allocations: 4 kB / 0.4946 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.641e-06/0.5423, allocations: 0 / 0.4946 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.443e-06/0.5423, allocations: 4 kB / 0.4946 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.5426, allocations: 209.9 kB / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.5427, allocations: 101 kB / 0.4949 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5428, allocations: 0 / 0.4949 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5429, allocations: 8 kB / 0.4949 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.543, allocations: 11.94 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.543, allocations: 0 / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.5432, allocations: 133.7 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.5432, allocations: 0 / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000378/0.5436, allocations: 35.92 kB / 0.495 GB, free: 8.25 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.001654/0.5452, allocations: 466.6 kB / 0.4955 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.5454, allocations: 51.94 kB / 0.4955 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5455, allocations: 3.938 kB / 0.4955 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.958e-05/0.5456, allocations: 35.92 kB / 0.4956 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.5459, allocations: 22.62 kB / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.5464, allocations: 189.1 kB / 0.4958 GB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.5468, allocations: 0.7043 MB / 0.4965 GB, free: 6.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.5469, allocations: 15.44 kB / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of SimCode: time 1.537e-06/0.5469, allocations: 0 / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of Templates: time 0.00472/0.5516, allocations: 1.895 MB / 0.4983 GB, free: 4.965 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15Functions.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.Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test15CalcHelperMain.o] Error 1