Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.064e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1333, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002527/0.1359, allocations: 1.315 MB / 412.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.1369, allocations: 355.7 kB / 412.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.137, allocations: 4 kB / 412.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.1373, allocations: 79.81 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1375, allocations: 55.84 kB / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1379, allocations: 71.77 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1381, allocations: 59.88 kB / 412.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.1382, allocations: 11.98 kB / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.1383, allocations: 31.92 kB / 412.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1384, allocations: 35.91 kB / 412.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1386, allocations: 35.91 kB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1386, allocations: 4 kB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.1387, allocations: 19.92 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.1387, allocations: 4 kB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1389, allocations: 83.86 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1389, allocations: 0 / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1389, allocations: 0 / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.139, allocations: 0 / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005367/0.1395, allocations: 395.4 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1396, allocations: 11.97 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.1396, allocations: 11.81 kB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1399, allocations: 206.3 kB / 413.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1399, allocations: 8 kB / 413.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1399, allocations: 4 kB / 413.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1402, allocations: 73.56 kB / 413.8 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1402, allocations: 0 / 413.8 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1403, allocations: 11.98 kB / 413.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1403, allocations: 0 / 413.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1405, allocations: 39.97 kB / 413.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.1411, allocations: 332.6 kB / 414.1 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1413, allocations: 66.55 kB / 414.2 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1413, allocations: 7.938 kB / 414.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1414, allocations: 34.5 kB / 414.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.1414, allocations: 0 / 414.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001743/0.1432, allocations: 345.5 kB / 414.6 MB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.1433, allocations: 59.39 kB / 414.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.1436, allocations: 209.4 kB / 414.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1436, allocations: 25.7 kB / 414.9 MB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.1437, allocations: 170.5 kB / 415 MB, free: 8.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.1438, allocations: 39.36 kB / 415.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.1438, allocations: 4 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.144, allocations: 322.8 kB / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.1442, allocations: 39.97 kB / 415.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1443, allocations: 35.98 kB / 415.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1445, allocations: 51.98 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1445, allocations: 3.938 kB / 415.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004588/0.145, allocations: 129.7 kB / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1451, allocations: 6.812 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1451, allocations: 0 / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1451, allocations: 3.984 kB / 415.7 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1453, allocations: 31.98 kB / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1454, allocations: 0 / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1455, allocations: 11.91 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1455, allocations: 4 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001672/0.1457, allocations: 141.7 kB / 415.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.1458, allocations: 11.91 kB / 415.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.1464, allocations: 171.1 kB / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1464, allocations: 0 / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1464, allocations: 0 / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1464, allocations: 0 / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.1474, allocations: 498.9 kB / 416.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1475, allocations: 4 kB / 416.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1477, allocations: 23.98 kB / 416.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.1477, allocations: 4 kB / 416.5 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1477, allocations: 4 kB / 416.5 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.1477, allocations: 7.984 kB / 416.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1477, allocations: 0 / 416.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.1483, allocations: 258.6 kB / 416.8 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.1483, allocations: 92.91 kB / 416.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.1484, allocations: 3.953 kB / 416.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1485, allocations: 12 kB / 416.9 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1486, allocations: 11.98 kB / 416.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1486, allocations: 4 kB / 416.9 MB, free: 6.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.1488, allocations: 176.9 kB / 417.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1489, allocations: 0 / 417.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003753/0.1492, allocations: 28 kB / 417.1 MB, free: 6.289 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001295/0.1506, allocations: 431.8 kB / 417.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.1511, allocations: 103.9 kB / 417.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1511, allocations: 0 / 417.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1513, allocations: 67.84 kB / 417.7 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1516, allocations: 11.98 kB / 417.7 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.1525, allocations: 360.6 kB / 418.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1528, allocations: 0.7199 MB / 418.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.1529, allocations: 19.44 kB / 418.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1529, allocations: 0 / 418.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of Templates: time 0.005778/0.1587, allocations: 2 MB / 420.8 MB, free: 2.652 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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.CombiTable1Ds.Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp23.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test6CalcHelperMain.o] Error 1