Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.604e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3916, allocations: 54.86 MB / 359.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5375, allocations: 81.13 MB / 441 MB, free: 15.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5379, allocations: 75.95 kB / 441.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.5518, allocations: 3.286 MB / 444.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5518, allocations: 0 / 444.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.5518, allocations: 4 kB / 444.4 MB, free: 12.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005522/0.5524, allocations: 404 kB / 444.8 MB, free: 12.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5525, allocations: 12.03 kB / 444.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.5525, allocations: 42.55 kB / 444.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.5526, allocations: 3.906 kB / 444.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.5528, allocations: 179 kB / 445 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5529, allocations: 4 kB / 445 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.5529, allocations: 3.906 kB / 445 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.5531, allocations: 65.38 kB / 445.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.5531, allocations: 0 / 445.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.5531, allocations: 19.23 kB / 445.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.5531, allocations: 0 / 445.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.5532, allocations: 16 kB / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.5537, allocations: 283.6 kB / 445.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5538, allocations: 38.47 kB / 445.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.5538, allocations: 12.86 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.5539, allocations: 8 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5539, allocations: 34.64 kB / 445.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.5539, allocations: 0 / 445.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006322/0.5546, allocations: 133.3 kB / 445.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5546, allocations: 81.11 kB / 445.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5548, allocations: 113 kB / 445.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.5548, allocations: 29.7 kB / 445.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.5549, allocations: 154.5 kB / 446 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.5549, allocations: 27.64 kB / 446 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.555, allocations: 0 / 446 MB, free: 10.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5551, allocations: 318.8 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.5552, allocations: 12 kB / 446.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.861e-05/0.5552, allocations: 29.72 kB / 446.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.5553, allocations: 53.72 kB / 446.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5554, allocations: 3.953 kB / 446.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.5556, allocations: 107.6 kB / 446.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.5557, allocations: 37.64 kB / 446.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5557, allocations: 0.8125 kB / 446.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5557, allocations: 3.984 kB / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.556, allocations: 27.92 kB / 446.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.556, allocations: 1.172 kB / 446.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.5561, allocations: 15.98 kB / 446.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5562, allocations: 4 kB / 446.6 MB, free: 10.04 MB / 378.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.415e-05/0.5563, allocations: 105 kB / 446.7 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.5563, allocations: 11.86 kB / 446.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.5566, allocations: 86.55 kB / 446.8 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5566, allocations: 6.25 kB / 446.8 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5566, allocations: 4 kB / 446.8 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5566, allocations: 3.984 kB / 446.8 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.5572, allocations: 350.6 kB / 447.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5572, allocations: 0 / 447.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5574, allocations: 19.98 kB / 447.2 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5574, allocations: 0 / 447.2 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5574, allocations: 7.984 kB / 447.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.5574, allocations: 4 kB / 447.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5574, allocations: 6.938 kB / 447.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.5577, allocations: 172.2 kB / 447.4 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.5577, allocations: 85.02 kB / 447.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.5578, allocations: 4 kB / 447.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5579, allocations: 15.98 kB / 447.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.558, allocations: 7.984 kB / 447.5 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.558, allocations: 4 kB / 447.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.5581, allocations: 97.03 kB / 447.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5581, allocations: 0 / 447.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.5585, allocations: 33 kB / 447.6 MB, free: 8.934 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 (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.001504/0.56, allocations: 0.9747 MB / 448.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.5604, allocations: 99.41 kB / 448.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5604, allocations: 0 / 448.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.5605, allocations: 31.92 kB / 448.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.5608, allocations: 8 kB / 448.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.5615, allocations: 185.4 kB / 448.9 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5618, allocations: 0.6965 MB / 449.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5619, allocations: 19.42 kB / 449.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5619, allocations: 4 kB / 449.6 MB, free: 6.895 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_Test14CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:36: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.txt", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_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 3.2.2/Resources/Data/Tables/test.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:293:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp21); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14.cpp:756:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_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_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o] Error 1