Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.441e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002522/0.1357, allocations: 1.384 MB / 412.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1376, allocations: 0.7297 MB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1377, allocations: 0 / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.138, allocations: 31.78 kB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1383, allocations: 39.86 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1387, allocations: 79.75 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1389, allocations: 51.89 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.139, allocations: 7.984 kB / 413.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1391, allocations: 43.84 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.564e-05/0.1392, allocations: 15.92 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1394, allocations: 27.98 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1394, allocations: 4 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.1395, allocations: 15.92 kB / 413.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.1395, allocations: 7.938 kB / 413.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.1397, allocations: 92.08 kB / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1398, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1398, allocations: 0 / 413.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1398, allocations: 4 kB / 413.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006128/0.1404, allocations: 375.1 kB / 413.8 MB, free: 9.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1405, allocations: 12.03 kB / 413.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.1406, allocations: 7.906 kB / 413.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1409, allocations: 198.9 kB / 414 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1409, allocations: 3.984 kB / 414 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.141, allocations: 7.938 kB / 414.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1412, allocations: 61.62 kB / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1412, allocations: 0 / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1412, allocations: 0 / 414.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1412, allocations: 3.938 kB / 414.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1414, allocations: 19.98 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.1419, allocations: 284.8 kB / 414.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.1422, allocations: 66.56 kB / 414.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1422, allocations: 0 / 414.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1424, allocations: 67.5 kB / 414.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.1424, allocations: 0 / 414.5 MB, free: 9.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008056/0.1433, allocations: 173.4 kB / 414.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1433, allocations: 55.41 kB / 414.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1436, allocations: 185.9 kB / 414.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1436, allocations: 25.7 kB / 415 MB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.1437, allocations: 158.6 kB / 415.1 MB, free: 8.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.1438, allocations: 19.72 kB / 415.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.1438, allocations: 4 kB / 415.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1439, allocations: 318.8 kB / 415.5 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.144, allocations: 19.94 kB / 415.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1442, allocations: 37.7 kB / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1443, allocations: 27.98 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1443, allocations: 3.953 kB / 415.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002872/0.1446, allocations: 89.61 kB / 415.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1446, allocations: 10.81 kB / 415.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1446, allocations: 0 / 415.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1447, allocations: 0 / 415.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1448, allocations: 19.98 kB / 415.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1449, allocations: 4.156 kB / 415.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.145, allocations: 4.031 kB / 415.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.145, allocations: 4 kB / 415.7 MB, free: 7.906 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.0001442/0.1452, allocations: 125.8 kB / 415.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1452, allocations: 15.77 kB / 415.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.1453, allocations: 20.7 kB / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1453, allocations: 0 / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1453, allocations: 0 / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1453, allocations: 7.922 kB / 415.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.146, allocations: 387.4 kB / 416.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.146, allocations: 0 / 416.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.1461, allocations: 15.94 kB / 416.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1461, allocations: 3.938 kB / 416.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1461, allocations: 0 / 416.2 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1461, allocations: 4 kB / 416.2 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1461, allocations: 4.172 kB / 416.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.1465, allocations: 222 kB / 416.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.1466, allocations: 88.86 kB / 416.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.1466, allocations: 4 kB / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.1468, allocations: 8 kB / 416.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.1468, allocations: 7.922 kB / 416.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1469, allocations: 4 kB / 416.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1471, allocations: 139.2 kB / 416.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1471, allocations: 4 kB / 416.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.1474, allocations: 24 kB / 416.7 MB, free: 6.727 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.001335/0.1488, allocations: 447.7 kB / 417.2 MB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.1491, allocations: 51.92 kB / 417.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1491, allocations: 3.938 kB / 417.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1493, allocations: 31.98 kB / 417.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1497, allocations: 24.11 kB / 417.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.1503, allocations: 260 kB / 417.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1507, allocations: 0.7083 MB / 418.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.1508, allocations: 19.42 kB / 418.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1508, allocations: 0 / 418.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of Templates: time 0.005571/0.1564, allocations: 1.891 MB / 420.2 MB, free: 3.359 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29Functions.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.Test29CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test29CalcHelperMain.o] Error 1