Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.289e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 61.88 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4629, allocations: 89.28 MB / 498.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4632, allocations: 79.95 kB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02421/0.4874, allocations: 5.853 MB / 0.4923 GB, free: 11.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.059e-06/0.4874, allocations: 0 / 0.4923 GB, free: 11.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4875, allocations: 4 kB / 0.4923 GB, free: 11.43 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.000561/0.488, allocations: 410.1 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4881, allocations: 12.03 kB / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.4882, allocations: 23.75 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.4886, allocations: 227.8 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4886, allocations: 3.953 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4887, allocations: 7.938 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.4888, allocations: 53.67 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4888, allocations: 0 / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4889, allocations: 0 / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-06/0.4889, allocations: 0 / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/0.489, allocations: 19.98 kB / 0.493 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.4895, allocations: 324.7 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.4897, allocations: 46.69 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.4898, allocations: 20.98 kB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.4898, allocations: 0 / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.49, allocations: 71.38 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 6.7e-06/0.49, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005678/0.4906, allocations: 169 kB / 0.4936 GB, free: 9.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4907, allocations: 55.34 kB / 0.4936 GB, free: 9.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.491, allocations: 247.1 kB / 0.4939 GB, free: 9.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4911, allocations: 25.7 kB / 0.4939 GB, free: 9.551 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4912, allocations: 170.6 kB / 0.4941 GB, free: 9.383 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4913, allocations: 23.7 kB / 0.4941 GB, free: 9.359 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-06/0.4913, allocations: 4 kB / 0.4941 GB, free: 9.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4915, allocations: 318.8 kB / 0.4944 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/0.4915, allocations: 23.94 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.4916, allocations: 33.7 kB / 0.4944 GB, free: 8.973 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.4917, allocations: 20 kB / 0.4945 GB, free: 8.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4917, allocations: 4 kB / 0.4945 GB, free: 8.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002253/0.492, allocations: 89.56 kB / 0.4946 GB, free: 8.855 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.492, allocations: 4 kB / 0.4946 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.983e-06/0.492, allocations: 8.031 kB / 0.4946 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.492, allocations: 0 / 0.4946 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4922, allocations: 23.92 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4922, allocations: 0 / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.4923, allocations: 8.125 kB / 0.4946 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.4923, allocations: 4 kB / 0.4946 GB, free: 8.809 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.0001041/0.4924, allocations: 112.9 kB / 0.4947 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.4925, allocations: 15.81 kB / 0.4947 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.4928, allocations: 123.1 kB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.18e-06/0.4928, allocations: 0 / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4929, allocations: 3.938 kB / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.071e-06/0.4929, allocations: 4 kB / 0.4948 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/0.4936, allocations: 435.2 kB / 0.4953 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4936, allocations: 0 / 0.4953 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.4937, allocations: 15.98 kB / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.453e-06/0.4937, allocations: 0 / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4937, allocations: 0 / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.667e-06/0.4938, allocations: 8.031 kB / 0.4953 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-06/0.4938, allocations: 288 / 0.4953 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.4941, allocations: 225.8 kB / 0.4955 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4942, allocations: 104.9 kB / 0.4956 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.4943, allocations: 0 / 0.4956 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.4944, allocations: 12 kB / 0.4956 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.4945, allocations: 11.94 kB / 0.4956 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4945, allocations: 7.938 kB / 0.4956 GB, free: 7.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.4948, allocations: 201.5 kB / 0.4958 GB, free: 7.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.4948, allocations: 0 / 0.4958 GB, free: 7.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.4952, allocations: 39.98 kB / 0.4959 GB, free: 7.398 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.001649/0.4969, allocations: 463.9 kB / 0.4963 GB, free: 7.086 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.4971, allocations: 51.94 kB / 0.4964 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4971, allocations: 0 / 0.4964 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.4972, allocations: 31.98 kB / 0.4964 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.4976, allocations: 36.02 kB / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.4982, allocations: 257.1 kB / 0.4967 GB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.4987, allocations: 0.7277 MB / 0.4974 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.4988, allocations: 19.38 kB / 0.4974 GB, free: 5.914 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4988, allocations: 0 / 0.4974 GB, free: 5.914 MB / 426.7 MB Notification: Performance of Templates: time 0.005469/0.5043, allocations: 2.189 MB / 0.4995 GB, free: 3.723 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6Functions.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.Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.o] Error 1