Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 235 MB / 247.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.43e-05, allocations: 3.984 kB / 305 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.401, allocations: 54.85 MB / 359.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.5738, allocations: 81.14 MB / 441 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5741, allocations: 68.5 kB / 441.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.5881, allocations: 3.349 MB / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5882, allocations: 0 / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5882, allocations: 0 / 444.4 MB, free: 12.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005028/0.5887, allocations: 392.6 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5888, allocations: 8.031 kB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.5888, allocations: 38.56 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.5889, allocations: 11.84 kB / 444.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.5891, allocations: 179 kB / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5892, allocations: 4 kB / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.5892, allocations: 3.906 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.5894, allocations: 65.41 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5894, allocations: 0 / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5894, allocations: 0 / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5895, allocations: 3.953 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.5896, allocations: 19.98 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.5901, allocations: 280.9 kB / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.5903, allocations: 43.59 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.5904, allocations: 12.86 kB / 445.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.5904, allocations: 0 / 445.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.5904, allocations: 34.52 kB / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.5904, allocations: 4 kB / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005266/0.591, allocations: 113.4 kB / 445.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.5911, allocations: 81.11 kB / 445.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5912, allocations: 115.1 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.5913, allocations: 25.7 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.5913, allocations: 154.6 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.5914, allocations: 19.75 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/0.5914, allocations: 0.6562 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5915, allocations: 314.8 kB / 446.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.5916, allocations: 16 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.5917, allocations: 33.66 kB / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.127e-05/0.5918, allocations: 46.5 kB / 446.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5918, allocations: 0 / 446.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002066/0.592, allocations: 103.2 kB / 446.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.5921, allocations: 34.69 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5921, allocations: 3.984 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5921, allocations: 144 / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5923, allocations: 12.88 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.5923, allocations: 4.031 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.5924, allocations: 19.97 kB / 446.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.5924, allocations: 0 / 446.6 MB, free: 9.98 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 (6): * Single equations (assignments): 5 * 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.463e-05/0.5925, allocations: 105 kB / 446.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.5925, allocations: 4 kB / 446.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.5928, allocations: 91.53 kB / 446.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5928, allocations: 0 / 446.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5928, allocations: 3.938 kB / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5928, allocations: 4 kB / 446.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.5933, allocations: 324.8 kB / 447.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5933, allocations: 4 kB / 447.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5935, allocations: 19.94 kB / 447.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5935, allocations: 4 kB / 447.1 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5935, allocations: 0 / 447.1 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.5935, allocations: 3.938 kB / 447.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5935, allocations: 0 / 447.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.5938, allocations: 163.5 kB / 447.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.5939, allocations: 85.02 kB / 447.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.5939, allocations: 3.953 kB / 447.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.594, allocations: 8.875 kB / 447.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.5941, allocations: 7.984 kB / 447.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.5941, allocations: 0 / 447.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.133e-05/0.5942, allocations: 100.1 kB / 447.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5942, allocations: 0 / 447.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.5946, allocations: 31.94 kB / 447.5 MB, free: 8.938 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 (5): * Single equations (assignments): 5 * 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.00145/0.5961, allocations: 0.9589 MB / 448.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.5963, allocations: 95.39 kB / 448.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5963, allocations: 0 / 448.6 MB, free: 7.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.5964, allocations: 19.94 kB / 448.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.5967, allocations: 15.94 kB / 448.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.5973, allocations: 177.6 kB / 448.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.5976, allocations: 0.6926 MB / 449.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.5977, allocations: 23.42 kB / 449.5 MB, free: 6.926 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5978, allocations: 0 / 449.5 MB, free: 6.926 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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:36:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19FMU.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) { ^ 1 warning and 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o] Error 1