Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.981e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002385/0.1328, allocations: 1.272 MB / 412.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1347, allocations: 0.9176 MB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.1348, allocations: 0 / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.135, allocations: 23.91 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1352, allocations: 27.83 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1356, allocations: 87.75 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1358, allocations: 35.95 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.1359, allocations: 7.938 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.136, allocations: 19.97 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1361, allocations: 19.92 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1363, allocations: 35.98 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1363, allocations: 0 / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1364, allocations: 7.938 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.1364, allocations: 4 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1366, allocations: 63.83 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1366, allocations: 0 / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1366, allocations: 0 / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1367, allocations: 0 / 413.4 MB, free: 10.33 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.0005398/0.1372, allocations: 375.5 kB / 413.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1373, allocations: 8.031 kB / 413.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.1374, allocations: 11.84 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1376, allocations: 175.1 kB / 414 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1377, allocations: 3.938 kB / 414 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1377, allocations: 0 / 414 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1379, allocations: 71.34 kB / 414.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1379, allocations: 3.906 kB / 414.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.138, allocations: 4 kB / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.138, allocations: 4 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1381, allocations: 27.98 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.1387, allocations: 284.8 kB / 414.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.139, allocations: 46.56 kB / 414.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.139, allocations: 0 / 414.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.139, allocations: 34.5 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.139, allocations: 0 / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008848/0.1399, allocations: 173.4 kB / 414.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.14, allocations: 77.11 kB / 414.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.1402, allocations: 125 kB / 414.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1403, allocations: 25.7 kB / 414.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.1404, allocations: 166.5 kB / 415 MB, free: 8.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1404, allocations: 19.75 kB / 415 MB, free: 8.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1404, allocations: 0 / 415 MB, free: 8.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1406, allocations: 310.8 kB / 415.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1407, allocations: 23.98 kB / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1409, allocations: 45.62 kB / 415.4 MB, free: 8.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.141, allocations: 31.98 kB / 415.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.141, allocations: 3.953 kB / 415.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003571/0.1414, allocations: 85.7 kB / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1415, allocations: 14.48 kB / 415.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1415, allocations: 0 / 415.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1415, allocations: 0 / 415.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1416, allocations: 12 kB / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1416, allocations: 0 / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.1417, allocations: 7.984 kB / 415.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1418, allocations: 4 kB / 415.6 MB, free: 7.977 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.000117/0.1419, allocations: 121.8 kB / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.1419, allocations: 7.859 kB / 415.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.1423, allocations: 105.6 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1424, allocations: 0 / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1424, allocations: 0 / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1424, allocations: 0 / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000668/0.1431, allocations: 370.8 kB / 416.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1431, allocations: 0 / 416.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1432, allocations: 23.98 kB / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1432, allocations: 0 / 416.2 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1433, allocations: 4 kB / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1433, allocations: 0 / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.1433, allocations: 0 / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.1437, allocations: 199.3 kB / 416.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.1438, allocations: 85.02 kB / 416.5 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1438, allocations: 3.938 kB / 416.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1439, allocations: 11.98 kB / 416.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.144, allocations: 4 kB / 416.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.144, allocations: 4 kB / 416.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1441, allocations: 103.2 kB / 416.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1441, allocations: 0 / 416.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.1445, allocations: 20 kB / 416.6 MB, free: 6.824 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.001284/0.1458, allocations: 426.9 kB / 417 MB, free: 6.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.1462, allocations: 55.97 kB / 417.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1462, allocations: 0 / 417.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.1464, allocations: 39.91 kB / 417.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1467, allocations: 23.83 kB / 417.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.1472, allocations: 198.6 kB / 417.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1476, allocations: 0.6926 MB / 418 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.1477, allocations: 19.42 kB / 418 MB, free: 5.449 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1477, allocations: 4 kB / 418.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of Templates: time 0.004835/0.1525, allocations: 1.596 MB / 419.6 MB, free: 3.844 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24Functions.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.Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24CalcHelperMain.o] Error 1