Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test24.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.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.714e-05, allocations: 0 / 303.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3467, allocations: 54.86 MB / 358.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.4952, allocations: 80.48 MB / 438.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4955, allocations: 63.97 kB / 438.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.5102, allocations: 3.211 MB / 441.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5102, allocations: 4 kB / 441.9 MB, free: 11.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.5102, allocations: 0 / 441.9 MB, free: 11.84 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.0005216/0.5108, allocations: 392.1 kB / 442.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.5108, allocations: 12.03 kB / 442.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.5109, allocations: 11.86 kB / 442.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.5112, allocations: 183 kB / 442.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.5112, allocations: 0 / 442.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.5112, allocations: 4 kB / 442.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.345e-05/0.5113, allocations: 12 kB / 442.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5115, allocations: 53.47 kB / 442.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.5115, allocations: 3.906 kB / 442.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5115, allocations: 4 kB / 442.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5116, allocations: 7.953 kB / 442.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.512, allocations: 261.5 kB / 442.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.5123, allocations: 34.58 kB / 442.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.5123, allocations: 12.86 kB / 442.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.5124, allocations: 12.02 kB / 442.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.5124, allocations: 34.56 kB / 442.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.5124, allocations: 0 / 442.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000583/0.513, allocations: 105.3 kB / 443 MB, free: 10.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.5131, allocations: 85.09 kB / 443.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.5132, allocations: 105 kB / 443.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.5133, allocations: 29.7 kB / 443.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.5134, allocations: 158.5 kB / 443.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.5134, allocations: 19.75 kB / 443.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5134, allocations: 0 / 443.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5135, allocations: 310.8 kB / 443.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.5136, allocations: 15.94 kB / 443.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.5137, allocations: 29.7 kB / 443.7 MB, free: 9.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/0.5138, allocations: 23.92 kB / 443.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5138, allocations: 0 / 443.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001951/0.514, allocations: 73.62 kB / 443.8 MB, free: 9.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.514, allocations: 29.7 kB / 443.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5141, allocations: 0 / 443.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5141, allocations: 4 kB / 443.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5142, allocations: 15.94 kB / 443.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5143, allocations: 4 kB / 443.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.5144, allocations: 4 kB / 443.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.5144, allocations: 0 / 443.9 MB, free: 9.605 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 9.819e-05/0.5145, allocations: 109 kB / 444 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001808/0.5147, allocations: 65.62 kB / 444.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.5148, allocations: 7.906 kB / 444.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.515, allocations: 78.03 kB / 444.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.515, allocations: 144 / 444.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.515, allocations: 3.984 kB / 444.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5151, allocations: 4.359 kB / 444.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.5156, allocations: 315.1 kB / 444.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.5156, allocations: 3.984 kB / 444.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.5157, allocations: 12 kB / 444.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.5158, allocations: 3.953 kB / 444.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5158, allocations: 0 / 444.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5158, allocations: 0 / 444.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5158, allocations: 0 / 444.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.5161, allocations: 163.4 kB / 444.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.5161, allocations: 89.02 kB / 444.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.5162, allocations: 7.891 kB / 444.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.5163, allocations: 7.984 kB / 444.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.5164, allocations: 4 kB / 444.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5164, allocations: 3.938 kB / 444.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.5165, allocations: 99.27 kB / 444.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5165, allocations: 3.938 kB / 444.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.5169, allocations: 20 kB / 444.9 MB, free: 8.531 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.001438/0.5184, allocations: 0.9106 MB / 445.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.5187, allocations: 91.34 kB / 445.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.5187, allocations: 0 / 445.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.5188, allocations: 20 kB / 445.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.5191, allocations: 15.92 kB / 445.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.5198, allocations: 183.2 kB / 446.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5201, allocations: 0.6924 MB / 446.8 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5202, allocations: 23.42 kB / 446.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5202, allocations: 0 / 446.8 MB, free: 6.535 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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.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.txt", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.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_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24FMU.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_CombiTable1D_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1