Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.488e-05, allocations: 4.938 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.429, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.5814, allocations: 81.26 MB / 441.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5817, allocations: 72.75 kB / 441.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.5964, allocations: 3.624 MB / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5964, allocations: 0 / 444.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.5964, allocations: 4 kB / 444.8 MB, free: 11.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005096/0.5969, allocations: 404 kB / 445.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.597, allocations: 12.03 kB / 445.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.5971, allocations: 38.55 kB / 445.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.5971, allocations: 7.953 kB / 445.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.5974, allocations: 182.9 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.5974, allocations: 12.67 kB / 445.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.5975, allocations: 4 kB / 445.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5977, allocations: 76.2 kB / 445.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5977, allocations: 4 kB / 445.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5977, allocations: 0 / 445.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5977, allocations: 8.703 kB / 445.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5978, allocations: 27.98 kB / 445.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.5985, allocations: 385 kB / 446 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.5988, allocations: 85.16 kB / 446 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.5989, allocations: 33.7 kB / 446.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.599, allocations: 3.953 kB / 446.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.599, allocations: 41.38 kB / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.599, allocations: 4 kB / 446.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007411/0.5998, allocations: 182.2 kB / 446.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.5999, allocations: 110.8 kB / 446.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.6, allocations: 117.9 kB / 446.5 MB, free: 10 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.6001, allocations: 29.64 kB / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.6002, allocations: 154.6 kB / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.6002, allocations: 31.56 kB / 446.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.6002, allocations: 4 kB / 446.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6004, allocations: 318.8 kB / 447 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.6005, allocations: 24 kB / 447.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6006, allocations: 46.83 kB / 447.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.6007, allocations: 54.34 kB / 447.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6008, allocations: 0.5625 kB / 447.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002982/0.6011, allocations: 143.1 kB / 447.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.6011, allocations: 29.7 kB / 447.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6011, allocations: 12.02 kB / 447.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.6012, allocations: 0 / 447.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.6013, allocations: 19.94 kB / 447.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.6014, allocations: 11.39 kB / 447.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.493e-05/0.6015, allocations: 8 kB / 447.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.6015, allocations: 4 kB / 447.4 MB, free: 9.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 (11): * Single equations (assignments): 10 * 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 9.376e-05/0.6016, allocations: 105 kB / 447.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.6017, allocations: 15.86 kB / 447.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.6021, allocations: 129.6 kB / 447.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6021, allocations: 4 kB / 447.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6021, allocations: 0 / 447.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6021, allocations: 0 / 447.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008303/0.6029, allocations: 491.9 kB / 448.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.603, allocations: 4.031 kB / 448.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.6031, allocations: 23.98 kB / 448.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.6032, allocations: 3.938 kB / 448.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.6032, allocations: 0.9375 kB / 448.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6032, allocations: 4 kB / 448.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6032, allocations: 0 / 448.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.6036, allocations: 315.8 kB / 448.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.6037, allocations: 86.17 kB / 448.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.6037, allocations: 8 kB / 448.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6039, allocations: 7.984 kB / 448.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.6039, allocations: 7.953 kB / 448.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.604, allocations: 4 kB / 448.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.6041, allocations: 103.3 kB / 448.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6041, allocations: 0 / 448.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.6045, allocations: 39.98 kB / 448.7 MB, free: 7.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001733/0.6063, allocations: 1.242 MB / 450 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.6066, allocations: 127.3 kB / 450.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6066, allocations: 0 / 450.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.6067, allocations: 39.92 kB / 450.1 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.6071, allocations: 8 kB / 450.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.6079, allocations: 235.4 kB / 450.4 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.6082, allocations: 0.7083 MB / 451.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.6084, allocations: 27.42 kB / 451.1 MB, free: 5.227 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6084, allocations: 0 / 451.1 MB, free: 5.227 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:37: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_CombiTable1D_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.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", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:315:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:316:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18.cpp:765:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1