Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.294e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4542, allocations: 61.86 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.6304, allocations: 88.73 MB / 497.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6307, allocations: 71.95 kB / 497.7 MB, free: 1.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.6495, allocations: 4.453 MB / 0.4904 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6495, allocations: 0 / 0.4904 GB, free: 13.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.6495, allocations: 8 kB / 0.4904 GB, free: 13.27 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.0005123/0.65, allocations: 378.3 kB / 0.4908 GB, free: 12.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6501, allocations: 12.03 kB / 0.4908 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.6502, allocations: 38.5 kB / 0.4908 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.6502, allocations: 7.906 kB / 0.4908 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.6505, allocations: 194.8 kB / 0.491 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.6505, allocations: 4 kB / 0.491 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.6506, allocations: 3.984 kB / 0.491 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6507, allocations: 63.41 kB / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6508, allocations: 3.938 kB / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6508, allocations: 8 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6508, allocations: 0 / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.6509, allocations: 19.94 kB / 0.4911 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.6514, allocations: 284.8 kB / 0.4914 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.6515, allocations: 42.56 kB / 0.4914 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.6516, allocations: 16.86 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6516, allocations: 0 / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6516, allocations: 34.5 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.327e-06/0.6517, allocations: 0 / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006496/0.6523, allocations: 137.6 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.6524, allocations: 81.09 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.6526, allocations: 141.1 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.6526, allocations: 25.7 kB / 0.4918 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.6527, allocations: 154.6 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.6528, allocations: 19.72 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6528, allocations: 0 / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6529, allocations: 318.8 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.653, allocations: 19.94 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.6531, allocations: 29.72 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.6531, allocations: 16.22 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6531, allocations: 0 / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.6533, allocations: 69.69 kB / 0.4924 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6534, allocations: 5.719 kB / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6534, allocations: 0 / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6534, allocations: 0 / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.6536, allocations: 32 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.6537, allocations: 4 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.6538, allocations: 19.89 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.6538, allocations: 0 / 0.4925 GB, free: 10.89 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.037e-05/0.6539, allocations: 116.9 kB / 0.4926 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.654, allocations: 7.906 kB / 0.4926 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.6542, allocations: 90.28 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6543, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6543, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6543, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.6548, allocations: 362.4 kB / 0.493 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.6549, allocations: 0 / 0.493 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.6551, allocations: 23.98 kB / 0.4931 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6551, allocations: 7.984 kB / 0.4931 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6551, allocations: 0 / 0.4931 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.6551, allocations: 4 kB / 0.4931 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.6551, allocations: 7.891 kB / 0.4931 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.6554, allocations: 171.4 kB / 0.4932 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.6555, allocations: 89.09 kB / 0.4933 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.6555, allocations: 3.938 kB / 0.4933 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.6557, allocations: 16 kB / 0.4934 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.6557, allocations: 3.984 kB / 0.4934 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6558, allocations: 7.953 kB / 0.4934 GB, free: 9.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.6559, allocations: 108.8 kB / 0.4935 GB, free: 9.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6559, allocations: 4 kB / 0.4935 GB, free: 9.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.6563, allocations: 31.89 kB / 0.4935 GB, free: 9.75 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.00167/0.658, allocations: 1.036 MB / 0.4945 GB, free: 8.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.6582, allocations: 43.98 kB / 0.4946 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6582, allocations: 0 / 0.4946 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.6583, allocations: 24 kB / 0.4946 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.6586, allocations: 19.83 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.6593, allocations: 212.8 kB / 0.4948 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.6596, allocations: 0.6965 MB / 0.4955 GB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.6597, allocations: 23.42 kB / 0.4955 GB, free: 7.754 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6598, allocations: 0 / 0.4955 GB, free: 7.754 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_Test12CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12InitializeParameter.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_v7.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12Initialize.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_v7.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12FMU.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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test12CalcHelperMain.o] Error 1