Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.032e-05, allocations: 4 kB / 349 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 61.91 MB / 410.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002694/0.1349, allocations: 1.462 MB / 412.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.137, allocations: 0.7843 MB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1372, allocations: 7.938 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.1379, allocations: 283.4 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.1383, allocations: 179.6 kB / 413.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1389, allocations: 135.6 kB / 413.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1392, allocations: 119.8 kB / 413.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.1393, allocations: 0 / 413.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1395, allocations: 95.75 kB / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.1398, allocations: 139.7 kB / 414.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1399, allocations: 27.98 kB / 414.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.14, allocations: 11.94 kB / 414.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.1402, allocations: 131.6 kB / 414.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.1403, allocations: 16 kB / 414.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.1407, allocations: 271.8 kB / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1408, allocations: 0 / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1408, allocations: 0 / 414.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1408, allocations: 4 kB / 414.6 MB, free: 9.16 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.0009408/0.1417, allocations: 0.5608 MB / 415.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1418, allocations: 12.03 kB / 415.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.1419, allocations: 47.34 kB / 415.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.1428, allocations: 431 kB / 415.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1429, allocations: 4 kB / 415.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1429, allocations: 4 kB / 415.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1432, allocations: 91.27 kB / 415.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1432, allocations: 0 / 415.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.1433, allocations: 7.969 kB / 415.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1433, allocations: 0 / 415.7 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1435, allocations: 31.92 kB / 415.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.1441, allocations: 370.4 kB / 416.1 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.1445, allocations: 109.3 kB / 416.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1445, allocations: 0 / 416.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.1449, allocations: 121 kB / 416.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 4.088e-06/0.1449, allocations: 4 kB / 416.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007581/0.1457, allocations: 189 kB / 416.5 MB, free: 7.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.1458, allocations: 81.11 kB / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.1475, allocations: 0.963 MB / 417.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.1476, allocations: 37.64 kB / 417.6 MB, free: 5.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.1478, allocations: 246.6 kB / 417.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.1479, allocations: 35.53 kB / 417.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.1479, allocations: 0 / 417.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1481, allocations: 318.8 kB / 418.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1482, allocations: 27.98 kB / 418.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1484, allocations: 59.41 kB / 418.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1486, allocations: 28 kB / 418.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1486, allocations: 0 / 418.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004651/0.1491, allocations: 121.6 kB / 418.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.1491, allocations: 8 kB / 418.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1491, allocations: 7.891 kB / 418.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1492, allocations: 0 / 418.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1494, allocations: 23.98 kB / 418.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1494, allocations: 0 / 418.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1496, allocations: 15.91 kB / 418.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1497, allocations: 7.938 kB / 418.5 MB, free: 4.984 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003469/0.15, allocations: 221.8 kB / 418.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.1501, allocations: 47.44 kB / 418.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1503, allocations: 64 kB / 418.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1503, allocations: 3.953 kB / 418.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1503, allocations: 0.625 kB / 418.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1503, allocations: 3.984 kB / 418.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1508, allocations: 345.2 kB / 419.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1508, allocations: 0 / 419.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.1509, allocations: 15.98 kB / 419.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1509, allocations: 4 kB / 419.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.1509, allocations: 4 kB / 419.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1509, allocations: 0 / 419.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1509, allocations: 3.953 kB / 419.2 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.1515, allocations: 207 kB / 419.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.1517, allocations: 140.4 kB / 419.5 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.1518, allocations: 12 kB / 419.5 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.152, allocations: 11.94 kB / 419.5 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.152, allocations: 4 kB / 419.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.1521, allocations: 7.984 kB / 419.6 MB, free: 3.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001364/0.1535, allocations: 0.776 MB / 420.3 MB, free: 3.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1535, allocations: 0 / 420.3 MB, free: 3.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.1539, allocations: 44 kB / 420.4 MB, free: 2.98 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00118/0.1551, allocations: 399.8 kB / 420.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1555, allocations: 79.89 kB / 420.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1555, allocations: 0 / 420.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1557, allocations: 39.92 kB / 420.9 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.1563, allocations: 68.62 kB / 421 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.1583, allocations: 0.9494 MB / 421.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.1589, allocations: 0.8585 MB / 422.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1591, allocations: 23.44 kB / 422.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1591, allocations: 0 / 422.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of Templates: time 0.3309/0.49, allocations: 4.958 MB / 427.7 MB, free: 11.83 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp31.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.Test70CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70CalcHelperMain.o] Error 1