Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.688/2.688, allocations: 270 MB / 282.6 MB, free: 1.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.494e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3842, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.579, allocations: 88.72 MB / 497.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.5793, allocations: 67.97 kB / 497.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02096/0.6003, allocations: 4.453 MB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6003, allocations: 0 / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.6004, allocations: 4 kB / 0.4904 GB, free: 13.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005567/0.6009, allocations: 382.3 kB / 0.4908 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.601, allocations: 12.03 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.6011, allocations: 34.56 kB / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.6011, allocations: 11.91 kB / 0.4908 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.6014, allocations: 194.8 kB / 0.491 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.6015, allocations: 3.984 kB / 0.491 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.6015, allocations: 7.984 kB / 0.491 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.6017, allocations: 55.42 kB / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6017, allocations: 3.984 kB / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.6017, allocations: 7.938 kB / 0.4911 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6017, allocations: 8 kB / 0.4911 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.6018, allocations: 12 kB / 0.4911 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.6023, allocations: 300.6 kB / 0.4914 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.6024, allocations: 34.58 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.6025, allocations: 8.859 kB / 0.4914 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.6025, allocations: 12 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6026, allocations: 30.56 kB / 0.4915 GB, free: 12.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.6026, allocations: 0 / 0.4915 GB, free: 12.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006819/0.6033, allocations: 133.5 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6034, allocations: 77.11 kB / 0.4917 GB, free: 11.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.6036, allocations: 144 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.6037, allocations: 25.7 kB / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.6038, allocations: 158.6 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.6038, allocations: 23.7 kB / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.6038, allocations: 0 / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.604, allocations: 314.8 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.604, allocations: 12 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.6041, allocations: 37.72 kB / 0.4924 GB, free: 11.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.6042, allocations: 20.02 kB / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6042, allocations: 0 / 0.4924 GB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001984/0.6044, allocations: 73.75 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6045, allocations: 5.562 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6045, allocations: 0 / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6045, allocations: 0 / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.6048, allocations: 23.98 kB / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6048, allocations: 0 / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.605, allocations: 27.88 kB / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.605, allocations: 0 / 0.4925 GB, free: 10.95 MB / 426.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 (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 prepare postOptimizeDAE: time 9.514e-05/0.6051, allocations: 108.9 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.6051, allocations: 7.906 kB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.6054, allocations: 86.3 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6054, allocations: 0 / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6055, allocations: 0 / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6055, allocations: 4 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.606, allocations: 370.3 kB / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6061, allocations: 0 / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.6063, allocations: 23.98 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6063, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.6063, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.6063, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6063, allocations: 3.953 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.6066, allocations: 175.8 kB / 0.4932 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.6067, allocations: 89.09 kB / 0.4933 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.6067, allocations: 4 kB / 0.4933 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.6069, allocations: 15.92 kB / 0.4933 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.607, allocations: 7.984 kB / 0.4934 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.607, allocations: 15.89 kB / 0.4934 GB, free: 9.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.6071, allocations: 107.3 kB / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6072, allocations: 0 / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004177/0.6076, allocations: 31.91 kB / 0.4935 GB, free: 9.816 MB / 426.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.001774/0.6094, allocations: 1.039 MB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.6097, allocations: 43.94 kB / 0.4946 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6097, allocations: 0 / 0.4946 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.6098, allocations: 27.98 kB / 0.4946 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.6101, allocations: 14.89 kB / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007403/0.6108, allocations: 205.2 kB / 0.4948 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.6112, allocations: 0.7043 MB / 0.4955 GB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.6114, allocations: 27.42 kB / 0.4955 GB, free: 7.816 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6114, allocations: 0 / 0.4955 GB, free: 7.816 MB / 426.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 trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11InitializeParameter.cpp:41:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/test_v6.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11Initialize.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 trunk/Resources/Data/Tables/test_v6.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11Initialize.cpp:278:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11FMU.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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test11CalcHelperMain.o] Error 1