Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.662e-05, allocations: 8 kB / 347 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3236, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4632, allocations: 89.28 MB / 498.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4635, allocations: 75.95 kB / 498.2 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.4871, allocations: 5.581 MB / 0.492 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4872, allocations: 0 / 0.492 GB, free: 11.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4872, allocations: 4 kB / 0.492 GB, free: 11.67 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.0005653/0.4878, allocations: 394.1 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4879, allocations: 8.031 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.4879, allocations: 11.91 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.4883, allocations: 219.5 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4884, allocations: 3.953 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4884, allocations: 8 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.4886, allocations: 53.67 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4886, allocations: 0 / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4886, allocations: 0 / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.632e-06/0.4886, allocations: 0 / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.4887, allocations: 27.86 kB / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.4892, allocations: 296.8 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.4894, allocations: 50.69 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.4895, allocations: 20.98 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.4895, allocations: 3.984 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.4897, allocations: 67.34 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.103e-06/0.4897, allocations: 0 / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.4903, allocations: 153.2 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4904, allocations: 55.41 kB / 0.4933 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.4906, allocations: 182.3 kB / 0.4935 GB, free: 9.949 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4907, allocations: 29.69 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4908, allocations: 166.6 kB / 0.4937 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.4909, allocations: 19.66 kB / 0.4937 GB, free: 9.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.4909, allocations: 4 kB / 0.4937 GB, free: 9.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4911, allocations: 326.7 kB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.4912, allocations: 20 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.4912, allocations: 33.72 kB / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.4913, allocations: 23.98 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-06/0.4913, allocations: 0 / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002262/0.4916, allocations: 89.53 kB / 0.4941 GB, free: 9.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4916, allocations: 4 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.909e-06/0.4916, allocations: 8.031 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4916, allocations: 0 / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4918, allocations: 15.98 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4918, allocations: 0 / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.4919, allocations: 4 kB / 0.4942 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.4919, allocations: 4 kB / 0.4942 GB, free: 9.188 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.0001164/0.492, allocations: 112.9 kB / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.4921, allocations: 11.89 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.4924, allocations: 115.3 kB / 0.4944 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4924, allocations: 0 / 0.4944 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4924, allocations: 7.984 kB / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4925, allocations: 288 / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.4931, allocations: 419.2 kB / 0.4948 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-06/0.4932, allocations: 0 / 0.4948 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.4932, allocations: 11.94 kB / 0.4948 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.224e-06/0.4933, allocations: 7.922 kB / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4933, allocations: 8.031 kB / 0.4948 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.928e-06/0.4933, allocations: 3.984 kB / 0.4948 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4933, allocations: 3.938 kB / 0.4949 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.4936, allocations: 214 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/0.4937, allocations: 96.92 kB / 0.4951 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.4938, allocations: 0 / 0.4951 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4939, allocations: 11.98 kB / 0.4952 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.494, allocations: 11.89 kB / 0.4952 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.494, allocations: 11.98 kB / 0.4952 GB, free: 8.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.4942, allocations: 143.5 kB / 0.4953 GB, free: 7.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4942, allocations: 0 / 0.4953 GB, free: 7.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.4947, allocations: 43.92 kB / 0.4954 GB, free: 7.867 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.001664/0.4963, allocations: 452.1 kB / 0.4958 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.4966, allocations: 67.89 kB / 0.4959 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4966, allocations: 0 / 0.4959 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.4967, allocations: 31.94 kB / 0.4959 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.4971, allocations: 27.86 kB / 0.4959 GB, free: 7.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.4976, allocations: 212.1 kB / 0.4961 GB, free: 7.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4981, allocations: 0.7123 MB / 0.4968 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.4982, allocations: 23.42 kB / 0.4968 GB, free: 6.449 MB / 426.7 MB Notification: Performance of SimCode: time 1.575e-06/0.4982, allocations: 0 / 0.4968 GB, free: 6.449 MB / 426.7 MB Notification: Performance of Templates: time 0.00476/0.5029, allocations: 1.956 MB / 0.4987 GB, free: 4.496 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44Functions.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.Test44CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.o] Error 1