Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 2.525/2.525, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.906e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002796/0.1325, allocations: 1.573 MB / 412.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1344, allocations: 0.7529 MB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1345, allocations: 3.938 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.1348, allocations: 39.77 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.135, allocations: 39.86 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.1354, allocations: 95.73 kB / 413.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1357, allocations: 83.78 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1358, allocations: 15.98 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1359, allocations: 39.84 kB / 413.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.136, allocations: 35.84 kB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.1362, allocations: 35.92 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1362, allocations: 4 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1363, allocations: 23.91 kB / 413.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1363, allocations: 4 kB / 413.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1366, allocations: 104 kB / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1366, allocations: 0 / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.859e-06/0.1366, allocations: 0 / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1366, allocations: 3.938 kB / 413.8 MB, free: 10 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007301/0.1374, allocations: 436.8 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1374, allocations: 8.031 kB / 414.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.1375, allocations: 15.81 kB / 414.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1378, allocations: 218.3 kB / 414.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1379, allocations: 12 kB / 414.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.1379, allocations: 4 kB / 414.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.1382, allocations: 124 kB / 414.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1383, allocations: 0 / 414.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1383, allocations: 0 / 414.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1383, allocations: 0 / 414.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.1386, allocations: 59.91 kB / 414.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.1393, allocations: 0.5087 MB / 415.1 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.1398, allocations: 94.61 kB / 415.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1399, allocations: 0 / 415.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.1402, allocations: 83.36 kB / 415.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.759e-06/0.1402, allocations: 7.922 kB / 415.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005973/0.1408, allocations: 149.4 kB / 415.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.1409, allocations: 59.34 kB / 415.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1411, allocations: 163.8 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1412, allocations: 29.7 kB / 415.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1413, allocations: 174.4 kB / 415.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.1413, allocations: 27.61 kB / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.1413, allocations: 0 / 415.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1415, allocations: 326.8 kB / 416.2 MB, free: 7.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1416, allocations: 31.98 kB / 416.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.1418, allocations: 60.27 kB / 416.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.142, allocations: 40 kB / 416.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.142, allocations: 0 / 416.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004468/0.1425, allocations: 133.5 kB / 416.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1425, allocations: 6.812 kB / 416.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1425, allocations: 0 / 416.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1426, allocations: 4 kB / 416.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1428, allocations: 28.11 kB / 416.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1428, allocations: 0 / 416.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1429, allocations: 19.83 kB / 416.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1429, allocations: 8 kB / 416.6 MB, free: 6.969 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001431/0.1431, allocations: 128.1 kB / 416.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.1432, allocations: 16.28 kB / 416.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.1432, allocations: 21.39 kB / 416.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1432, allocations: 0 / 416.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1433, allocations: 4 kB / 416.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1433, allocations: 0 / 416.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1435, allocations: 221.6 kB / 416.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1435, allocations: 0 / 416.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1437, allocations: 15.98 kB / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1437, allocations: 0 / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1437, allocations: 0 / 417 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1437, allocations: 4 kB / 417 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1438, allocations: 3.984 kB / 417 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.1444, allocations: 188.8 kB / 417.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1444, allocations: 96.97 kB / 417.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1445, allocations: 0 / 417.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1446, allocations: 15.98 kB / 417.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1447, allocations: 12 kB / 417.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1447, allocations: 4 kB / 417.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1449, allocations: 146 kB / 417.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1449, allocations: 0 / 417.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.1452, allocations: 31.89 kB / 417.5 MB, free: 5.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001117/0.1464, allocations: 388.2 kB / 417.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004319/0.1468, allocations: 79.91 kB / 417.9 MB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1468, allocations: 3.938 kB / 417.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.147, allocations: 48.03 kB / 418 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.1474, allocations: 32.42 kB / 418 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.1482, allocations: 323.8 kB / 418.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1485, allocations: 0.7242 MB / 419 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.1486, allocations: 19.44 kB / 419 MB, free: 4.438 MB / 346.7 MB Notification: Performance of SimCode: time 3.186e-06/0.1486, allocations: 0 / 419 MB, free: 4.438 MB / 346.7 MB Notification: Performance of Templates: time 0.005915/0.1545, allocations: 2.125 MB / 421.2 MB, free: 2.305 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10Functions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.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.Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test10CalcHelperMain.o] Error 1