Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.02e-05/5.032e-05, allocations: 4 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4399, allocations: 61.88 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.6066, allocations: 89.17 MB / 498.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.6069, allocations: 71.97 kB / 498.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.6258, allocations: 4.539 MB / 0.4909 GB, free: 12.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6258, allocations: 0 / 0.4909 GB, free: 12.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.6259, allocations: 7.938 kB / 0.4909 GB, free: 12.71 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.0005388/0.6264, allocations: 382.2 kB / 0.4913 GB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6265, allocations: 8.031 kB / 0.4913 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.117e-05/0.6266, allocations: 38.55 kB / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.6266, allocations: 11.91 kB / 0.4914 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.6269, allocations: 200.8 kB / 0.4916 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.6269, allocations: 4 kB / 0.4916 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.627, allocations: 7.984 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.6272, allocations: 67.34 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6272, allocations: 0 / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6272, allocations: 0 / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6272, allocations: 0 / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.6273, allocations: 27.98 kB / 0.4917 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.628, allocations: 308.7 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.6281, allocations: 38.52 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.6282, allocations: 20.94 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.6282, allocations: 4 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.6282, allocations: 30.56 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.6282, allocations: 4 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006756/0.6289, allocations: 153.4 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.629, allocations: 77.11 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.6292, allocations: 149.3 kB / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.6292, allocations: 33.7 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.6294, allocations: 158.5 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.6294, allocations: 19.72 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.6294, allocations: 0 / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6296, allocations: 314.8 kB / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.6297, allocations: 23.94 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.6298, allocations: 41.77 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.6299, allocations: 28.02 kB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6299, allocations: 0 / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002184/0.6301, allocations: 85.53 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6301, allocations: 4 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6301, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6302, allocations: 0 / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.6304, allocations: 23.98 kB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6304, allocations: 0 / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.6305, allocations: 19.98 kB / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.6306, allocations: 3.953 kB / 0.4931 GB, free: 10.24 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.334e-05/0.6307, allocations: 112.9 kB / 0.4932 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.6307, allocations: 7.906 kB / 0.4932 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.631, allocations: 102.2 kB / 0.4933 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.631, allocations: 4 kB / 0.4933 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6311, allocations: 4 kB / 0.4933 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.6311, allocations: 3.984 kB / 0.4934 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.6317, allocations: 374.5 kB / 0.4937 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6317, allocations: 0 / 0.4937 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.6319, allocations: 23.98 kB / 0.4937 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.6319, allocations: 0 / 0.4937 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.6319, allocations: 4 kB / 0.4937 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6319, allocations: 0 / 0.4937 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.6319, allocations: 11.92 kB / 0.4937 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.6322, allocations: 183.8 kB / 0.4939 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.6323, allocations: 93 kB / 0.494 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.6323, allocations: 0 / 0.494 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6325, allocations: 11.98 kB / 0.494 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.6326, allocations: 7.984 kB / 0.494 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.6326, allocations: 8 kB / 0.494 GB, free: 9.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.6327, allocations: 111.2 kB / 0.4941 GB, free: 9.094 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6327, allocations: 0 / 0.4941 GB, free: 9.094 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.6331, allocations: 31.94 kB / 0.4942 GB, free: 9.062 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.001752/0.6349, allocations: 1.055 MB / 0.4952 GB, free: 8.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.6351, allocations: 55.97 kB / 0.4953 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6351, allocations: 0 / 0.4953 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.079e-05/0.6352, allocations: 31.94 kB / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6355, allocations: 16.3 kB / 0.4953 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.6363, allocations: 216.7 kB / 0.4955 GB, free: 7.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.6366, allocations: 0.7082 MB / 0.4962 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.6368, allocations: 27.42 kB / 0.4962 GB, free: 7.008 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6368, allocations: 0 / 0.4962 GB, free: 7.008 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_CombiTable2Dv_Test11CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11InitializeParameter.cpp:42: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_CombiTable2Dv_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test11Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11Initialize.cpp:279: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_CombiTable2Dv_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.o] Error 1