Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270 MB / 282.7 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.722e-05, allocations: 7.984 kB / 347 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3315, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.5477, allocations: 89.34 MB / 498.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/0.5483, allocations: 79.97 kB / 498.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03571/0.584, allocations: 6.214 MB / 0.4927 GB, free: 11.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.067e-06/0.584, allocations: 0 / 0.4927 GB, free: 11.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.5841, allocations: 4 kB / 0.4927 GB, free: 11.03 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005962/0.5847, allocations: 418.2 kB / 0.4931 GB, free: 10.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.5848, allocations: 12.03 kB / 0.4931 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.5848, allocations: 15.8 kB / 0.4931 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.5853, allocations: 230.6 kB / 0.4933 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5853, allocations: 7.953 kB / 0.4933 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.5853, allocations: 8 kB / 0.4933 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.5855, allocations: 65.55 kB / 0.4934 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5855, allocations: 3.938 kB / 0.4934 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.5856, allocations: 4 kB / 0.4934 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-06/0.5856, allocations: 4 kB / 0.4934 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5857, allocations: 35.97 kB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.5863, allocations: 328.8 kB / 0.4937 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.5866, allocations: 74.5 kB / 0.4938 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.5867, allocations: 29.02 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5867, allocations: 7.984 kB / 0.4939 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.5869, allocations: 75.36 kB / 0.4939 GB, free: 9.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.853e-06/0.5869, allocations: 4 kB / 0.4939 GB, free: 9.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007623/0.5877, allocations: 232.9 kB / 0.4942 GB, free: 9.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5878, allocations: 55.41 kB / 0.4942 GB, free: 9.266 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.5881, allocations: 229.6 kB / 0.4944 GB, free: 9.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.5882, allocations: 25.7 kB / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.5883, allocations: 178.5 kB / 0.4946 GB, free: 8.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.5884, allocations: 43.44 kB / 0.4947 GB, free: 8.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-06/0.5884, allocations: 0 / 0.4947 GB, free: 8.777 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5886, allocations: 322.8 kB / 0.495 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.5887, allocations: 35.94 kB / 0.495 GB, free: 8.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.5888, allocations: 45.7 kB / 0.495 GB, free: 8.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.5889, allocations: 43.97 kB / 0.4951 GB, free: 8.324 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-06/0.5889, allocations: 4 kB / 0.4951 GB, free: 8.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002964/0.5892, allocations: 121.7 kB / 0.4952 GB, free: 8.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5893, allocations: 8 kB / 0.4952 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-06/0.5893, allocations: 0 / 0.4952 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5893, allocations: 0 / 0.4952 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5894, allocations: 27.92 kB / 0.4952 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.916e-06/0.5895, allocations: 0 / 0.4952 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.725e-05/0.5896, allocations: 8 kB / 0.4952 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.5896, allocations: 4 kB / 0.4953 GB, free: 8.148 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 (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.0001124/0.5897, allocations: 120.9 kB / 0.4954 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.5898, allocations: 15.81 kB / 0.4954 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.5902, allocations: 179.3 kB / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-06/0.5902, allocations: 0 / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.396e-06/0.5902, allocations: 0 / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-06/0.5903, allocations: 3.938 kB / 0.4956 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.5911, allocations: 0.4922 MB / 0.496 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.675e-06/0.5911, allocations: 4 kB / 0.496 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.5913, allocations: 23.98 kB / 0.4961 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-06/0.5913, allocations: 4 kB / 0.4961 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5913, allocations: 3.938 kB / 0.4961 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.099e-06/0.5913, allocations: 7.938 kB / 0.4961 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.749e-06/0.5913, allocations: 3.953 kB / 0.4961 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.5918, allocations: 268.5 kB / 0.4963 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5919, allocations: 108.9 kB / 0.4964 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.5919, allocations: 4 kB / 0.4964 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5921, allocations: 7.984 kB / 0.4965 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.5921, allocations: 11.92 kB / 0.4965 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.5922, allocations: 16 kB / 0.4965 GB, free: 6.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002481/0.5924, allocations: 184.5 kB / 0.4967 GB, free: 6.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.5924, allocations: 0 / 0.4967 GB, free: 6.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004303/0.5929, allocations: 43.94 kB / 0.4967 GB, free: 6.535 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 (14): * Single equations (assignments): 12 * 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.001822/0.5947, allocations: 0.5116 MB / 0.4972 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.595, allocations: 87.88 kB / 0.4973 GB, free: 6.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.291e-06/0.595, allocations: 0 / 0.4973 GB, free: 6.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.5952, allocations: 47.92 kB / 0.4973 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.5956, allocations: 36.3 kB / 0.4974 GB, free: 6.012 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.5962, allocations: 274.2 kB / 0.4976 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.5967, allocations: 0.7359 MB / 0.4983 GB, free: 4.945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.5968, allocations: 19.44 kB / 0.4984 GB, free: 4.926 MB / 426.7 MB Notification: Performance of SimCode: time 1.358e-06/0.5968, allocations: 4 kB / 0.4984 GB, free: 4.922 MB / 426.7 MB Notification: Performance of Templates: time 0.005599/0.6024, allocations: 2.466 MB / 0.5008 GB, free: 2.465 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp7.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.Test8CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.o] Error 1