Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 270 MB / 282.7 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-05/6.669e-05, allocations: 4 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.322, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.46, allocations: 89.28 MB / 498.1 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4603, allocations: 75.95 kB / 498.2 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02305/0.4833, allocations: 5.581 MB / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.109e-06/0.4834, allocations: 0 / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4834, allocations: 0 / 0.492 GB, free: 11.68 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.0005508/0.4839, allocations: 398.1 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.484, allocations: 8.031 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.4841, allocations: 11.91 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.4844, allocations: 215.5 kB / 0.4926 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4845, allocations: 7.953 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4845, allocations: 4 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.4847, allocations: 57.66 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4847, allocations: 0 / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4847, allocations: 3.938 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-06/0.4847, allocations: 3.938 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.4848, allocations: 23.98 kB / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.4853, allocations: 292.9 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4855, allocations: 50.69 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.4855, allocations: 16.98 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.4855, allocations: 0 / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.4857, allocations: 75.33 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.712e-06/0.4857, allocations: 0 / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005447/0.4863, allocations: 153.2 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4864, allocations: 63.28 kB / 0.4933 GB, free: 10.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.4866, allocations: 178.7 kB / 0.4935 GB, free: 9.949 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4867, allocations: 25.7 kB / 0.4935 GB, free: 9.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.4868, allocations: 166.6 kB / 0.4937 GB, free: 9.754 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.4868, allocations: 31.64 kB / 0.4937 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-06/0.4869, allocations: 0 / 0.4937 GB, free: 9.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.487, allocations: 314.8 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.4871, allocations: 20 kB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.4872, allocations: 37.7 kB / 0.494 GB, free: 9.344 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.4873, allocations: 23.98 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-06/0.4873, allocations: 0 / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002198/0.4875, allocations: 93.53 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4876, allocations: 8 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-06/0.4876, allocations: 0 / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4876, allocations: 0 / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4877, allocations: 15.98 kB / 0.4942 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4877, allocations: 4 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.4878, allocations: 0 / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4878, allocations: 4.188 kB / 0.4942 GB, free: 9.191 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.0001009/0.488, allocations: 116.9 kB / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.488, allocations: 11.94 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.4883, allocations: 119.2 kB / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4883, allocations: 0 / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.565e-06/0.4884, allocations: 0 / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-06/0.4884, allocations: 4 kB / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.489, allocations: 415.2 kB / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.764e-06/0.489, allocations: 0 / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.4891, allocations: 15.88 kB / 0.4948 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.237e-06/0.4891, allocations: 8.031 kB / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4892, allocations: 0 / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.68e-06/0.4892, allocations: 0 / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.183e-06/0.4892, allocations: 288 / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.4895, allocations: 225.8 kB / 0.4951 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.4896, allocations: 96.92 kB / 0.4952 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.4896, allocations: 4 kB / 0.4952 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4898, allocations: 7.984 kB / 0.4952 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.4898, allocations: 11.95 kB / 0.4952 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.4899, allocations: 4 kB / 0.4952 GB, free: 8.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.4901, allocations: 151.5 kB / 0.4953 GB, free: 7.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.4901, allocations: 0 / 0.4953 GB, free: 7.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003754/0.4905, allocations: 39.92 kB / 0.4954 GB, free: 7.875 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.001619/0.4921, allocations: 461.7 kB / 0.4958 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4923, allocations: 55.92 kB / 0.4959 GB, free: 7.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.393e-06/0.4923, allocations: 0 / 0.4959 GB, free: 7.512 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/0.4924, allocations: 35.86 kB / 0.4959 GB, free: 7.477 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4927, allocations: 26.73 kB / 0.4959 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.4933, allocations: 216.2 kB / 0.4961 GB, free: 7.215 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.4937, allocations: 0.7121 MB / 0.4968 GB, free: 6.477 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.4938, allocations: 19.38 kB / 0.4968 GB, free: 6.457 MB / 426.7 MB Notification: Performance of SimCode: time 1.529e-06/0.4938, allocations: 0 / 0.4968 GB, free: 6.457 MB / 426.7 MB Notification: Performance of Templates: time 0.004727/0.4985, allocations: 1.963 MB / 0.4988 GB, free: 4.492 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43Functions.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.Test43CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test43CalcHelperMain.o] Error 1