Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 270 MB / 282.7 MB, free: 1.719 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.449e-05, allocations: 8 kB / 347 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.4674, allocations: 90.04 MB / 498.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4677, allocations: 67.97 kB / 499 MB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03012/0.4978, allocations: 7.097 MB / 0.4942 GB, free: 9.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4978, allocations: 0 / 0.4942 GB, free: 9.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.4979, allocations: 4 kB / 0.4942 GB, free: 9.383 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007917/0.4987, allocations: 0.4956 MB / 0.4947 GB, free: 8.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4987, allocations: 8.031 kB / 0.4947 GB, free: 8.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.4988, allocations: 27.7 kB / 0.4947 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.4994, allocations: 282.5 kB / 0.495 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.4995, allocations: 8 kB / 0.495 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.4995, allocations: 7.953 kB / 0.495 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.4998, allocations: 100.2 kB / 0.4951 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.565e-06/0.4998, allocations: 4 kB / 0.4951 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4998, allocations: 0 / 0.4951 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.738e-06/0.4998, allocations: 0 / 0.4951 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.5, allocations: 43.97 kB / 0.4951 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.5008, allocations: 393.5 kB / 0.4955 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5011, allocations: 109.4 kB / 0.4956 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.5012, allocations: 45.66 kB / 0.4957 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5012, allocations: 4 kB / 0.4957 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.5015, allocations: 113.1 kB / 0.4958 GB, free: 7.562 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 3.023e-06/0.5015, allocations: 0 / 0.4958 GB, free: 7.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004182/0.5019, allocations: 145.3 kB / 0.4959 GB, free: 7.414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.502, allocations: 110.8 kB / 0.496 GB, free: 7.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.5025, allocations: 303.4 kB / 0.4963 GB, free: 6.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.5026, allocations: 29.7 kB / 0.4963 GB, free: 6.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.5028, allocations: 182.6 kB / 0.4965 GB, free: 6.766 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.5028, allocations: 35.7 kB / 0.4965 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-06/0.5028, allocations: 4 kB / 0.4966 GB, free: 6.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.503, allocations: 318.8 kB / 0.4969 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.191e-05/0.5031, allocations: 27.98 kB / 0.4969 GB, free: 6.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5033, allocations: 73.14 kB / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5034, allocations: 55.97 kB / 0.497 GB, free: 6.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.002e-06/0.5034, allocations: 0 / 0.497 GB, free: 6.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003076/0.5037, allocations: 125.5 kB / 0.4971 GB, free: 6.105 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5038, allocations: 4 kB / 0.4971 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-06/0.5038, allocations: 0 / 0.4971 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5038, allocations: 4 kB / 0.4971 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.504, allocations: 19.98 kB / 0.4972 GB, free: 6.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.504, allocations: 4 kB / 0.4972 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.5042, allocations: 12.05 kB / 0.4972 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.5042, allocations: 8 kB / 0.4972 GB, free: 6.055 MB / 426.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001271/0.5044, allocations: 128.8 kB / 0.4973 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.5044, allocations: 27.62 kB / 0.4973 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.5049, allocations: 167.4 kB / 0.4975 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5049, allocations: 0 / 0.4975 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5049, allocations: 4 kB / 0.4975 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-06/0.5049, allocations: 0 / 0.4975 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.5053, allocations: 261.5 kB / 0.4977 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.128e-06/0.5053, allocations: 3.953 kB / 0.4977 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.5054, allocations: 15.98 kB / 0.4978 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.197e-06/0.5054, allocations: 7.938 kB / 0.4978 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5054, allocations: 3.984 kB / 0.4978 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.722e-06/0.5055, allocations: 4.188 kB / 0.4978 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5055, allocations: 0 / 0.4978 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.5059, allocations: 211.3 kB / 0.498 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.506, allocations: 112.8 kB / 0.4981 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.5061, allocations: 3.984 kB / 0.4981 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5062, allocations: 12 kB / 0.4981 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.5063, allocations: 7.984 kB / 0.4981 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.5063, allocations: 4 kB / 0.4981 GB, free: 4.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000403/0.5067, allocations: 251.1 kB / 0.4983 GB, free: 4.742 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.5068, allocations: 0 / 0.4983 GB, free: 4.742 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.5072, allocations: 47.94 kB / 0.4984 GB, free: 4.695 MB / 426.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001488/0.5087, allocations: 420.8 kB / 0.4988 GB, free: 4.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.509, allocations: 95.91 kB / 0.4989 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.571e-06/0.509, allocations: 0 / 0.4989 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.5092, allocations: 48 kB / 0.4989 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.5096, allocations: 55.38 kB / 0.499 GB, free: 4.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.5105, allocations: 333.8 kB / 0.4993 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.511, allocations: 0.7559 MB / 0.5 GB, free: 3.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.5111, allocations: 23.42 kB / 0.5001 GB, free: 3.055 MB / 426.7 MB Notification: Performance of SimCode: time 1.74e-06/0.5111, allocations: 0 / 0.5001 GB, free: 3.055 MB / 426.7 MB Notification: Performance of Templates: time 0.007437/0.5186, allocations: 3.287 MB / 0.5033 GB, free: 15.78 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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.Test83CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83Functions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp17.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.Test83CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test83CalcHelperMain.o] Error 1