Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.839e-05, allocations: 4 kB / 347.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5692, allocations: 89.17 MB / 498.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5695, allocations: 75.95 kB / 498.2 MB, free: 1.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01946/0.589, allocations: 4.547 MB / 0.4909 GB, free: 12.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5891, allocations: 0 / 0.4909 GB, free: 12.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5891, allocations: 0 / 0.4909 GB, free: 12.8 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.0005392/0.5897, allocations: 398.2 kB / 0.4913 GB, free: 12.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5897, allocations: 16.02 kB / 0.4913 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.5898, allocations: 30.56 kB / 0.4914 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.5898, allocations: 7.906 kB / 0.4914 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.5901, allocations: 200.4 kB / 0.4915 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.5901, allocations: 0 / 0.4915 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.5902, allocations: 4 kB / 0.4916 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.5904, allocations: 63.41 kB / 0.4916 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5904, allocations: 3.938 kB / 0.4916 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5904, allocations: 4 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5904, allocations: 4 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.5905, allocations: 23.97 kB / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.5911, allocations: 312.7 kB / 0.4919 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.5913, allocations: 38.56 kB / 0.492 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.5913, allocations: 12.86 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5914, allocations: 7.938 kB / 0.492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5914, allocations: 34.56 kB / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.5914, allocations: 0 / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000724/0.5921, allocations: 153.4 kB / 0.4922 GB, free: 11.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.5922, allocations: 85 kB / 0.4923 GB, free: 11.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5924, allocations: 134.6 kB / 0.4924 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5925, allocations: 25.7 kB / 0.4924 GB, free: 11.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.5925, allocations: 158.5 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5926, allocations: 27.77 kB / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.5926, allocations: 0 / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5927, allocations: 322.8 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.5928, allocations: 20 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.181e-05/0.5929, allocations: 33.7 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.593, allocations: 19.98 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.593, allocations: 0 / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002196/0.5932, allocations: 85.81 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5933, allocations: 10.75 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5933, allocations: 4 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5933, allocations: 4.031 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.5936, allocations: 27.91 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.5936, allocations: 3.938 kB / 0.4931 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5937, allocations: 19.95 kB / 0.4931 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5938, allocations: 0 / 0.4931 GB, free: 10.32 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.504e-05/0.5939, allocations: 120.2 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.5939, allocations: 7.906 kB / 0.4932 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.5942, allocations: 98.3 kB / 0.4933 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5942, allocations: 3.984 kB / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5943, allocations: 0 / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5943, allocations: 144 / 0.4933 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.5949, allocations: 378.4 kB / 0.4937 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.5949, allocations: 3.984 kB / 0.4937 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.5951, allocations: 31.98 kB / 0.4937 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.5951, allocations: 3.984 kB / 0.4937 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5951, allocations: 0 / 0.4937 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5951, allocations: 0 / 0.4937 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5951, allocations: 3.953 kB / 0.4937 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5954, allocations: 191.4 kB / 0.4939 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.5955, allocations: 85.02 kB / 0.494 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.5955, allocations: 4 kB / 0.494 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5957, allocations: 19.98 kB / 0.494 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.5958, allocations: 7.984 kB / 0.494 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5958, allocations: 3.953 kB / 0.494 GB, free: 9.273 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.596, allocations: 107.3 kB / 0.4941 GB, free: 9.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.596, allocations: 0 / 0.4941 GB, free: 9.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.5964, allocations: 28 kB / 0.4942 GB, free: 9.141 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.001726/0.5981, allocations: 1.048 MB / 0.4952 GB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.5984, allocations: 55.98 kB / 0.4952 GB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5984, allocations: 0 / 0.4952 GB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.5985, allocations: 35.92 kB / 0.4953 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.5988, allocations: 22.97 kB / 0.4953 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.5996, allocations: 228.6 kB / 0.4955 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.5999, allocations: 0.7043 MB / 0.4962 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.6001, allocations: 27.42 kB / 0.4962 GB, free: 7.078 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6001, allocations: 0 / 0.4962 GB, free: 7.078 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_Test10CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.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_v4.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.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_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.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_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10FMU.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_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.o] Error 1