Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 270 MB / 282.7 MB, free: 1.738 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.549e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 61.87 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.461, allocations: 89.33 MB / 498.2 MB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4613, allocations: 79.95 kB / 498.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0247/0.486, allocations: 5.944 MB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4861, allocations: 0 / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.4861, allocations: 4 kB / 0.4924 GB, free: 11.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005836/0.4867, allocations: 410.1 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4867, allocations: 11.97 kB / 0.4928 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.4868, allocations: 19.75 kB / 0.4928 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.4872, allocations: 214.9 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4872, allocations: 7.891 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4873, allocations: 4 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4874, allocations: 65.66 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4875, allocations: 4 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4875, allocations: 0 / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-06/0.4875, allocations: 0 / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.4876, allocations: 23.98 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.4881, allocations: 312.7 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.4884, allocations: 58.56 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.4885, allocations: 28.97 kB / 0.4935 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.4885, allocations: 0 / 0.4935 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.4887, allocations: 67.34 kB / 0.4936 GB, free: 9.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.508e-06/0.4887, allocations: 0 / 0.4936 GB, free: 9.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006985/0.4894, allocations: 197.2 kB / 0.4937 GB, free: 9.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4895, allocations: 59.34 kB / 0.4938 GB, free: 9.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.4898, allocations: 211.1 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.4899, allocations: 25.7 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.49, allocations: 174.5 kB / 0.4942 GB, free: 9.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.49, allocations: 35.61 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-06/0.4901, allocations: 0 / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4902, allocations: 322.8 kB / 0.4945 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.4903, allocations: 24 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.4904, allocations: 49.64 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.81e-05/0.4905, allocations: 35.98 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-06/0.4905, allocations: 0 / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002654/0.4908, allocations: 113.6 kB / 0.4947 GB, free: 8.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4909, allocations: 4 kB / 0.4948 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-06/0.4909, allocations: 0 / 0.4948 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4909, allocations: 0 / 0.4948 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.491, allocations: 23.98 kB / 0.4948 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4911, allocations: 0 / 0.4948 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.4911, allocations: 4 kB / 0.4948 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4912, allocations: 12.03 kB / 0.4948 GB, free: 8.57 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 (13): * Single equations (assignments): 13 * 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.000105/0.4913, allocations: 112.9 kB / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.4914, allocations: 19.81 kB / 0.4949 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.4917, allocations: 139.1 kB / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.159e-06/0.4917, allocations: 8 kB / 0.4951 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4918, allocations: 0 / 0.4951 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.055e-06/0.4918, allocations: 3.984 kB / 0.4951 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.4926, allocations: 479.9 kB / 0.4955 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4926, allocations: 0 / 0.4955 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.4927, allocations: 12 kB / 0.4955 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.722e-06/0.4927, allocations: 0 / 0.4955 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4927, allocations: 11.98 kB / 0.4955 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.515e-06/0.4927, allocations: 0 / 0.4955 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.031e-06/0.4928, allocations: 11.94 kB / 0.4956 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.4931, allocations: 256.4 kB / 0.4958 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4933, allocations: 101 kB / 0.4959 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.4933, allocations: 4 kB / 0.4959 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.4935, allocations: 0 / 0.4959 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.4935, allocations: 19.98 kB / 0.4959 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4936, allocations: 4 kB / 0.4959 GB, free: 7.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4938, allocations: 163.5 kB / 0.4961 GB, free: 7.121 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4938, allocations: 0 / 0.4961 GB, free: 7.121 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.4942, allocations: 51.83 kB / 0.4961 GB, free: 7.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001841/0.4961, allocations: 0.5159 MB / 0.4966 GB, free: 6.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.4964, allocations: 79.92 kB / 0.4967 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4964, allocations: 0 / 0.4967 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4965, allocations: 44 kB / 0.4967 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.4969, allocations: 24.16 kB / 0.4968 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.4975, allocations: 242.2 kB / 0.497 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.498, allocations: 0.716 MB / 0.4977 GB, free: 5.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.498, allocations: 23.56 kB / 0.4977 GB, free: 5.535 MB / 426.7 MB Notification: Performance of SimCode: time 3.599e-06/0.4981, allocations: 4 kB / 0.4977 GB, free: 5.531 MB / 426.7 MB Notification: Performance of Templates: time 0.00544/0.5035, allocations: 2.281 MB / 0.5 GB, free: 3.258 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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.Test36CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test36CalcHelperMain.o] Error 1