Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 270 MB / 282.7 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.285e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4182, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.604, allocations: 88.71 MB / 497.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.6043, allocations: 75.95 kB / 497.7 MB, free: 1.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02549/0.6298, allocations: 4.453 MB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6299, allocations: 0 / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.6299, allocations: 4 kB / 0.4904 GB, free: 13.29 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.0006634/0.6306, allocations: 389.3 kB / 0.4908 GB, free: 12.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.6307, allocations: 16.03 kB / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.6308, allocations: 34.56 kB / 0.4908 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.6309, allocations: 7.906 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.6312, allocations: 192.4 kB / 0.491 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6313, allocations: 4 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.6313, allocations: 0 / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.6315, allocations: 59.41 kB / 0.4911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.6316, allocations: 3.938 kB / 0.4911 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.6316, allocations: 15.98 kB / 0.4911 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6316, allocations: 3.984 kB / 0.4911 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.6318, allocations: 15.98 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.6324, allocations: 288.8 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.6325, allocations: 34.58 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.6326, allocations: 16.86 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.6327, allocations: 4 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.6327, allocations: 38.44 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.577e-06/0.6328, allocations: 3.938 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009006/0.6337, allocations: 129.5 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.6338, allocations: 77.11 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.6341, allocations: 147 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.6341, allocations: 29.7 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.6342, allocations: 154.6 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.6343, allocations: 27.77 kB / 0.492 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.6343, allocations: 0 / 0.492 GB, free: 11.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6345, allocations: 314.8 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.6346, allocations: 12 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.6347, allocations: 29.72 kB / 0.4924 GB, free: 11.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.6348, allocations: 24.23 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6348, allocations: 0 / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002677/0.6351, allocations: 69.69 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6352, allocations: 5.719 kB / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6352, allocations: 0 / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6352, allocations: 0 / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.6355, allocations: 31.92 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6355, allocations: 0 / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.6358, allocations: 27.88 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.6358, allocations: 0 / 0.4925 GB, free: 10.9 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 0.0001171/0.6359, allocations: 109 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.636, allocations: 7.906 kB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003538/0.6364, allocations: 82.3 kB / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6364, allocations: 0 / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6364, allocations: 0 / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6364, allocations: 4 kB / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.6372, allocations: 366.3 kB / 0.4931 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6373, allocations: 0 / 0.4931 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.6375, allocations: 23.98 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.6375, allocations: 0 / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.6376, allocations: 0 / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6376, allocations: 0 / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.6376, allocations: 11.95 kB / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.638, allocations: 179.3 kB / 0.4933 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.214e-05/0.6381, allocations: 89.09 kB / 0.4933 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.6381, allocations: 0 / 0.4933 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.6384, allocations: 11.98 kB / 0.4934 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.6385, allocations: 7.984 kB / 0.4934 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.6385, allocations: 11.95 kB / 0.4934 GB, free: 9.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.6387, allocations: 107.3 kB / 0.4935 GB, free: 9.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6387, allocations: 0 / 0.4935 GB, free: 9.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006029/0.6393, allocations: 35.84 kB / 0.4935 GB, free: 9.77 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.002435/0.6418, allocations: 1.03 MB / 0.4945 GB, free: 8.855 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.6421, allocations: 40 kB / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6421, allocations: 0 / 0.4946 GB, free: 8.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.6423, allocations: 31.92 kB / 0.4946 GB, free: 8.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.6427, allocations: 18.89 kB / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.6437, allocations: 204.9 kB / 0.4948 GB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.6441, allocations: 0.7043 MB / 0.4955 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.6443, allocations: 27.42 kB / 0.4955 GB, free: 7.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6443, allocations: 0 / 0.4955 GB, free: 7.77 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_Test14CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14InitializeParameter.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.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14Initialize.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.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14Initialize.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_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14FMU.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_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test14CalcHelperMain.o] Error 1