Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.499/2.499, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.187e-05, allocations: 4 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3881, allocations: 54.85 MB / 359.9 MB, free: 2.605 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.5371, allocations: 81.15 MB / 441 MB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5375, allocations: 63.97 kB / 441.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.5517, allocations: 3.341 MB / 444.4 MB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5518, allocations: 4 kB / 444.4 MB, free: 12.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.5518, allocations: 0 / 444.4 MB, free: 12.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004962/0.5523, allocations: 400.6 kB / 444.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5524, allocations: 8.031 kB / 444.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.5524, allocations: 30.56 kB / 444.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.5525, allocations: 11.86 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5528, allocations: 183 kB / 445 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5528, allocations: 0 / 445 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.5528, allocations: 11.91 kB / 445 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.553, allocations: 63.34 kB / 445.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.553, allocations: 3.984 kB / 445.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5531, allocations: 0 / 445.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5531, allocations: 3.953 kB / 445.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.5532, allocations: 12 kB / 445.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.5536, allocations: 277 kB / 445.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.5539, allocations: 43.59 kB / 445.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.5539, allocations: 16.8 kB / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.554, allocations: 0 / 445.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.554, allocations: 39.53 kB / 445.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.554, allocations: 0 / 445.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005453/0.5546, allocations: 113.4 kB / 445.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.5547, allocations: 85.05 kB / 445.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5548, allocations: 111.1 kB / 445.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5549, allocations: 25.7 kB / 445.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.5549, allocations: 158.5 kB / 446 MB, free: 10.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.555, allocations: 19.75 kB / 446 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.555, allocations: 0.6562 kB / 446 MB, free: 10.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5551, allocations: 314.8 kB / 446.3 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.5552, allocations: 12 kB / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.5553, allocations: 33.7 kB / 446.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.087e-05/0.5554, allocations: 50.5 kB / 446.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5554, allocations: 0 / 446.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002165/0.5556, allocations: 103.3 kB / 446.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.5557, allocations: 34.69 kB / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5557, allocations: 0 / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5557, allocations: 0 / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5559, allocations: 25.45 kB / 446.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5559, allocations: 0 / 446.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/0.556, allocations: 8 kB / 446.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.556, allocations: 0 / 446.6 MB, free: 10.09 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 (6): * Single equations (assignments): 5 * 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.264e-05/0.5561, allocations: 105 kB / 446.7 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.5562, allocations: 7.984 kB / 446.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.5564, allocations: 87.67 kB / 446.8 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5564, allocations: 3.984 kB / 446.8 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5564, allocations: 3.938 kB / 446.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5565, allocations: 0 / 446.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.557, allocations: 331.8 kB / 447.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.557, allocations: 0 / 447.1 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5571, allocations: 19.94 kB / 447.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5572, allocations: 0 / 447.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5572, allocations: 4 kB / 447.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5572, allocations: 4 kB / 447.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5572, allocations: 0.875 kB / 447.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.5574, allocations: 159.5 kB / 447.3 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.5575, allocations: 85.02 kB / 447.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.5575, allocations: 11.94 kB / 447.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5577, allocations: 4.438 kB / 447.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5577, allocations: 8 kB / 447.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5577, allocations: 3.984 kB / 447.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.259e-05/0.5578, allocations: 92.16 kB / 447.5 MB, free: 9.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5579, allocations: 0 / 447.5 MB, free: 9.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.5583, allocations: 35.91 kB / 447.5 MB, free: 9.047 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 (5): * Single equations (assignments): 5 * 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.001483/0.5597, allocations: 0.9596 MB / 448.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.56, allocations: 91.39 kB / 448.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5601, allocations: 4 kB / 448.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.5601, allocations: 20 kB / 448.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.5604, allocations: 15 kB / 448.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.5611, allocations: 185.5 kB / 448.8 MB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5614, allocations: 0.6887 MB / 449.5 MB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.5615, allocations: 27.42 kB / 449.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5615, allocations: 0 / 449.5 MB, free: 7.027 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_CombiTable1D_Test23CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.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", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.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_CombiTable1D_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o] Error 1