Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.739e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3842, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5338, allocations: 81.15 MB / 441 MB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5341, allocations: 63.97 kB / 441.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01409/0.5482, allocations: 3.337 MB / 444.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5483, allocations: 0 / 444.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.5483, allocations: 4 kB / 444.4 MB, free: 12.36 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.0004954/0.5488, allocations: 396 kB / 444.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5489, allocations: 8.031 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.5489, allocations: 30.56 kB / 444.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.549, allocations: 11.86 kB / 444.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.5493, allocations: 183 kB / 445 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5493, allocations: 9.75 kB / 445 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.5493, allocations: 4 kB / 445 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.5495, allocations: 59.34 kB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5495, allocations: 0 / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5495, allocations: 0 / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.5496, allocations: 3.953 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.5496, allocations: 19.98 kB / 445.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.5501, allocations: 275.6 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.5504, allocations: 50.55 kB / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.5504, allocations: 12.8 kB / 445.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5505, allocations: 0 / 445.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.5505, allocations: 38.52 kB / 445.5 MB, free: 11.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.5505, allocations: 4 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005542/0.5511, allocations: 105.5 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.5512, allocations: 85.05 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5513, allocations: 115.1 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5513, allocations: 29.7 kB / 445.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.5514, allocations: 154.5 kB / 446 MB, free: 10.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.5515, allocations: 23.66 kB / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5515, allocations: 0 / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5516, allocations: 318.8 kB / 446.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.5517, allocations: 16 kB / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.5518, allocations: 27.03 kB / 446.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.879e-05/0.5519, allocations: 53.62 kB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5519, allocations: 0 / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002087/0.5521, allocations: 95.39 kB / 446.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.5522, allocations: 33.66 kB / 446.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5522, allocations: 0 / 446.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5522, allocations: 8.016 kB / 446.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.5524, allocations: 19.31 kB / 446.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.5524, allocations: 0 / 446.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/0.5525, allocations: 11.98 kB / 446.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5525, allocations: 0 / 446.6 MB, free: 9.949 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.616e-05/0.5526, allocations: 109 kB / 446.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.5526, allocations: 3.906 kB / 446.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.5529, allocations: 88.94 kB / 446.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5529, allocations: 0 / 446.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5529, allocations: 0 / 446.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5529, allocations: 0 / 446.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.5534, allocations: 330.5 kB / 447.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5534, allocations: 3.953 kB / 447.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5536, allocations: 15.98 kB / 447.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5536, allocations: 0 / 447.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5536, allocations: 8 kB / 447.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5536, allocations: 0 / 447.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5536, allocations: 0 / 447.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.5538, allocations: 164 kB / 447.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.5539, allocations: 93.05 kB / 447.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.554, allocations: 0.9375 kB / 447.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.5541, allocations: 4 kB / 447.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.5541, allocations: 11.98 kB / 447.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.5542, allocations: 0 / 447.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.166e-05/0.5543, allocations: 101 kB / 447.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5543, allocations: 1.031 kB / 447.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.5546, allocations: 23.94 kB / 447.5 MB, free: 8.914 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.001467/0.5561, allocations: 0.9679 MB / 448.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.5564, allocations: 95.39 kB / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5564, allocations: 0 / 448.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.5565, allocations: 20 kB / 448.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.5568, allocations: 11.98 kB / 448.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.5575, allocations: 177.6 kB / 448.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.5578, allocations: 0.6926 MB / 449.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.5579, allocations: 23.42 kB / 449.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5579, allocations: 4 kB / 449.5 MB, free: 6.902 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_Test21CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.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_v7.mat", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.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_v7.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.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_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21.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_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21FMU.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_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.o] Error 1