Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.275e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002519/0.1407, allocations: 1.396 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1425, allocations: 0.7219 MB / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.1426, allocations: 0 / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.1429, allocations: 23.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1431, allocations: 39.88 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1435, allocations: 83.75 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1437, allocations: 55.86 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.1438, allocations: 4 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1439, allocations: 31.86 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.144, allocations: 23.91 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1441, allocations: 27.98 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1441, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1442, allocations: 19.86 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.1442, allocations: 8 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1444, allocations: 72.11 kB / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1444, allocations: 0 / 413.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.618e-06/0.1445, allocations: 3.984 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1445, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005679/0.145, allocations: 375.2 kB / 413.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1451, allocations: 15.97 kB / 413.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.1452, allocations: 11.89 kB / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1455, allocations: 195.5 kB / 414 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1455, allocations: 0 / 414 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1455, allocations: 8 kB / 414 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1457, allocations: 53.62 kB / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1458, allocations: 0 / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1458, allocations: 11.92 kB / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1458, allocations: 0 / 414.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1459, allocations: 19.98 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1464, allocations: 288.8 kB / 414.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1466, allocations: 58.61 kB / 414.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1467, allocations: 0 / 414.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.1469, allocations: 67.45 kB / 414.5 MB, free: 9.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.1469, allocations: 0 / 414.5 MB, free: 9.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007691/0.1477, allocations: 173.5 kB / 414.7 MB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1477, allocations: 55.41 kB / 414.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.148, allocations: 145.1 kB / 414.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.148, allocations: 33.69 kB / 414.9 MB, free: 8.652 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.1481, allocations: 158.6 kB / 415.1 MB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1481, allocations: 23.66 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1482, allocations: 4 kB / 415.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1483, allocations: 318.8 kB / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.1484, allocations: 20 kB / 415.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1485, allocations: 33.7 kB / 415.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.1486, allocations: 20 kB / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1487, allocations: 3.953 kB / 415.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002862/0.149, allocations: 97.66 kB / 415.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.149, allocations: 10.81 kB / 415.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.149, allocations: 4 kB / 415.6 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.149, allocations: 8.016 kB / 415.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1492, allocations: 15.98 kB / 415.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1492, allocations: 4 kB / 415.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1493, allocations: 0 / 415.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1493, allocations: 8 kB / 415.6 MB, free: 7.918 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.0001307/0.1495, allocations: 121.8 kB / 415.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1495, allocations: 15.84 kB / 415.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.1496, allocations: 12.72 kB / 415.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1496, allocations: 0 / 415.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1496, allocations: 4 kB / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1496, allocations: 0 / 415.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.1503, allocations: 395.2 kB / 416.2 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.1503, allocations: 4 kB / 416.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.1504, allocations: 11.92 kB / 416.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.1504, allocations: 4 kB / 416.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1504, allocations: 0 / 416.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1504, allocations: 0 / 416.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.1504, allocations: 8.219 kB / 416.2 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1508, allocations: 209.9 kB / 416.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.1509, allocations: 92.94 kB / 416.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.1509, allocations: 8 kB / 416.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.151, allocations: 0 / 416.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1511, allocations: 11.98 kB / 416.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.1511, allocations: 4 kB / 416.5 MB, free: 6.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1513, allocations: 122.2 kB / 416.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1513, allocations: 0 / 416.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.1516, allocations: 24 kB / 416.7 MB, free: 6.777 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.001288/0.1529, allocations: 450.6 kB / 417.1 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.1532, allocations: 59.84 kB / 417.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1533, allocations: 4.062 kB / 417.2 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1534, allocations: 32.08 kB / 417.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1538, allocations: 24.12 kB / 417.2 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.1544, allocations: 243.7 kB / 417.5 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1547, allocations: 0.7004 MB / 418.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.1548, allocations: 19.42 kB / 418.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1548, allocations: 0 / 418.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of Templates: time 0.00522/0.16, allocations: 1.848 MB / 420 MB, free: 3.469 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test2Functions.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.Test2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test2CalcHelperMain.o] Error 1