Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.289e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002588/0.1407, allocations: 1.388 MB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1425, allocations: 0.7258 MB / 413.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.1426, allocations: 3.938 kB / 413.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1429, allocations: 27.84 kB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1431, allocations: 39.86 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1434, allocations: 83.75 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1436, allocations: 55.88 kB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.1437, allocations: 4 kB / 413.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1438, allocations: 39.84 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.808e-05/0.1439, allocations: 19.92 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.144, allocations: 31.97 kB / 413.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.144, allocations: 4 kB / 413.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.1441, allocations: 19.92 kB / 413.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.1441, allocations: 4 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1444, allocations: 100 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1444, allocations: 4 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1444, allocations: 0 / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1444, allocations: 0 / 413.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000588/0.145, allocations: 387.1 kB / 413.9 MB, free: 9.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1451, allocations: 8.031 kB / 413.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.1451, allocations: 11.81 kB / 413.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1454, allocations: 202.9 kB / 414.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1455, allocations: 0 / 414.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.1455, allocations: 4 kB / 414.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1457, allocations: 61.62 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1457, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1458, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1458, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.1459, allocations: 35.86 kB / 414.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.1464, allocations: 292.8 kB / 414.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1466, allocations: 58.67 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1467, allocations: 4 kB / 414.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1469, allocations: 71.39 kB / 414.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.1469, allocations: 0 / 414.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007354/0.1476, allocations: 173.1 kB / 414.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1477, allocations: 51.41 kB / 414.8 MB, free: 8.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.148, allocations: 210.3 kB / 415 MB, free: 8.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.148, allocations: 25.7 kB / 415 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1482, allocations: 170.6 kB / 415.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.1482, allocations: 27.64 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1482, allocations: 0 / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1484, allocations: 314.8 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.1485, allocations: 19.98 kB / 415.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1486, allocations: 37.7 kB / 415.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.1487, allocations: 24.06 kB / 415.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1488, allocations: 3.953 kB / 415.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002788/0.149, allocations: 105.5 kB / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1491, allocations: 4 kB / 415.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1491, allocations: 0 / 415.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1491, allocations: 0 / 415.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1493, allocations: 19.98 kB / 415.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1493, allocations: 32 / 415.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.1494, allocations: 8 kB / 415.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.1494, allocations: 4 kB / 415.8 MB, free: 7.809 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000143/0.1496, allocations: 132.2 kB / 415.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1496, allocations: 15.86 kB / 415.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.494e-05/0.1497, allocations: 17.41 kB / 415.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1497, allocations: 4 kB / 415.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1497, allocations: 0 / 415.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1497, allocations: 3.984 kB / 415.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.1504, allocations: 403.2 kB / 416.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1504, allocations: 0 / 416.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.1505, allocations: 8 kB / 416.3 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1505, allocations: 0 / 416.3 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1505, allocations: 11.92 kB / 416.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1505, allocations: 384 / 416.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1505, allocations: 0 / 416.3 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1509, allocations: 221.9 kB / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.151, allocations: 89.11 kB / 416.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.1511, allocations: 12 kB / 416.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1512, allocations: 7.922 kB / 416.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1512, allocations: 4 kB / 416.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.1513, allocations: 7.984 kB / 416.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.1515, allocations: 172.3 kB / 416.8 MB, free: 6.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1515, allocations: 0 / 416.8 MB, free: 6.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.1519, allocations: 28 kB / 416.9 MB, free: 6.578 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001354/0.1532, allocations: 446.9 kB / 417.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1535, allocations: 51.92 kB / 417.4 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.1535, allocations: 0 / 417.4 MB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1536, allocations: 39.86 kB / 417.4 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.154, allocations: 24.3 kB / 417.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.1547, allocations: 303.8 kB / 417.7 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1551, allocations: 0.7082 MB / 418.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.1552, allocations: 19.44 kB / 418.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1552, allocations: 0 / 418.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of Templates: time 0.005956/0.1612, allocations: 1.966 MB / 420.4 MB, free: 3.102 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54.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.CombiTimeTable.Test54CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54Functions.cpp:244:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp18.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test54CalcHelperMain.o] Error 1