Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.049e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002704/0.1347, allocations: 1.407 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1366, allocations: 0.7258 MB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1368, allocations: 7.938 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1371, allocations: 75.77 kB / 413.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1374, allocations: 55.84 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.1378, allocations: 79.75 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.138, allocations: 67.86 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.1381, allocations: 4 kB / 413.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1382, allocations: 39.84 kB / 413.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1384, allocations: 35.91 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1386, allocations: 51.84 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1386, allocations: 8 kB / 413.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.1387, allocations: 15.98 kB / 413.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1387, allocations: 7.938 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.1389, allocations: 100.1 kB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.139, allocations: 0 / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.139, allocations: 0 / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.139, allocations: 0 / 413.6 MB, free: 10.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000599/0.1396, allocations: 383.1 kB / 414 MB, free: 9.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1397, allocations: 12.03 kB / 414 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1397, allocations: 15.81 kB / 414 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.14, allocations: 214.3 kB / 414.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1401, allocations: 4 kB / 414.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1401, allocations: 4 kB / 414.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1403, allocations: 69.55 kB / 414.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1403, allocations: 3.938 kB / 414.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1404, allocations: 0 / 414.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1404, allocations: 0 / 414.3 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1405, allocations: 23.98 kB / 414.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.141, allocations: 304.7 kB / 414.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.1413, allocations: 66.48 kB / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1414, allocations: 0 / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1416, allocations: 67.52 kB / 414.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.1416, allocations: 4 kB / 414.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001064/0.1427, allocations: 241.1 kB / 415 MB, free: 8.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1427, allocations: 51.41 kB / 415 MB, free: 8.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.143, allocations: 197.4 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1431, allocations: 25.7 kB / 415.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.1432, allocations: 166.6 kB / 415.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1432, allocations: 31.55 kB / 415.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1432, allocations: 8 kB / 415.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1434, allocations: 318.8 kB / 415.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1435, allocations: 35.86 kB / 415.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1436, allocations: 53.7 kB / 415.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1438, allocations: 28 kB / 415.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1438, allocations: 0 / 415.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003341/0.1441, allocations: 117.6 kB / 416 MB, free: 7.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1442, allocations: 14.78 kB / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1442, allocations: 0 / 416 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1442, allocations: 4 kB / 416 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1444, allocations: 19.98 kB / 416 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1444, allocations: 0 / 416 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.1445, allocations: 4 kB / 416 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1445, allocations: 4 kB / 416 MB, free: 7.52 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 (13): * Single equations (assignments): 13 * 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.0001419/0.1447, allocations: 141.7 kB / 416.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1447, allocations: 7.906 kB / 416.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.1448, allocations: 29.39 kB / 416.2 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1448, allocations: 3.938 kB / 416.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1448, allocations: 0 / 416.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1448, allocations: 0 / 416.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.1456, allocations: 452 kB / 416.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1456, allocations: 96 / 416.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.1457, allocations: 23.94 kB / 416.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.1458, allocations: 0 / 416.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1458, allocations: 8 kB / 416.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1458, allocations: 0.7031 kB / 416.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1458, allocations: 0 / 416.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1462, allocations: 260.4 kB / 416.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.1463, allocations: 89.02 kB / 417 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1464, allocations: 7.984 kB / 417 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1465, allocations: 15.89 kB / 417.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1465, allocations: 7.984 kB / 417.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.1466, allocations: 4 kB / 417.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.1468, allocations: 157 kB / 417.2 MB, free: 6.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1468, allocations: 4 kB / 417.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.1472, allocations: 27.98 kB / 417.3 MB, free: 6.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001468/0.1486, allocations: 487.6 kB / 417.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.149, allocations: 87.78 kB / 417.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.149, allocations: 0 / 417.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1491, allocations: 39.92 kB / 417.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1495, allocations: 25.86 kB / 417.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.1502, allocations: 317.3 kB / 418.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1506, allocations: 0.7199 MB / 418.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.1507, allocations: 23.42 kB / 418.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1507, allocations: 0 / 418.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of Templates: time 0.005892/0.1566, allocations: 2.175 MB / 421.1 MB, free: 2.402 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test4Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp20.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.Test4CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.o] Error 1