Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 235 MB / 247.6 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.033e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3804, allocations: 54.86 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.528, allocations: 81.23 MB / 441.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5283, allocations: 68.98 kB / 441.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009701/0.538, allocations: 2.658 MB / 443.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.538, allocations: 0 / 443.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.5381, allocations: 0 / 443.8 MB, free: 13.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003542/0.5384, allocations: 354.5 kB / 444.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5385, allocations: 8.031 kB / 444.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.5386, allocations: 50.53 kB / 444.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.5386, allocations: 7.906 kB / 444.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.5388, allocations: 174.9 kB / 444.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5388, allocations: 4 kB / 444.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.5388, allocations: 8 kB / 444.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.5391, allocations: 188.1 kB / 444.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5392, allocations: 7.891 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.5392, allocations: 4 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.5392, allocations: 4 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.5394, allocations: 51.8 kB / 444.7 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.5406, allocations: 1.701 MB / 446.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.5407, allocations: 169.1 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.5407, allocations: 84.08 kB / 446.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.5408, allocations: 82.44 kB / 446.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.5408, allocations: 106.9 kB / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.5409, allocations: 0 / 446.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001247/0.541, allocations: 46.62 kB / 446.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.5411, allocations: 126.7 kB / 447 MB, free: 9.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.5413, allocations: 169.2 kB / 447.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5413, allocations: 33.69 kB / 447.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5415, allocations: 213.6 kB / 447.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.5415, allocations: 0 / 447.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.5415, allocations: 4 kB / 447.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5417, allocations: 322.8 kB / 447.7 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.5418, allocations: 35.98 kB / 447.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.5419, allocations: 149.1 kB / 447.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.5421, allocations: 59.91 kB / 447.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.5421, allocations: 8.609 kB / 447.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004375/0.5426, allocations: 181.8 kB / 448.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5426, allocations: 9.719 kB / 448.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5426, allocations: 8.031 kB / 448.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.5427, allocations: 8 kB / 448.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.5429, allocations: 35.92 kB / 448.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.5429, allocations: 7.938 kB / 448.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5431, allocations: 20.88 kB / 448.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.5431, allocations: 12 kB / 448.2 MB, free: 8.242 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001251/0.5432, allocations: 192.1 kB / 448.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.5433, allocations: 120.7 kB / 448.5 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.37e-05/0.5435, allocations: 116.6 kB / 448.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.123e-05/0.5435, allocations: 180.2 kB / 448.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-05/0.5436, allocations: 183.8 kB / 449 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-05/0.5437, allocations: 180.3 kB / 449.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.5441, allocations: 425.1 kB / 449.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.615e-05/0.5441, allocations: 109 kB / 449.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.5442, allocations: 104.9 kB / 449.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.5443, allocations: 181.6 kB / 450 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.5443, allocations: 180.3 kB / 450.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.857e-05/0.5444, allocations: 180.3 kB / 450.3 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.458e-05/0.5445, allocations: 184.9 kB / 450.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.5447, allocations: 315.7 kB / 450.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.5449, allocations: 186 kB / 451 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.545, allocations: 188.2 kB / 451.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5451, allocations: 101 kB / 451.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.5452, allocations: 184.2 kB / 451.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.5452, allocations: 101.5 kB / 451.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.5454, allocations: 127.2 kB / 451.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5454, allocations: 0 / 451.7 MB, free: 4.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.5459, allocations: 16 kB / 451.7 MB, free: 4.543 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0008853/0.5468, allocations: 0.9011 MB / 452.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.547, allocations: 63.86 kB / 452.7 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.547, allocations: 1.25 kB / 452.7 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.547, allocations: 0 / 452.7 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.5474, allocations: 0.534 MB / 453.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.5481, allocations: 274 kB / 453.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5484, allocations: 0.7047 MB / 454.2 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.5485, allocations: 23.44 kB / 454.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5485, allocations: 0 / 454.2 MB, free: 1.992 MB / 378.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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:28:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:97:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1