Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.323e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002414/0.1409, allocations: 1.26 MB / 412.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1427, allocations: 0.9254 MB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.1429, allocations: 0 / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1431, allocations: 11.92 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.1432, allocations: 27.84 kB / 413.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1436, allocations: 99.67 kB / 413.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1438, allocations: 43.89 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.1439, allocations: 3.984 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.144, allocations: 15.94 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1441, allocations: 22.73 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1443, allocations: 31.97 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1443, allocations: 4 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.1444, allocations: 4 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1444, allocations: 4 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.1446, allocations: 63.84 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1446, allocations: 0 / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.1446, allocations: 3.984 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1446, allocations: 0 / 413.4 MB, free: 10.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005064/0.1451, allocations: 367.5 kB / 413.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1452, allocations: 8.031 kB / 413.8 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.1453, allocations: 7.906 kB / 413.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1455, allocations: 179 kB / 414 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1455, allocations: 0 / 414 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1456, allocations: 8 kB / 414 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1458, allocations: 63.36 kB / 414.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1458, allocations: 3.906 kB / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1459, allocations: 0 / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1459, allocations: 0 / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.146, allocations: 35.91 kB / 414.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.1466, allocations: 284.9 kB / 414.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1468, allocations: 46.56 kB / 414.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1469, allocations: 3.938 kB / 414.4 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1469, allocations: 46.52 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.147, allocations: 0 / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008632/0.1478, allocations: 165.4 kB / 414.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.1479, allocations: 81.05 kB / 414.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1481, allocations: 125 kB / 414.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1481, allocations: 29.7 kB / 414.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.1482, allocations: 158.5 kB / 415 MB, free: 8.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1482, allocations: 15.75 kB / 415 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.1483, allocations: 0 / 415 MB, free: 8.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1484, allocations: 322.8 kB / 415.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1485, allocations: 23.98 kB / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1487, allocations: 37.7 kB / 415.4 MB, free: 8.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1488, allocations: 28.02 kB / 415.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1489, allocations: 3.953 kB / 415.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003274/0.1492, allocations: 85.66 kB / 415.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1492, allocations: 8 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1492, allocations: 3.938 kB / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1493, allocations: 0 / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1494, allocations: 19.98 kB / 415.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1494, allocations: 0 / 415.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.1495, allocations: 4 kB / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1495, allocations: 8 kB / 415.6 MB, free: 7.98 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 (5): * Single equations (assignments): 5 * 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.0001103/0.1497, allocations: 117.8 kB / 415.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.1497, allocations: 11.86 kB / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.1501, allocations: 105.9 kB / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1501, allocations: 0 / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1502, allocations: 3.938 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1502, allocations: 3.984 kB / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.1508, allocations: 362.5 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1509, allocations: 0 / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.151, allocations: 15.98 kB / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.151, allocations: 0 / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.151, allocations: 384 / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.151, allocations: 0 / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.151, allocations: 0 / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.1514, allocations: 207.2 kB / 416.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.1515, allocations: 89 kB / 416.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1515, allocations: 4 kB / 416.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1516, allocations: 4 kB / 416.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.1517, allocations: 7.984 kB / 416.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.1517, allocations: 4 kB / 416.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1518, allocations: 103.2 kB / 416.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1519, allocations: 0 / 416.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.1522, allocations: 24 kB / 416.6 MB, free: 6.828 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 (5): * Single equations (assignments): 5 * 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.001271/0.1535, allocations: 417.8 kB / 417 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.1539, allocations: 67.89 kB / 417.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1539, allocations: 4 kB / 417.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1541, allocations: 27.98 kB / 417.1 MB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1544, allocations: 19.88 kB / 417.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.155, allocations: 198.6 kB / 417.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1553, allocations: 0.6926 MB / 418 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.1554, allocations: 15.44 kB / 418 MB, free: 5.465 MB / 346.7 MB Notification: Performance of SimCode: time 3.747e-06/0.1554, allocations: 0 / 418 MB, free: 5.465 MB / 346.7 MB Notification: Performance of Templates: time 0.004751/0.1601, allocations: 1.6 MB / 419.6 MB, free: 3.859 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19Functions.cpp:208: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.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19CalcHelperMain.o] Error 1