Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.513e-05, allocations: 8 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3314, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5128, allocations: 89.31 MB / 498.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.513, allocations: 71.97 kB / 498.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02315/0.5362, allocations: 5.791 MB / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.139e-06/0.5362, allocations: 0 / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.5363, allocations: 8 kB / 0.4922 GB, free: 11.48 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.0006722/0.537, allocations: 434 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.537, allocations: 8.031 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.5371, allocations: 11.91 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.5376, allocations: 254.3 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.5376, allocations: 11.94 kB / 0.4929 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.5377, allocations: 12 kB / 0.4929 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.5379, allocations: 93.09 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.894e-06/0.5379, allocations: 0 / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.5379, allocations: 0 / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-06/0.538, allocations: 0 / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.5381, allocations: 35.92 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.5384, allocations: 218.5 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.5387, allocations: 101.3 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.5388, allocations: 37.67 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.5388, allocations: 3.984 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.5391, allocations: 113.1 kB / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.688e-06/0.5391, allocations: 0 / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003893/0.5395, allocations: 133.4 kB / 0.4936 GB, free: 9.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.5396, allocations: 128.5 kB / 0.4937 GB, free: 9.684 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.5399, allocations: 199.1 kB / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5399, allocations: 29.7 kB / 0.494 GB, free: 9.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5401, allocations: 174.6 kB / 0.4941 GB, free: 9.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.5401, allocations: 23.66 kB / 0.4941 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.402e-06/0.5401, allocations: 0 / 0.4941 GB, free: 9.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5403, allocations: 322.8 kB / 0.4945 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.5404, allocations: 24 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.5406, allocations: 73.08 kB / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.5407, allocations: 32.02 kB / 0.4946 GB, free: 8.781 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-06/0.5407, allocations: 0 / 0.4946 GB, free: 8.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002913/0.541, allocations: 125.5 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.541, allocations: 4 kB / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.773e-06/0.541, allocations: 0 / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.541, allocations: 4 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.5412, allocations: 23.92 kB / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5412, allocations: 8.312 kB / 0.4947 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.5414, allocations: 15.89 kB / 0.4948 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.5414, allocations: 8 kB / 0.4948 GB, free: 8.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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.0001191/0.5415, allocations: 116.9 kB / 0.4949 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.5416, allocations: 23.7 kB / 0.4949 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.542, allocations: 146.6 kB / 0.495 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.542, allocations: 7.984 kB / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.542, allocations: 0 / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-06/0.542, allocations: 4 kB / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.5423, allocations: 221.6 kB / 0.4953 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-06/0.5423, allocations: 0 / 0.4953 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.5424, allocations: 8 kB / 0.4953 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.405e-06/0.5424, allocations: 4 kB / 0.4953 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.5425, allocations: 7.953 kB / 0.4953 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.972e-06/0.5425, allocations: 3.984 kB / 0.4953 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.733e-06/0.5425, allocations: 7.938 kB / 0.4953 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.5429, allocations: 175.5 kB / 0.4955 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.543, allocations: 104.9 kB / 0.4956 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.425e-05/0.5431, allocations: 7.938 kB / 0.4956 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5432, allocations: 7.984 kB / 0.4956 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.5432, allocations: 12 kB / 0.4956 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.5433, allocations: 11.92 kB / 0.4956 GB, free: 7.621 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.5435, allocations: 161.5 kB / 0.4957 GB, free: 7.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5435, allocations: 4 kB / 0.4957 GB, free: 7.461 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000372/0.5439, allocations: 47.84 kB / 0.4958 GB, free: 7.414 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001598/0.5455, allocations: 462.8 kB / 0.4962 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.5458, allocations: 83.86 kB / 0.4963 GB, free: 7.016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.088e-06/0.5458, allocations: 3.938 kB / 0.4963 GB, free: 7.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.5459, allocations: 44.06 kB / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.5463, allocations: 51.73 kB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.5469, allocations: 205.5 kB / 0.4966 GB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.5473, allocations: 0.7244 MB / 0.4973 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.787e-05/0.5474, allocations: 27.42 kB / 0.4973 GB, free: 5.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.49e-06/0.5474, allocations: 0 / 0.4973 GB, free: 5.91 MB / 426.7 MB Notification: Performance of Templates: time 0.006135/0.5536, allocations: 2.699 MB / 0.5 GB, free: 3.219 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81Functions.cpp:216:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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.Test81CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.o] Error 1