Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.822e-05, allocations: 4.938 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4355, allocations: 54.85 MB / 359.9 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5913, allocations: 81.01 MB / 440.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5917, allocations: 72.98 kB / 440.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0132/0.6049, allocations: 2.943 MB / 443.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6049, allocations: 4 kB / 443.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.605, allocations: 448 / 443.9 MB, free: 12.9 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005197/0.6055, allocations: 396 kB / 444.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.6056, allocations: 8.031 kB / 444.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.6056, allocations: 42.56 kB / 444.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.6057, allocations: 7.953 kB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.606, allocations: 192.8 kB / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.606, allocations: 0 / 444.5 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.606, allocations: 4 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6062, allocations: 67.41 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6062, allocations: 0 / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6063, allocations: 0 / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6063, allocations: 7.953 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6064, allocations: 27.98 kB / 444.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.6069, allocations: 284.8 kB / 444.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.6071, allocations: 54.56 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.6072, allocations: 17.92 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.6072, allocations: 4.062 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.6073, allocations: 42.52 kB / 445 MB, free: 11.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/0.6073, allocations: 3.938 kB / 445 MB, free: 11.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000633/0.6079, allocations: 131.8 kB / 445.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.608, allocations: 81.11 kB / 445.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.6082, allocations: 113 kB / 445.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.6082, allocations: 29.7 kB / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.6083, allocations: 162.5 kB / 445.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.6083, allocations: 23.7 kB / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.6084, allocations: 0.9375 kB / 445.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6085, allocations: 310.8 kB / 445.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.6086, allocations: 20 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.6087, allocations: 34.72 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.633e-05/0.6088, allocations: 49.62 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6088, allocations: 0 / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000278/0.6091, allocations: 115.6 kB / 446.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.6092, allocations: 33.66 kB / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6092, allocations: 80 / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.6092, allocations: 4 kB / 446.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.6094, allocations: 16.55 kB / 446.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.6094, allocations: 3.984 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.6095, allocations: 15.98 kB / 446.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.6096, allocations: 0 / 446.1 MB, free: 10.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.674e-05/0.6097, allocations: 109 kB / 446.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.6097, allocations: 7.906 kB / 446.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.61, allocations: 107.6 kB / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6101, allocations: 0 / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6101, allocations: 4 kB / 446.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6101, allocations: 3.984 kB / 446.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.6106, allocations: 342.6 kB / 446.7 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6107, allocations: 7.953 kB / 446.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.6108, allocations: 23.92 kB / 446.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6108, allocations: 3.938 kB / 446.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.6109, allocations: 4 kB / 446.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6109, allocations: 0 / 446.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.6109, allocations: 8.859 kB / 446.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.6112, allocations: 163.5 kB / 446.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.6112, allocations: 85.06 kB / 447 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.6113, allocations: 8 kB / 447 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6114, allocations: 11.98 kB / 447 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.6115, allocations: 0 / 447 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.6115, allocations: 7.984 kB / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.6116, allocations: 97.75 kB / 447.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6116, allocations: 0 / 447.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.612, allocations: 35.98 kB / 447.2 MB, free: 9.277 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001605/0.6136, allocations: 0.9872 MB / 448.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.6139, allocations: 103.3 kB / 448.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6139, allocations: 0 / 448.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.614, allocations: 24.16 kB / 448.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.6143, allocations: 11.98 kB / 448.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.615, allocations: 197.5 kB / 448.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6153, allocations: 0.6926 MB / 449.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.6154, allocations: 23.42 kB / 449.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6154, allocations: 0 / 449.2 MB, free: 7.215 MB / 378.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:276:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 5 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1