Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 270 MB / 282.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.733e-05, allocations: 8 kB / 347 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 61.88 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.456, allocations: 89.23 MB / 498.1 MB, free: 1.438 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4563, allocations: 75.95 kB / 498.2 MB, free: 1.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0226/0.4789, allocations: 5.405 MB / 0.4918 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.479, allocations: 0 / 0.4918 GB, free: 11.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.479, allocations: 4 kB / 0.4918 GB, free: 11.94 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.0005306/0.4795, allocations: 394.2 kB / 0.4921 GB, free: 11.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4796, allocations: 8.031 kB / 0.4922 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.4797, allocations: 11.89 kB / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.48, allocations: 212.5 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.4801, allocations: 3.953 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4801, allocations: 8 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4802, allocations: 53.66 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4803, allocations: 0 / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4803, allocations: 4 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-06/0.4803, allocations: 4 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.4804, allocations: 15.98 kB / 0.4925 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.4809, allocations: 296.8 kB / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.481, allocations: 50.69 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.4811, allocations: 24.97 kB / 0.4928 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4812, allocations: 7.922 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4813, allocations: 67.34 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.716e-06/0.4814, allocations: 3.938 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005335/0.4819, allocations: 153.2 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.482, allocations: 55.41 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.4822, allocations: 167.6 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.4823, allocations: 25.7 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.4824, allocations: 162.6 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.4824, allocations: 23.7 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-06/0.4824, allocations: 0 / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4826, allocations: 322.8 kB / 0.4938 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.4827, allocations: 23.94 kB / 0.4938 GB, free: 9.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.4828, allocations: 37.7 kB / 0.4938 GB, free: 9.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.4828, allocations: 16 kB / 0.4938 GB, free: 9.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-06/0.4829, allocations: 0 / 0.4938 GB, free: 9.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002191/0.4831, allocations: 89.66 kB / 0.4939 GB, free: 9.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4831, allocations: 8 kB / 0.4939 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.452e-06/0.4831, allocations: 7.969 kB / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4832, allocations: 0 / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4833, allocations: 15.98 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4833, allocations: 4 kB / 0.4939 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.4834, allocations: 7.938 kB / 0.494 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4834, allocations: 4 kB / 0.494 GB, free: 9.484 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.0001013/0.4835, allocations: 114.8 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.4836, allocations: 12 kB / 0.4941 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.4839, allocations: 118.2 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4839, allocations: 0 / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.606e-06/0.4839, allocations: 4 kB / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-06/0.4839, allocations: 0 / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.4845, allocations: 407.3 kB / 0.4946 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-06/0.4846, allocations: 0 / 0.4946 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.4846, allocations: 15.98 kB / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.253e-06/0.4847, allocations: 0 / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4847, allocations: 4.281 kB / 0.4946 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.043e-06/0.4847, allocations: 4.031 kB / 0.4946 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-06/0.4847, allocations: 4 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.485, allocations: 221.7 kB / 0.4948 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.4851, allocations: 97 kB / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.4852, allocations: 0 / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4853, allocations: 12 kB / 0.4949 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4854, allocations: 15.88 kB / 0.4949 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.4854, allocations: 4 kB / 0.4949 GB, free: 8.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.4856, allocations: 140.8 kB / 0.4951 GB, free: 8.227 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.4856, allocations: 0 / 0.4951 GB, free: 8.227 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.486, allocations: 28 kB / 0.4951 GB, free: 8.199 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.001615/0.4876, allocations: 462.1 kB / 0.4955 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4878, allocations: 59.92 kB / 0.4956 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.83e-06/0.4879, allocations: 0 / 0.4956 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/0.488, allocations: 32.09 kB / 0.4956 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4883, allocations: 24.12 kB / 0.4957 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.4888, allocations: 204.8 kB / 0.4959 GB, free: 7.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.4892, allocations: 0.7123 MB / 0.4966 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.4893, allocations: 15.44 kB / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of SimCode: time 1.57e-06/0.4893, allocations: 0 / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of Templates: time 0.004632/0.4939, allocations: 1.923 MB / 0.4984 GB, free: 4.859 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19Functions.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.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19CalcHelperMain.o] Error 1