Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test10.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.535e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3481, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.4963, allocations: 80.46 MB / 438.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4966, allocations: 67.97 kB / 438.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.5101, allocations: 3.173 MB / 441.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5102, allocations: 0 / 441.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.5102, allocations: 0 / 441.8 MB, free: 11.05 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.0005633/0.5108, allocations: 404.1 kB / 442.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5108, allocations: 16.03 kB / 442.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.5109, allocations: 15.86 kB / 442.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.5112, allocations: 182.9 kB / 442.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5112, allocations: 7.938 kB / 442.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.5112, allocations: 0 / 442.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.987e-05/0.5114, allocations: 16 kB / 442.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.5115, allocations: 65.45 kB / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5115, allocations: 0 / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.5116, allocations: 7.953 kB / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5116, allocations: 0 / 442.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.512, allocations: 261.3 kB / 442.8 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.5121, allocations: 30.56 kB / 442.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.5122, allocations: 16.86 kB / 442.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.5122, allocations: 4 kB / 442.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5122, allocations: 34.52 kB / 442.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.5122, allocations: 0 / 442.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006374/0.5129, allocations: 129.4 kB / 443 MB, free: 9.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.513, allocations: 77.11 kB / 443.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.5131, allocations: 113 kB / 443.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5131, allocations: 29.7 kB / 443.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.5132, allocations: 158.5 kB / 443.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.5133, allocations: 23.64 kB / 443.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.5133, allocations: 0 / 443.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5134, allocations: 314.8 kB / 443.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.5135, allocations: 16 kB / 443.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.5136, allocations: 25.72 kB / 443.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.5136, allocations: 28.02 kB / 443.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5136, allocations: 0 / 443.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/0.5139, allocations: 77.69 kB / 443.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.5139, allocations: 39.06 kB / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.5139, allocations: 0 / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.514, allocations: 0 / 443.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.5142, allocations: 19.98 kB / 443.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5142, allocations: 7.938 kB / 443.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.5143, allocations: 19.92 kB / 443.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.5143, allocations: 4 kB / 443.9 MB, free: 8.723 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 9.265e-05/0.5145, allocations: 107 kB / 444 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001838/0.5146, allocations: 73.53 kB / 444.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.5147, allocations: 7.859 kB / 444.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.5149, allocations: 82.69 kB / 444.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.515, allocations: 0 / 444.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.515, allocations: 8 kB / 444.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.515, allocations: 0 / 444.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.5155, allocations: 327.1 kB / 444.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5155, allocations: 0 / 444.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.5157, allocations: 23.98 kB / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5157, allocations: 0 / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5157, allocations: 0 / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5158, allocations: 0 / 444.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5158, allocations: 4 kB / 444.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.516, allocations: 171.4 kB / 444.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.5161, allocations: 89.09 kB / 444.8 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.5161, allocations: 4 kB / 444.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.5163, allocations: 11.98 kB / 444.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.5163, allocations: 8.078 kB / 444.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.5164, allocations: 8 kB / 444.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.5164, allocations: 91.27 kB / 444.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5165, allocations: 0 / 444.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003787/0.5168, allocations: 28 kB / 444.9 MB, free: 7.602 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.001365/0.5182, allocations: 0.9248 MB / 445.9 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5185, allocations: 115.3 kB / 446 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5185, allocations: 0 / 446 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.5186, allocations: 20 kB / 446 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.5189, allocations: 4 kB / 446 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.5196, allocations: 187.3 kB / 446.2 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.5199, allocations: 0.697 MB / 446.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.52, allocations: 27.42 kB / 446.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.52, allocations: 4 kB / 446.9 MB, free: 5.57 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:36:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.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_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10.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_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o] Error 1