Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.252e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.0024/0.1396, allocations: 1.272 MB / 412.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1416, allocations: 0.9332 MB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.1417, allocations: 4 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1419, allocations: 15.92 kB / 413.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1421, allocations: 27.83 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.1425, allocations: 95.67 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1427, allocations: 59.94 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.1428, allocations: 11.98 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.1428, allocations: 15.94 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.143, allocations: 26.72 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1431, allocations: 31.92 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1432, allocations: 8 kB / 413.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1432, allocations: 11.98 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.1432, allocations: 4 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1434, allocations: 71.81 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1435, allocations: 0 / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1435, allocations: 0 / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1435, allocations: 0 / 413.5 MB, free: 10.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005219/0.144, allocations: 371.5 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1441, allocations: 8.031 kB / 413.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.1441, allocations: 15.89 kB / 413.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1444, allocations: 186.9 kB / 414.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1444, allocations: 4 kB / 414.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1445, allocations: 4 kB / 414.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1447, allocations: 87.27 kB / 414.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1448, allocations: 3.938 kB / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1448, allocations: 0 / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.1448, allocations: 0 / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.145, allocations: 47.91 kB / 414.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.1456, allocations: 308.8 kB / 414.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1458, allocations: 58.5 kB / 414.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1458, allocations: 3.984 kB / 414.6 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1459, allocations: 38.69 kB / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.854e-06/0.1459, allocations: 0 / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001027/0.1469, allocations: 209.2 kB / 414.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.147, allocations: 77.11 kB / 414.9 MB, free: 8.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1472, allocations: 129 kB / 415 MB, free: 8.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1472, allocations: 29.7 kB / 415.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.1473, allocations: 158.6 kB / 415.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1474, allocations: 35.55 kB / 415.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.1474, allocations: 0 / 415.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1475, allocations: 314.8 kB / 415.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1477, allocations: 35.97 kB / 415.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1479, allocations: 45.64 kB / 415.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1481, allocations: 44 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1481, allocations: 0 / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003815/0.1485, allocations: 105.6 kB / 415.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1485, allocations: 8 kB / 415.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1485, allocations: 4 kB / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1485, allocations: 0 / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1487, allocations: 19.98 kB / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1488, allocations: 0 / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1489, allocations: 8 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1489, allocations: 4 kB / 415.8 MB, free: 7.723 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 (8): * Single equations (assignments): 8 * 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.0001274/0.1491, allocations: 125.7 kB / 415.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1491, allocations: 11.91 kB / 416 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004909/0.1496, allocations: 130.3 kB / 416.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1496, allocations: 0 / 416.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.1496, allocations: 4 kB / 416.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1497, allocations: 0 / 416.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.1505, allocations: 418.3 kB / 416.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1505, allocations: 0 / 416.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1506, allocations: 12 kB / 416.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-06/0.1507, allocations: 11.92 kB / 416.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1507, allocations: 8 kB / 416.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1507, allocations: 0 / 416.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1507, allocations: 3.938 kB / 416.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1512, allocations: 211.3 kB / 416.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.1512, allocations: 89 kB / 416.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1513, allocations: 8 kB / 416.8 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1514, allocations: 4 kB / 416.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.1515, allocations: 11.98 kB / 416.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1515, allocations: 0 / 416.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1516, allocations: 111.8 kB / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1516, allocations: 0 / 417 MB, free: 6.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.152, allocations: 23.98 kB / 417 MB, free: 6.457 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001277/0.1533, allocations: 434.5 kB / 417.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.1538, allocations: 83.89 kB / 417.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.1538, allocations: 4 kB / 417.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.154, allocations: 39.97 kB / 417.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1543, allocations: 19.95 kB / 417.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.1549, allocations: 234.8 kB / 417.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1553, allocations: 0.7043 MB / 418.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.1554, allocations: 23.42 kB / 418.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1554, allocations: 0 / 418.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of Templates: time 0.005379/0.1608, allocations: 1.8 MB / 420.3 MB, free: 3.188 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18Functions.cpp:208:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp21.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.CombiTable1Dv.Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test18CalcHelperMain.o] Error 1