Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.389e-05/6.414e-05, allocations: 8 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3493, allocations: 61.88 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4866, allocations: 89.24 MB / 498.1 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4869, allocations: 71.97 kB / 498.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02271/0.5096, allocations: 5.413 MB / 0.4918 GB, free: 11.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.5097, allocations: 4 kB / 0.4918 GB, free: 11.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.5097, allocations: 0 / 0.4918 GB, free: 11.93 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.000551/0.5103, allocations: 398.2 kB / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5103, allocations: 8.031 kB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.5104, allocations: 11.84 kB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.5108, allocations: 211.7 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.5108, allocations: 7.953 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.5108, allocations: 3.938 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.511, allocations: 53.69 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.511, allocations: 11.98 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.511, allocations: 4 kB / 0.4925 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-06/0.5111, allocations: 0 / 0.4925 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/0.5111, allocations: 16 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.5116, allocations: 288.9 kB / 0.4927 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.5118, allocations: 62.62 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.5119, allocations: 16.98 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.5119, allocations: 3.938 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.5121, allocations: 71.38 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.75e-06/0.5121, allocations: 0 / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/0.5127, allocations: 153.2 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.5127, allocations: 55.41 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.513, allocations: 173.3 kB / 0.4933 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.513, allocations: 29.7 kB / 0.4933 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.5131, allocations: 158.6 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5132, allocations: 19.72 kB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-06/0.5132, allocations: 0 / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5134, allocations: 326.8 kB / 0.4938 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.867e-05/0.5134, allocations: 20 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.517e-05/0.5135, allocations: 33.72 kB / 0.4938 GB, free: 9.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.5136, allocations: 19.98 kB / 0.4938 GB, free: 9.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.606e-06/0.5136, allocations: 0 / 0.4938 GB, free: 9.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.5139, allocations: 93.61 kB / 0.4939 GB, free: 9.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5139, allocations: 4 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-06/0.5139, allocations: 0 / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5139, allocations: 3.984 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.5141, allocations: 19.98 kB / 0.494 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.5141, allocations: 0 / 0.494 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.5142, allocations: 19.91 kB / 0.494 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.5142, allocations: 0 / 0.494 GB, free: 9.461 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.0001039/0.5143, allocations: 116.9 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.5144, allocations: 11.81 kB / 0.4941 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.5147, allocations: 114.4 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.191e-06/0.5147, allocations: 3.984 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-06/0.5147, allocations: 4 kB / 0.4942 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-06/0.5147, allocations: 0 / 0.4942 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006313/0.5154, allocations: 407.3 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-06/0.5154, allocations: 4 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.5155, allocations: 8 kB / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-06/0.5155, allocations: 0 / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.5155, allocations: 8 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-06/0.5155, allocations: 0 / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.875e-06/0.5155, allocations: 192 / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.5159, allocations: 225.8 kB / 0.4948 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.516, allocations: 97 kB / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.516, allocations: 4 kB / 0.4949 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.5161, allocations: 7.984 kB / 0.4949 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.5162, allocations: 7.953 kB / 0.4949 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.5162, allocations: 4 kB / 0.4949 GB, free: 8.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.5164, allocations: 148.8 kB / 0.4951 GB, free: 8.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.5164, allocations: 0 / 0.4951 GB, free: 8.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.5168, allocations: 28 kB / 0.4951 GB, free: 8.176 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.001632/0.5185, allocations: 460.9 kB / 0.4956 GB, free: 7.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.5187, allocations: 52 kB / 0.4956 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.897e-06/0.5187, allocations: 64 / 0.4956 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.5188, allocations: 35.94 kB / 0.4956 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.5191, allocations: 31.06 kB / 0.4957 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.5196, allocations: 192.9 kB / 0.4959 GB, free: 7.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.5201, allocations: 0.7082 MB / 0.4965 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.5202, allocations: 19.48 kB / 0.4966 GB, free: 6.773 MB / 426.7 MB Notification: Performance of SimCode: time 1.611e-06/0.5202, allocations: 4 kB / 0.4966 GB, free: 6.77 MB / 426.7 MB Notification: Performance of Templates: time 0.004671/0.5248, allocations: 1.936 MB / 0.4985 GB, free: 4.832 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27Functions.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.Test27CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27CalcHelperMain.o] Error 1