Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 270 MB / 282.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.866e-05/5.872e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3729, allocations: 61.89 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.512, allocations: 89.05 MB / 497.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5123, allocations: 79.94 kB / 498 MB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02152/0.5338, allocations: 5.24 MB / 0.4914 GB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5338, allocations: 0 / 0.4914 GB, free: 12.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.5339, allocations: 0 / 0.4914 GB, free: 12.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000508/0.5344, allocations: 390.2 kB / 0.4918 GB, free: 11.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5344, allocations: 8.031 kB / 0.4918 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.5345, allocations: 11.91 kB / 0.4918 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.5349, allocations: 202.9 kB / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5349, allocations: 0 / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.5349, allocations: 11.95 kB / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.5351, allocations: 49.61 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-06/0.5351, allocations: 3.938 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5351, allocations: 0 / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.597e-06/0.5351, allocations: 4 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.5352, allocations: 19.98 kB / 0.4921 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.5355, allocations: 181.6 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.5356, allocations: 46.62 kB / 0.4923 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.5357, allocations: 16.86 kB / 0.4923 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.5357, allocations: 0 / 0.4923 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.5359, allocations: 75.38 kB / 0.4924 GB, free: 11.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.444e-06/0.5359, allocations: 0 / 0.4924 GB, free: 11.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002299/0.5361, allocations: 77.59 kB / 0.4925 GB, free: 11.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5362, allocations: 51.41 kB / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.5364, allocations: 159.8 kB / 0.4927 GB, free: 10.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5365, allocations: 29.7 kB / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.5366, allocations: 158.6 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.5366, allocations: 11.89 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-06/0.5366, allocations: 4 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5368, allocations: 314.8 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.5369, allocations: 12 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.5369, allocations: 33.64 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.537, allocations: 16 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-06/0.537, allocations: 0 / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001678/0.5372, allocations: 65.69 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5372, allocations: 7.984 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.295e-06/0.5372, allocations: 4.156 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5373, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5374, allocations: 19.92 kB / 0.4933 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.449e-06/0.5374, allocations: 3.984 kB / 0.4933 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.5375, allocations: 15.97 kB / 0.4933 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5375, allocations: 4 kB / 0.4933 GB, free: 10.07 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 (7): * Single equations (assignments): 7 * 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 8.714e-05/0.5376, allocations: 105 kB / 0.4934 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.5376, allocations: 11.89 kB / 0.4935 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.5379, allocations: 93.72 kB / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5379, allocations: 0 / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-06/0.5379, allocations: 4 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.932e-06/0.5379, allocations: 0 / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.5382, allocations: 189.5 kB / 0.4937 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-06/0.5382, allocations: 4 kB / 0.4937 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.5382, allocations: 7.938 kB / 0.4937 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.954e-06/0.5382, allocations: 3.984 kB / 0.4937 GB, free: 9.594 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5383, allocations: 4 kB / 0.4938 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5383, allocations: 3.953 kB / 0.4938 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-06/0.5383, allocations: 4 kB / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.5385, allocations: 105 kB / 0.4939 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.5386, allocations: 96.91 kB / 0.494 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.5387, allocations: 4 kB / 0.494 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.5387, allocations: 3.938 kB / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.5388, allocations: 7.953 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.5388, allocations: 3.984 kB / 0.494 GB, free: 9.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.539, allocations: 133.5 kB / 0.4941 GB, free: 9.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.539, allocations: 0 / 0.4941 GB, free: 9.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.5393, allocations: 20 kB / 0.4941 GB, free: 9.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001459/0.5408, allocations: 402.5 kB / 0.4945 GB, free: 8.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.5409, allocations: 43.98 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.541, allocations: 0 / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.541, allocations: 19.94 kB / 0.4946 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.5413, allocations: 19.98 kB / 0.4946 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.5417, allocations: 171.6 kB / 0.4947 GB, free: 8.633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.5421, allocations: 0.7044 MB / 0.4954 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.5422, allocations: 15.44 kB / 0.4954 GB, free: 7.887 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5422, allocations: 0 / 0.4954 GB, free: 7.887 MB / 426.7 MB Notification: Performance of Templates: time 0.004179/0.5464, allocations: 1.666 MB / 0.4971 GB, free: 6.219 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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.Test85CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test85CalcHelperMain.o] Error 1