Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.525e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.4817, allocations: 89.27 MB / 498.1 MB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.482, allocations: 75.95 kB / 498.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.5048, allocations: 5.448 MB / 0.4919 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.586e-06/0.5049, allocations: 4 kB / 0.4919 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.5049, allocations: 0 / 0.4919 GB, free: 11.82 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.0005366/0.5054, allocations: 401.2 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5055, allocations: 8.031 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.5056, allocations: 11.91 kB / 0.4923 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.5059, allocations: 218.7 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.506, allocations: 3.953 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.506, allocations: 4 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.5061, allocations: 57.67 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5062, allocations: 0 / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5062, allocations: 0 / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-06/0.5062, allocations: 0 / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.5063, allocations: 16 kB / 0.4925 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.5068, allocations: 296.8 kB / 0.4928 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.5069, allocations: 58.62 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.507, allocations: 16.98 kB / 0.4929 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.507, allocations: 0 / 0.4929 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.5072, allocations: 71.33 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.717e-06/0.5072, allocations: 0 / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.5078, allocations: 153.3 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.5078, allocations: 51.41 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.5081, allocations: 159.8 kB / 0.4933 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.5081, allocations: 29.7 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.5082, allocations: 162.5 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5083, allocations: 23.73 kB / 0.4935 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-06/0.5083, allocations: 4 kB / 0.4935 GB, free: 9.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5085, allocations: 318.8 kB / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.5085, allocations: 16 kB / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.5086, allocations: 41.64 kB / 0.4939 GB, free: 9.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.5087, allocations: 20 kB / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5087, allocations: 0 / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.5089, allocations: 93.58 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.509, allocations: 4 kB / 0.494 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.509, allocations: 0 / 0.494 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.509, allocations: 4 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5091, allocations: 19.92 kB / 0.494 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.5091, allocations: 0 / 0.494 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.5092, allocations: 12.03 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5093, allocations: 4 kB / 0.494 GB, free: 9.375 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.745e-05/0.5094, allocations: 104.9 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.5094, allocations: 15.91 kB / 0.4941 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.5097, allocations: 114.2 kB / 0.4943 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.992e-06/0.5097, allocations: 0 / 0.4943 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5098, allocations: 4 kB / 0.4943 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-06/0.5098, allocations: 0 / 0.4943 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.5104, allocations: 415.3 kB / 0.4947 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-06/0.5104, allocations: 192 / 0.4947 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.5105, allocations: 12 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.928e-06/0.5105, allocations: 4.281 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5105, allocations: 3.984 kB / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.781e-06/0.5105, allocations: 0 / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-06/0.5106, allocations: 3.938 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.5109, allocations: 225.9 kB / 0.4949 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.511, allocations: 85.02 kB / 0.495 GB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.511, allocations: 11.98 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5111, allocations: 4 kB / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.5112, allocations: 3.953 kB / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5112, allocations: 7.984 kB / 0.495 GB, free: 8.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.5114, allocations: 137.5 kB / 0.4951 GB, free: 8.137 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.5114, allocations: 0 / 0.4951 GB, free: 8.137 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.5118, allocations: 35.94 kB / 0.4952 GB, free: 8.102 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.001625/0.5134, allocations: 457.3 kB / 0.4956 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.5136, allocations: 55.94 kB / 0.4957 GB, free: 7.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.997e-06/0.5136, allocations: 0 / 0.4957 GB, free: 7.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.5137, allocations: 36.05 kB / 0.4957 GB, free: 7.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5141, allocations: 23.97 kB / 0.4957 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.5146, allocations: 184.8 kB / 0.4959 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.515, allocations: 0.7082 MB / 0.4966 GB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.5151, allocations: 19.44 kB / 0.4966 GB, free: 6.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.492e-06/0.5151, allocations: 4.062 kB / 0.4966 GB, free: 6.703 MB / 426.7 MB Notification: Performance of Templates: time 0.004693/0.5198, allocations: 1.89 MB / 0.4985 GB, free: 4.812 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18Functions.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.Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test18CalcHelperMain.o] Error 1