Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 269 MB / 284.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.318e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002452/0.1392, allocations: 1.268 MB / 412.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1411, allocations: 0.9176 MB / 413.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.1413, allocations: 4 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.1415, allocations: 15.91 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1416, allocations: 31.84 kB / 413.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.142, allocations: 91.67 kB / 413.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1422, allocations: 47.89 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.1423, allocations: 7.984 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.995e-05/0.1424, allocations: 11.94 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1425, allocations: 19.92 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1427, allocations: 27.98 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1427, allocations: 4 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.1427, allocations: 11.98 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.1428, allocations: 0 / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.143, allocations: 67.83 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.143, allocations: 4 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.59e-06/0.143, allocations: 0 / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.143, allocations: 3.938 kB / 413.4 MB, free: 10.32 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.000513/0.1435, allocations: 359.5 kB / 413.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1436, allocations: 8.031 kB / 413.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1437, allocations: 7.906 kB / 413.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.1439, allocations: 179 kB / 414 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.144, allocations: 0 / 414 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.144, allocations: 4 kB / 414 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.1442, allocations: 71.3 kB / 414.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1443, allocations: 3.906 kB / 414.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1443, allocations: 4 kB / 414.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1443, allocations: 3.938 kB / 414.1 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1445, allocations: 27.97 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.145, allocations: 280.9 kB / 414.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1453, allocations: 46.56 kB / 414.4 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1453, allocations: 7.969 kB / 414.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1454, allocations: 38.55 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.023e-06/0.1454, allocations: 4 kB / 414.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008584/0.1463, allocations: 169.3 kB / 414.6 MB, free: 8.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.1463, allocations: 77.11 kB / 414.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1465, allocations: 125 kB / 414.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1466, allocations: 25.7 kB / 414.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.1467, allocations: 166.5 kB / 415 MB, free: 8.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.1467, allocations: 11.75 kB / 415 MB, free: 8.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1467, allocations: 0 / 415 MB, free: 8.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1469, allocations: 322.8 kB / 415.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.147, allocations: 23.98 kB / 415.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1472, allocations: 37.7 kB / 415.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1473, allocations: 23.98 kB / 415.4 MB, free: 8.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1474, allocations: 7.984 kB / 415.4 MB, free: 8.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003412/0.1477, allocations: 93.59 kB / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1477, allocations: 6.656 kB / 415.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1478, allocations: 0 / 415.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1478, allocations: 0 / 415.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1479, allocations: 16.27 kB / 415.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1479, allocations: 4 kB / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.148, allocations: 8 kB / 415.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.148, allocations: 0 / 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.0001164/0.1482, allocations: 117.8 kB / 415.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.1482, allocations: 11.86 kB / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.1486, allocations: 109.5 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1487, allocations: 0 / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1487, allocations: 0 / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1487, allocations: 4 kB / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.1494, allocations: 358.5 kB / 416.2 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1494, allocations: 0 / 416.2 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1496, allocations: 19.98 kB / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1496, allocations: 0 / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.1496, allocations: 384 / 416.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.1496, allocations: 4 kB / 416.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1496, allocations: 11.81 kB / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.15, allocations: 195.4 kB / 416.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.1501, allocations: 93 kB / 416.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1502, allocations: 0 / 416.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1503, allocations: 4 kB / 416.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1503, allocations: 7.984 kB / 416.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1504, allocations: 4 kB / 416.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1505, allocations: 103.3 kB / 416.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1505, allocations: 0 / 416.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.1508, allocations: 20 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.001276/0.1521, allocations: 421.3 kB / 417 MB, free: 6.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.1525, allocations: 71.89 kB / 417.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1525, allocations: 0 / 417.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.1527, allocations: 31.92 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.000292/0.153, allocations: 19.94 kB / 417.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.1536, allocations: 194.6 kB / 417.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.154, allocations: 0.6987 MB / 418 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.1541, allocations: 15.38 kB / 418 MB, free: 5.457 MB / 346.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1541, allocations: 0 / 418 MB, free: 5.457 MB / 346.7 MB Notification: Performance of Templates: time 0.004957/0.1591, allocations: 1.602 MB / 419.6 MB, free: 3.848 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33Functions.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.Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33CalcHelperMain.o] Error 1