Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.634e-05, allocations: 7.938 kB / 347 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4673, allocations: 90.19 MB / 499 MB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4676, allocations: 71.95 kB / 499.1 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.4853, allocations: 4.325 MB / 0.4916 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.137e-06/0.4853, allocations: 4 kB / 0.4916 GB, free: 12.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.4854, allocations: 0 / 0.4916 GB, free: 12.04 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006725/0.486, allocations: 455.8 kB / 0.4921 GB, free: 11.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4861, allocations: 12.03 kB / 0.4921 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.4862, allocations: 11.81 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.4866, allocations: 232 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4866, allocations: 7.953 kB / 0.4923 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.4867, allocations: 8 kB / 0.4923 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.4869, allocations: 97.41 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.487, allocations: 3.984 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.487, allocations: 8 kB / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-06/0.487, allocations: 224 / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.4871, allocations: 35.94 kB / 0.4925 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.4879, allocations: 0.5242 MB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4883, allocations: 78.67 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/0.4884, allocations: 32.86 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.4884, allocations: 8 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.4886, allocations: 79.27 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/0.4886, allocations: 0 / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003049/0.4889, allocations: 101.5 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.489, allocations: 55.34 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.4893, allocations: 182.6 kB / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.4893, allocations: 25.7 kB / 0.4935 GB, free: 9.879 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4894, allocations: 178.5 kB / 0.4937 GB, free: 9.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.4895, allocations: 35.69 kB / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-06/0.4895, allocations: 0 / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4897, allocations: 314.8 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.4898, allocations: 24 kB / 0.494 GB, free: 9.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4899, allocations: 60.41 kB / 0.4941 GB, free: 9.254 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.49, allocations: 31.98 kB / 0.4941 GB, free: 9.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-06/0.49, allocations: 4 kB / 0.4941 GB, free: 9.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.4903, allocations: 109.5 kB / 0.4942 GB, free: 9.105 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4904, allocations: 8 kB / 0.4943 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-06/0.4904, allocations: 0 / 0.4943 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4904, allocations: 128 / 0.4943 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4906, allocations: 31.92 kB / 0.4943 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.4906, allocations: 4 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4907, allocations: 15.84 kB / 0.4943 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.4907, allocations: 12.12 kB / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001019/0.4908, allocations: 110.7 kB / 0.4944 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.4909, allocations: 19.75 kB / 0.4944 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.4912, allocations: 123.1 kB / 0.4946 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-06/0.4912, allocations: 4 kB / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.203e-06/0.4912, allocations: 0 / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.325e-06/0.4913, allocations: 0 / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.4915, allocations: 221.5 kB / 0.4948 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-06/0.4916, allocations: 0 / 0.4948 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4917, allocations: 15.94 kB / 0.4948 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.297e-06/0.4917, allocations: 0 / 0.4948 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4917, allocations: 11.92 kB / 0.4948 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.483e-06/0.4917, allocations: 4 kB / 0.4948 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-06/0.4918, allocations: 0 / 0.4948 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.4922, allocations: 172.8 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/0.4923, allocations: 96.88 kB / 0.4951 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.4923, allocations: 8 kB / 0.4951 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.4924, allocations: 7.984 kB / 0.4951 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.4925, allocations: 4 kB / 0.4951 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4925, allocations: 4 kB / 0.4951 GB, free: 8.148 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.4927, allocations: 149.2 kB / 0.4952 GB, free: 8.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.4927, allocations: 0 / 0.4952 GB, free: 8.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.493, allocations: 28 kB / 0.4953 GB, free: 7.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001424/0.4945, allocations: 414.7 kB / 0.4956 GB, free: 7.699 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4947, allocations: 71.81 kB / 0.4957 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.052e-06/0.4947, allocations: 0 / 0.4957 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.4948, allocations: 35.98 kB / 0.4957 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.4952, allocations: 32.11 kB / 0.4958 GB, free: 7.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.4958, allocations: 217.7 kB / 0.496 GB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.4962, allocations: 0.7245 MB / 0.4967 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.4963, allocations: 15.44 kB / 0.4967 GB, free: 6.555 MB / 426.7 MB Notification: Performance of SimCode: time 1.42e-06/0.4963, allocations: 4 kB / 0.4967 GB, free: 6.551 MB / 426.7 MB Notification: Performance of Templates: time 0.005133/0.5014, allocations: 2.145 MB / 0.4988 GB, free: 4.402 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12Functions.cpp:204: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.Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test12CalcHelperMain.o] Error 1