Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.053e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002733/0.1302, allocations: 1.548 MB / 412.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1322, allocations: 0.8115 MB / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1323, allocations: 0 / 413.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.1329, allocations: 239.4 kB / 413.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.1332, allocations: 155.6 kB / 413.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.1338, allocations: 139.6 kB / 413.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1341, allocations: 135.7 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.1342, allocations: 15.98 kB / 414 MB, free: 9.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.1344, allocations: 99.67 kB / 414.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1347, allocations: 123.8 kB / 414.2 MB, free: 9.605 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1349, allocations: 39.92 kB / 414.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.1349, allocations: 8 kB / 414.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.553e-05/0.135, allocations: 63.73 kB / 414.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.1351, allocations: 12 kB / 414.3 MB, free: 9.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.1354, allocations: 176 kB / 414.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1354, allocations: 0 / 414.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1354, allocations: 0 / 414.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1355, allocations: 0 / 414.5 MB, free: 9.312 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007809/0.1362, allocations: 494.5 kB / 415 MB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1363, allocations: 8.031 kB / 415 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.1364, allocations: 31.62 kB / 415 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.1368, allocations: 271 kB / 415.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1369, allocations: 8 kB / 415.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.1369, allocations: 12 kB / 415.3 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.1373, allocations: 107.3 kB / 415.4 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1373, allocations: 11.88 kB / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1373, allocations: 0 / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1373, allocations: 0 / 415.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1375, allocations: 43.97 kB / 415.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.1383, allocations: 488.6 kB / 415.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005366/0.1388, allocations: 125.2 kB / 416 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1389, allocations: 4 kB / 416 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.1392, allocations: 121 kB / 416.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.1392, allocations: 0 / 416.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001923/0.1411, allocations: 0.4966 MB / 416.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.1412, allocations: 89 kB / 416.7 MB, free: 6.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.1419, allocations: 444.7 kB / 417.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1419, allocations: 29.7 kB / 417.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1421, allocations: 206.9 kB / 417.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.1422, allocations: 71.08 kB / 417.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.1422, allocations: 4 kB / 417.5 MB, free: 6.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1423, allocations: 314.8 kB / 417.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1425, allocations: 59.97 kB / 417.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1428, allocations: 92.92 kB / 417.9 MB, free: 5.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.143, allocations: 63.94 kB / 418 MB, free: 5.535 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.143, allocations: 0 / 418 MB, free: 5.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005987/0.1437, allocations: 217.3 kB / 418.2 MB, free: 5.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1437, allocations: 10.8 kB / 418.2 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1437, allocations: 0 / 418.2 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1437, allocations: 4 kB / 418.2 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.144, allocations: 43.98 kB / 418.3 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1441, allocations: 0 / 418.3 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1442, allocations: 11.95 kB / 418.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1443, allocations: 15.92 kB / 418.3 MB, free: 5.234 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002294/0.1445, allocations: 169.8 kB / 418.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1446, allocations: 35.62 kB / 418.5 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1447, allocations: 38.81 kB / 418.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1447, allocations: 4 kB / 418.5 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1447, allocations: 0 / 418.5 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1447, allocations: 3.984 kB / 418.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.1461, allocations: 0.735 MB / 419.3 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1461, allocations: 0 / 419.3 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1463, allocations: 31.92 kB / 419.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1463, allocations: 3.953 kB / 419.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.1463, allocations: 15.98 kB / 419.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1463, allocations: 0 / 419.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1463, allocations: 4 kB / 419.3 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.1471, allocations: 484.4 kB / 419.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1472, allocations: 112.6 kB / 419.9 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.1473, allocations: 15.94 kB / 419.9 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1475, allocations: 7.938 kB / 419.9 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.1476, allocations: 19.97 kB / 420 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.1476, allocations: 12 kB / 420 MB, free: 3.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005254/0.1482, allocations: 367.1 kB / 420.3 MB, free: 3.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1482, allocations: 0 / 420.3 MB, free: 3.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.1487, allocations: 51.98 kB / 420.4 MB, free: 2.996 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001458/0.1501, allocations: 0.5001 MB / 420.9 MB, free: 2.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.1507, allocations: 159.8 kB / 421 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1507, allocations: 0 / 421 MB, free: 2.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.151, allocations: 75.84 kB / 421.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.1516, allocations: 63.98 kB / 421.2 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1529, allocations: 0.6538 MB / 421.8 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.1534, allocations: 0.7935 MB / 422.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.1535, allocations: 31.44 kB / 422.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1535, allocations: 0 / 422.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of Templates: time 0.3565/0.51, allocations: 3.692 MB / 426.3 MB, free: 11.62 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74Functions.cpp:285:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp39.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.Test74CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74CalcHelperMain.o] Error 1