Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.226e-05/7.266e-05, allocations: 11.94 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3624, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.4999, allocations: 89.24 MB / 498.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.5002, allocations: 71.95 kB / 498.2 MB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02242/0.5226, allocations: 5.421 MB / 0.4918 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.141e-06/0.5227, allocations: 0 / 0.4918 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.5227, allocations: 0 / 0.4918 GB, free: 11.89 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.0005367/0.5232, allocations: 394.2 kB / 0.4922 GB, free: 11.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5233, allocations: 8.031 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.5233, allocations: 11.91 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.5237, allocations: 215.6 kB / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.5237, allocations: 7.891 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.5238, allocations: 4 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5239, allocations: 53.67 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5239, allocations: 0 / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.524, allocations: 4 kB / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-06/0.524, allocations: 0 / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.5241, allocations: 16 kB / 0.4925 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.5245, allocations: 292.9 kB / 0.4927 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.5247, allocations: 54.62 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.5248, allocations: 20.92 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5248, allocations: 4 kB / 0.4928 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.525, allocations: 71.33 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.697e-06/0.525, allocations: 0 / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.5256, allocations: 161.1 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.5256, allocations: 51.41 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.5259, allocations: 172.9 kB / 0.4932 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5259, allocations: 25.7 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.526, allocations: 166.6 kB / 0.4934 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.5261, allocations: 19.72 kB / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-06/0.5261, allocations: 0 / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5263, allocations: 322.8 kB / 0.4938 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.5263, allocations: 20 kB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.5264, allocations: 29.72 kB / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.302e-05/0.5265, allocations: 28.05 kB / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5265, allocations: 7.938 kB / 0.4938 GB, free: 9.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/0.5268, allocations: 85.69 kB / 0.4939 GB, free: 9.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5268, allocations: 4 kB / 0.4939 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.181e-06/0.5268, allocations: 3.984 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5268, allocations: 4 kB / 0.4939 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5269, allocations: 12 kB / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.654e-06/0.527, allocations: 3.938 kB / 0.4939 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.5271, allocations: 7.938 kB / 0.494 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.5271, allocations: 3.984 kB / 0.494 GB, free: 9.434 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 9.408e-05/0.5272, allocations: 117 kB / 0.4941 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.5272, allocations: 15.81 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.5275, allocations: 114.2 kB / 0.4942 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.731e-06/0.5276, allocations: 4 kB / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.767e-06/0.5276, allocations: 0 / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-06/0.5276, allocations: 0 / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.5282, allocations: 407.5 kB / 0.4946 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.276e-06/0.5283, allocations: 8.031 kB / 0.4946 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.5283, allocations: 8 kB / 0.4946 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5283, allocations: 288 / 0.4946 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5284, allocations: 4 kB / 0.4946 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-06/0.5284, allocations: 3.984 kB / 0.4946 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.16e-06/0.5284, allocations: 7.875 kB / 0.4946 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.5287, allocations: 225.8 kB / 0.4948 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.5288, allocations: 89 kB / 0.4949 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.5289, allocations: 8 kB / 0.4949 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.529, allocations: 7.984 kB / 0.4949 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.529, allocations: 3.953 kB / 0.4949 GB, free: 8.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5291, allocations: 4 kB / 0.4949 GB, free: 8.316 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.5293, allocations: 148.3 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.5293, allocations: 0 / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.5297, allocations: 31.98 kB / 0.4951 GB, free: 8.145 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.001644/0.5313, allocations: 468.5 kB / 0.4956 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.5315, allocations: 48 kB / 0.4956 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.182e-06/0.5316, allocations: 3.938 kB / 0.4956 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.5317, allocations: 35.97 kB / 0.4956 GB, free: 7.742 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.532, allocations: 28.11 kB / 0.4957 GB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.5325, allocations: 192.8 kB / 0.4959 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5329, allocations: 0.7043 MB / 0.4965 GB, free: 6.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.533, allocations: 23.42 kB / 0.4966 GB, free: 6.734 MB / 426.7 MB Notification: Performance of SimCode: time 1.645e-06/0.533, allocations: 0 / 0.4966 GB, free: 6.734 MB / 426.7 MB Notification: Performance of Templates: time 0.004651/0.5377, allocations: 1.93 MB / 0.4984 GB, free: 4.805 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28Functions.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.Test28CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test28CalcHelperMain.o] Error 1