Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.97e-05, allocations: 8 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002547/0.1385, allocations: 1.396 MB / 412.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1403, allocations: 0.7258 MB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.1404, allocations: 0 / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1407, allocations: 27.78 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1409, allocations: 31.89 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1413, allocations: 79.75 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1415, allocations: 55.86 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.1416, allocations: 4 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1417, allocations: 35.84 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.1418, allocations: 23.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1419, allocations: 27.98 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1419, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.142, allocations: 23.91 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.142, allocations: 4 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1422, allocations: 80.05 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1423, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1423, allocations: 4 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1423, allocations: 0 / 413.4 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.0005808/0.1429, allocations: 379.1 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1429, allocations: 12.03 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.143, allocations: 11.89 kB / 413.8 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1434, allocations: 202.8 kB / 414 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1434, allocations: 8 kB / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1434, allocations: 0 / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1436, allocations: 57.62 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1437, allocations: 3.984 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1437, allocations: 0 / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1437, allocations: 4 kB / 414.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1438, allocations: 27.92 kB / 414.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.1443, allocations: 288.8 kB / 414.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1446, allocations: 58.56 kB / 414.5 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1446, allocations: 4 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.1448, allocations: 67.52 kB / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1448, allocations: 0 / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007498/0.1456, allocations: 169.2 kB / 414.7 MB, free: 8.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1456, allocations: 51.41 kB / 414.8 MB, free: 8.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1459, allocations: 173.9 kB / 414.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1459, allocations: 29.7 kB / 415 MB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.245e-05/0.146, allocations: 166.5 kB / 415.1 MB, free: 8.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.1461, allocations: 23.7 kB / 415.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.1461, allocations: 4 kB / 415.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1463, allocations: 322.8 kB / 415.5 MB, free: 8.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.1464, allocations: 16 kB / 415.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1465, allocations: 33.7 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.758e-05/0.1466, allocations: 20 kB / 415.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1466, allocations: 3.953 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002849/0.1469, allocations: 101.6 kB / 415.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1469, allocations: 6.812 kB / 415.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.147, allocations: 0 / 415.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.147, allocations: 4 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1471, allocations: 15.98 kB / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1472, allocations: 160 / 415.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.1472, allocations: 4 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1473, allocations: 8 kB / 415.7 MB, free: 7.875 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.0001528/0.1474, allocations: 125.8 kB / 415.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1475, allocations: 23.78 kB / 415.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.874e-05/0.1476, allocations: 16.7 kB / 415.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1476, allocations: 4 kB / 415.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1476, allocations: 0 / 415.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1476, allocations: 0 / 415.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.1483, allocations: 391.3 kB / 416.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1483, allocations: 3.984 kB / 416.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.1484, allocations: 8 kB / 416.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1484, allocations: 8.031 kB / 416.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1484, allocations: 3.938 kB / 416.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1484, allocations: 0 / 416.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1485, allocations: 0.5625 kB / 416.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1488, allocations: 210 kB / 416.5 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.1489, allocations: 100.8 kB / 416.6 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.149, allocations: 15.94 kB / 416.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1491, allocations: 0 / 416.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1491, allocations: 7.984 kB / 416.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.1492, allocations: 8 kB / 416.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.1494, allocations: 139.2 kB / 416.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1494, allocations: 0 / 416.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.1497, allocations: 20 kB / 416.7 MB, free: 6.695 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.001292/0.151, allocations: 447.6 kB / 417.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.1513, allocations: 63.89 kB / 417.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1514, allocations: 0 / 417.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1515, allocations: 27.92 kB / 417.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1519, allocations: 23.98 kB / 417.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.1525, allocations: 264.2 kB / 417.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1529, allocations: 0.7043 MB / 418.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.153, allocations: 15.44 kB / 418.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.153, allocations: 0 / 418.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of Templates: time 0.005436/0.1584, allocations: 1.903 MB / 420.2 MB, free: 3.316 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32Functions.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.Test32CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.o] Error 1