Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.309e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002594/0.1318, allocations: 1.392 MB / 412.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1337, allocations: 0.7258 MB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.1338, allocations: 0 / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.1341, allocations: 27.84 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1343, allocations: 43.84 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1346, allocations: 75.77 kB / 413.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1348, allocations: 63.86 kB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.242e-05/0.1349, allocations: 7.984 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.135, allocations: 35.86 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.1351, allocations: 27.91 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1353, allocations: 24 kB / 413.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1353, allocations: 7.938 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.1354, allocations: 27.91 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1354, allocations: 4 kB / 413.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.1356, allocations: 100 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1356, allocations: 0 / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1356, allocations: 0 / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1357, allocations: 4 kB / 413.5 MB, free: 10.27 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.0006194/0.1363, allocations: 397.5 kB / 413.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1363, allocations: 8.031 kB / 413.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.1364, allocations: 11.81 kB / 413.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1368, allocations: 214.7 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1368, allocations: 0 / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1368, allocations: 4 kB / 414.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.137, allocations: 61.62 kB / 414.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1371, allocations: 3.938 kB / 414.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1371, allocations: 3.938 kB / 414.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1371, allocations: 3.938 kB / 414.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1372, allocations: 27.98 kB / 414.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.1377, allocations: 288.9 kB / 414.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.138, allocations: 62.62 kB / 414.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.138, allocations: 0 / 414.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.1382, allocations: 67.52 kB / 414.6 MB, free: 8.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.1382, allocations: 0 / 414.6 MB, free: 8.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007348/0.139, allocations: 173.1 kB / 414.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.139, allocations: 59.39 kB / 414.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1394, allocations: 250 kB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.1395, allocations: 33.69 kB / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1396, allocations: 170.6 kB / 415.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.1396, allocations: 23.66 kB / 415.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.1396, allocations: 0 / 415.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1398, allocations: 314.8 kB / 415.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.1399, allocations: 20 kB / 415.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.14, allocations: 33.7 kB / 415.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1401, allocations: 32 kB / 415.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1402, allocations: 3.953 kB / 415.7 MB, free: 7.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002884/0.1405, allocations: 93.67 kB / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1405, allocations: 6.812 kB / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1405, allocations: 0 / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1405, allocations: 0 / 415.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1407, allocations: 23.92 kB / 415.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1407, allocations: 0 / 415.8 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.1408, allocations: 4.031 kB / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1408, allocations: 8 kB / 415.8 MB, free: 7.695 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.0001495/0.141, allocations: 129.8 kB / 416 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.141, allocations: 19.77 kB / 416 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.1411, allocations: 29.38 kB / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1411, allocations: 0 / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1411, allocations: 0 / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1412, allocations: 0 / 416 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.1418, allocations: 407.3 kB / 416.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1418, allocations: 3.938 kB / 416.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.1419, allocations: 8 kB / 416.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1419, allocations: 192 / 416.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1419, allocations: 8 kB / 416.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.142, allocations: 4.312 kB / 416.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.142, allocations: 3.938 kB / 416.4 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.1423, allocations: 225.9 kB / 416.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.1424, allocations: 88.92 kB / 416.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1425, allocations: 8 kB / 416.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1426, allocations: 4 kB / 416.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1426, allocations: 7.984 kB / 416.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1427, allocations: 4 kB / 416.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002882/0.143, allocations: 200.5 kB / 417 MB, free: 6.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.143, allocations: 4 kB / 417 MB, free: 6.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.1433, allocations: 20 kB / 417 MB, free: 6.426 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.001357/0.1447, allocations: 443 kB / 417.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.145, allocations: 59.95 kB / 417.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.145, allocations: 0 / 417.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1451, allocations: 31.92 kB / 417.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1455, allocations: 35.83 kB / 417.5 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.1463, allocations: 320.6 kB / 417.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1467, allocations: 0.7275 MB / 418.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.1467, allocations: 15.44 kB / 418.6 MB, free: 4.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1468, allocations: 0 / 418.6 MB, free: 4.879 MB / 346.7 MB Notification: Performance of Templates: time 0.005746/0.1525, allocations: 2.044 MB / 420.6 MB, free: 2.832 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1Functions.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.Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.o] Error 1