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.Test12.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.9e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.5883, allocations: 81.13 MB / 445.7 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5886, allocations: 71.95 kB / 445.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.6024, allocations: 3.305 MB / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6025, allocations: 4 kB / 449.1 MB, free: 12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.6025, allocations: 0 / 449.1 MB, free: 12 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.0005674/0.6031, allocations: 400.1 kB / 449.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.6032, allocations: 12.02 kB / 449.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.6032, allocations: 30.56 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.6033, allocations: 8.469 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.6036, allocations: 186.8 kB / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6036, allocations: 8.75 kB / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.6036, allocations: 4 kB / 449.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.6038, allocations: 59.41 kB / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6038, allocations: 0 / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.6039, allocations: 7.234 kB / 449.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6039, allocations: 4 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.604, allocations: 19.98 kB / 449.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.6044, allocations: 276.8 kB / 450.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.6046, allocations: 48.2 kB / 450.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.6046, allocations: 12.86 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.6047, allocations: 8.047 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.6047, allocations: 34.56 kB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.6047, allocations: 0 / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006681/0.6054, allocations: 137.4 kB / 450.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.6055, allocations: 77.11 kB / 450.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.6057, allocations: 118.4 kB / 450.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.6057, allocations: 25.7 kB / 450.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.6058, allocations: 154.6 kB / 450.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.6059, allocations: 27.64 kB / 450.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.6059, allocations: 4 kB / 450.8 MB, free: 10.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.606, allocations: 318.8 kB / 451.1 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.6061, allocations: 12 kB / 451.1 MB, free: 9.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.6062, allocations: 37.64 kB / 451.1 MB, free: 9.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.6063, allocations: 45.7 kB / 451.2 MB, free: 9.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6063, allocations: 3.953 kB / 451.2 MB, free: 9.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002408/0.6066, allocations: 103.4 kB / 451.3 MB, free: 9.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.6066, allocations: 38.36 kB / 451.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6067, allocations: 4.031 kB / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6067, allocations: 0 / 451.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.6069, allocations: 31.91 kB / 451.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.607, allocations: 0 / 451.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6071, allocations: 8 kB / 451.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.6071, allocations: 4 kB / 451.3 MB, free: 9.52 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.765e-05/0.6072, allocations: 117.9 kB / 451.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.6073, allocations: 11.86 kB / 451.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.6075, allocations: 90.59 kB / 451.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.6076, allocations: 0 / 451.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6076, allocations: 0 / 451.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6076, allocations: 0 / 451.6 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.6081, allocations: 350.5 kB / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.6081, allocations: 3.984 kB / 451.9 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.6083, allocations: 23.98 kB / 451.9 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6083, allocations: 4 kB / 451.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6084, allocations: 0 / 451.9 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6084, allocations: 3.938 kB / 451.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6084, allocations: 0 / 451.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.6086, allocations: 179.3 kB / 452.1 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.6087, allocations: 85.02 kB / 452.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.6087, allocations: 9.484 kB / 452.2 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6089, allocations: 12 kB / 452.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.609, allocations: 7.984 kB / 452.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.609, allocations: 0 / 452.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.6091, allocations: 100.5 kB / 452.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6091, allocations: 0 / 452.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000358/0.6095, allocations: 28 kB / 452.4 MB, free: 8.41 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.00155/0.611, allocations: 0.9853 MB / 453.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6113, allocations: 103.4 kB / 453.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6113, allocations: 0 / 453.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.6114, allocations: 23.94 kB / 453.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.6117, allocations: 8 kB / 453.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.6123, allocations: 188 kB / 453.7 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.6127, allocations: 0.6965 MB / 454.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.6128, allocations: 23.42 kB / 454.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6128, allocations: 0 / 454.4 MB, free: 6.371 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.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", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:292:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp21; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12FMU.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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.o] Error 1