Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 270 MB / 282.7 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.336e-05, allocations: 7.938 kB / 347 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3686, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.5066, allocations: 89.27 MB / 498.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.5069, allocations: 71.97 kB / 498.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.5303, allocations: 5.632 MB / 0.492 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.337e-06/0.5304, allocations: 0 / 0.492 GB, free: 11.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.5304, allocations: 0 / 0.492 GB, free: 11.66 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.0005483/0.5309, allocations: 406.2 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.531, allocations: 8.031 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.5311, allocations: 7.906 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.5315, allocations: 224 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.5315, allocations: 3.953 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.5315, allocations: 8 kB / 0.4926 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.5317, allocations: 53.61 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5317, allocations: 4 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.5317, allocations: 4 kB / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-06/0.5317, allocations: 0 / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.5318, allocations: 23.92 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.5323, allocations: 292.9 kB / 0.493 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.5325, allocations: 50.7 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.5326, allocations: 24.97 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.5326, allocations: 0 / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.5328, allocations: 75.27 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.652e-06/0.5328, allocations: 0 / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.5334, allocations: 157.1 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.5334, allocations: 51.41 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.5337, allocations: 201.3 kB / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.5338, allocations: 37.7 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.5339, allocations: 158.6 kB / 0.4937 GB, free: 9.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.5339, allocations: 27.64 kB / 0.4938 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-06/0.534, allocations: 4 kB / 0.4938 GB, free: 9.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5341, allocations: 314.8 kB / 0.4941 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.5342, allocations: 20 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.5343, allocations: 37.7 kB / 0.4941 GB, free: 9.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.5344, allocations: 24 kB / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-06/0.5344, allocations: 0 / 0.4941 GB, free: 9.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000223/0.5346, allocations: 89.67 kB / 0.4942 GB, free: 9.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5347, allocations: 8 kB / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.909e-06/0.5347, allocations: 0 / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5347, allocations: 0 / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5348, allocations: 16 kB / 0.4942 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5348, allocations: 4 kB / 0.4942 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.5349, allocations: 3.984 kB / 0.4942 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.535, allocations: 4 kB / 0.4943 GB, free: 9.148 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.0001052/0.5351, allocations: 121 kB / 0.4944 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.5351, allocations: 11.81 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.5354, allocations: 115.1 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5355, allocations: 4 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.626e-06/0.5355, allocations: 192 / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-06/0.5355, allocations: 7.938 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.5361, allocations: 423.2 kB / 0.4949 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-06/0.5362, allocations: 0 / 0.4949 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.5362, allocations: 8 kB / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-06/0.5363, allocations: 288 / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5363, allocations: 7.938 kB / 0.4949 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.5363, allocations: 0 / 0.4949 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.932e-06/0.5363, allocations: 3.938 kB / 0.4949 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.5366, allocations: 225.8 kB / 0.4951 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.5367, allocations: 100.9 kB / 0.4952 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.5368, allocations: 4 kB / 0.4952 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5369, allocations: 3.984 kB / 0.4952 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.537, allocations: 7.953 kB / 0.4952 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.537, allocations: 8 kB / 0.4953 GB, free: 7.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.5372, allocations: 164.2 kB / 0.4954 GB, free: 7.836 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5372, allocations: 0 / 0.4954 GB, free: 7.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.5376, allocations: 35.94 kB / 0.4954 GB, free: 7.801 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.001624/0.5393, allocations: 456.2 kB / 0.4959 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5395, allocations: 63.91 kB / 0.4959 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.5395, allocations: 0 / 0.4959 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.5396, allocations: 31.94 kB / 0.496 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.54, allocations: 24.11 kB / 0.496 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.5405, allocations: 212.5 kB / 0.4962 GB, free: 7.145 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.541, allocations: 0.7121 MB / 0.4969 GB, free: 6.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.541, allocations: 15.44 kB / 0.4969 GB, free: 6.391 MB / 426.7 MB Notification: Performance of SimCode: time 1.622e-06/0.5411, allocations: 0 / 0.4969 GB, free: 6.391 MB / 426.7 MB Notification: Performance of Templates: time 0.00487/0.5459, allocations: 2.012 MB / 0.4989 GB, free: 4.383 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40Functions.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.Test40CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test40CalcHelperMain.o] Error 1