Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 270 MB / 282.7 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.461e-05, allocations: 4 kB / 347 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3543, allocations: 61.89 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4959, allocations: 89.23 MB / 498.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4962, allocations: 71.97 kB / 498.2 MB, free: 1.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02279/0.519, allocations: 5.417 MB / 0.4918 GB, free: 11.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5191, allocations: 0 / 0.4918 GB, free: 11.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.5191, allocations: 4 kB / 0.4918 GB, free: 11.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000558/0.5197, allocations: 394.2 kB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5197, allocations: 12.03 kB / 0.4922 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.5198, allocations: 11.91 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.5202, allocations: 207.8 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5202, allocations: 7.891 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.5202, allocations: 7.906 kB / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5204, allocations: 53.67 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5204, allocations: 0 / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5204, allocations: 0 / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5204, allocations: 4 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.5205, allocations: 15.94 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.521, allocations: 304.8 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.5212, allocations: 50.67 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.5213, allocations: 20.98 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.5213, allocations: 4 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.5215, allocations: 67.33 kB / 0.4929 GB, free: 10.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.5215, allocations: 0 / 0.4929 GB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005579/0.522, allocations: 157.2 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.5221, allocations: 55.41 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.5224, allocations: 168.9 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5224, allocations: 29.7 kB / 0.4933 GB, free: 10.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.5225, allocations: 162.6 kB / 0.4934 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.5226, allocations: 19.72 kB / 0.4935 GB, free: 9.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-06/0.5226, allocations: 0 / 0.4935 GB, free: 9.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5228, allocations: 326.8 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.5228, allocations: 19.94 kB / 0.4938 GB, free: 9.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.5229, allocations: 33.72 kB / 0.4938 GB, free: 9.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.523, allocations: 23.98 kB / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-06/0.523, allocations: 0 / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.5232, allocations: 85.67 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5233, allocations: 11.94 kB / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-06/0.5233, allocations: 4.031 kB / 0.4939 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5233, allocations: 3.984 kB / 0.4939 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.5235, allocations: 12 kB / 0.494 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.394e-06/0.5235, allocations: 4 kB / 0.494 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.5236, allocations: 7.938 kB / 0.494 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5236, allocations: 4.188 kB / 0.494 GB, free: 9.445 MB / 426.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.0001053/0.5237, allocations: 116 kB / 0.4941 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.5238, allocations: 11.81 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.5241, allocations: 126.3 kB / 0.4942 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.5241, allocations: 4 kB / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-06/0.5241, allocations: 0 / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5241, allocations: 0 / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.5248, allocations: 407.4 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-06/0.5248, allocations: 0 / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.5249, allocations: 8 kB / 0.4946 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.274e-06/0.5249, allocations: 7.938 kB / 0.4946 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.5249, allocations: 4.031 kB / 0.4946 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.732e-06/0.5249, allocations: 0 / 0.4946 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.238e-06/0.5249, allocations: 11.92 kB / 0.4946 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.5252, allocations: 217.9 kB / 0.4948 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.5254, allocations: 93.02 kB / 0.4949 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.5254, allocations: 0 / 0.4949 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5255, allocations: 11.98 kB / 0.4949 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.5256, allocations: 15.89 kB / 0.495 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5256, allocations: 4 kB / 0.495 GB, free: 8.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.5258, allocations: 140.6 kB / 0.4951 GB, free: 8.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.5258, allocations: 0 / 0.4951 GB, free: 8.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.5262, allocations: 31.98 kB / 0.4951 GB, free: 8.152 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: 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 (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.001659/0.5279, allocations: 457.1 kB / 0.4956 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.5281, allocations: 59.92 kB / 0.4956 GB, free: 7.785 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.514e-06/0.5281, allocations: 0 / 0.4956 GB, free: 7.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.5282, allocations: 35.92 kB / 0.4956 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.5286, allocations: 30.36 kB / 0.4957 GB, free: 7.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.5291, allocations: 193.1 kB / 0.4959 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.5295, allocations: 0.7083 MB / 0.4966 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.5296, allocations: 19.42 kB / 0.4966 GB, free: 6.742 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.5296, allocations: 0 / 0.4966 GB, free: 6.742 MB / 426.7 MB Notification: Performance of Templates: time 0.004648/0.5343, allocations: 1.925 MB / 0.4985 GB, free: 4.816 MB / 426.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 -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.Test32CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test32Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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