Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 269 MB / 284.1 MB, free: 3.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.915e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1344, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002374/0.1369, allocations: 1.284 MB / 412.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.1379, allocations: 351.8 kB / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.138, allocations: 0 / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1382, allocations: 63.83 kB / 412.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1384, allocations: 51.86 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1388, allocations: 91.73 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.139, allocations: 47.89 kB / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.1391, allocations: 7.984 kB / 412.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.1391, allocations: 19.98 kB / 412.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1393, allocations: 39.84 kB / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1394, allocations: 31.92 kB / 412.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1394, allocations: 8 kB / 412.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.1395, allocations: 19.97 kB / 412.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.1395, allocations: 7.938 kB / 412.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1397, allocations: 59.91 kB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1397, allocations: 0 / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1397, allocations: 0 / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1398, allocations: 0 / 413 MB, free: 10.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004962/0.1403, allocations: 383.4 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1403, allocations: 11.97 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.1404, allocations: 11.91 kB / 413.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.1406, allocations: 190.9 kB / 413.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1407, allocations: 4 kB / 413.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1407, allocations: 4 kB / 413.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1409, allocations: 65.56 kB / 413.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1409, allocations: 3.938 kB / 413.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.141, allocations: 0 / 413.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.141, allocations: 0 / 413.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.1411, allocations: 39.95 kB / 413.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.1417, allocations: 300.7 kB / 414 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1419, allocations: 50.5 kB / 414 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1419, allocations: 4 kB / 414 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.142, allocations: 30.56 kB / 414.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.142, allocations: 0 / 414.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001373/0.1434, allocations: 269.3 kB / 414.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1434, allocations: 55.41 kB / 414.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.1437, allocations: 194 kB / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1437, allocations: 25.7 kB / 414.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.1438, allocations: 162.6 kB / 414.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1439, allocations: 31.55 kB / 414.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.1439, allocations: 0 / 414.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.144, allocations: 318.8 kB / 415.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1442, allocations: 31.98 kB / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1443, allocations: 35.97 kB / 415.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1445, allocations: 35.98 kB / 415.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1445, allocations: 3.938 kB / 415.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003764/0.1449, allocations: 121.9 kB / 415.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1449, allocations: 6.812 kB / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.145, allocations: 0 / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.145, allocations: 0 / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1452, allocations: 23.92 kB / 415.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1452, allocations: 0 / 415.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.1453, allocations: 7.984 kB / 415.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1453, allocations: 8 kB / 415.4 MB, free: 8.176 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.0001496/0.1455, allocations: 137.7 kB / 415.5 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.1455, allocations: 11.81 kB / 415.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.146, allocations: 126.4 kB / 415.6 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.146, allocations: 8 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.146, allocations: 0 / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1461, allocations: 0 / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.1469, allocations: 427.2 kB / 416.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1469, allocations: 4.031 kB / 416.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.147, allocations: 19.98 kB / 416.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.147, allocations: 4 kB / 416.1 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1471, allocations: 4 kB / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1471, allocations: 3.938 kB / 416.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1471, allocations: 3.938 kB / 416.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004306/0.1475, allocations: 233.9 kB / 416.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.1476, allocations: 89 kB / 416.4 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.1476, allocations: 0 / 416.4 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1478, allocations: 12 kB / 416.4 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.1478, allocations: 15.94 kB / 416.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.1479, allocations: 0 / 416.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.1481, allocations: 155.2 kB / 416.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1481, allocations: 0 / 416.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.1484, allocations: 27.98 kB / 416.6 MB, free: 6.801 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 (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.001268/0.1497, allocations: 440.3 kB / 417.1 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.1501, allocations: 79.95 kB / 417.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1501, allocations: 0 / 417.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.1503, allocations: 43.92 kB / 417.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1506, allocations: 23.92 kB / 417.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006966/0.1513, allocations: 300.2 kB / 417.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1517, allocations: 0.7082 MB / 418.2 MB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1517, allocations: 19.44 kB / 418.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1517, allocations: 0 / 418.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of Templates: time 0.004991/0.1568, allocations: 1.761 MB / 420 MB, free: 3.496 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp17.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.Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15CalcHelperMain.o] Error 1