Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.861e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3389, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1414/0.4804, allocations: 80.46 MB / 438.6 MB, free: 14.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4807, allocations: 75.89 kB / 438.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.4939, allocations: 3.191 MB / 441.9 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.494, allocations: 0 / 441.9 MB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.494, allocations: 7.938 kB / 441.9 MB, free: 11 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.0005074/0.4945, allocations: 392.1 kB / 442.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4946, allocations: 12.03 kB / 442.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4947, allocations: 11.86 kB / 442.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.4949, allocations: 183 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4949, allocations: 0 / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.495, allocations: 0 / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.107e-05/0.4951, allocations: 15.94 kB / 442.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4952, allocations: 53.47 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4952, allocations: 3.906 kB / 442.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4953, allocations: 8 kB / 442.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4953, allocations: 3.953 kB / 442.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.4957, allocations: 237.5 kB / 442.8 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.4959, allocations: 42.5 kB / 442.8 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.4959, allocations: 8.859 kB / 442.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.496, allocations: 4 kB / 442.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.496, allocations: 34.56 kB / 442.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.496, allocations: 0 / 442.9 MB, free: 9.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005075/0.4965, allocations: 105.4 kB / 443 MB, free: 9.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4966, allocations: 77.11 kB / 443 MB, free: 9.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.4968, allocations: 109 kB / 443.1 MB, free: 9.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4968, allocations: 25.7 kB / 443.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.4969, allocations: 162.5 kB / 443.3 MB, free: 9.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.4969, allocations: 19.75 kB / 443.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4969, allocations: 0 / 443.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.497, allocations: 310.8 kB / 443.6 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.4971, allocations: 12 kB / 443.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.4972, allocations: 29.77 kB / 443.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.4972, allocations: 15.94 kB / 443.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4972, allocations: 8.031 kB / 443.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001752/0.4974, allocations: 61.59 kB / 443.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.4975, allocations: 35.11 kB / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4975, allocations: 0 / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4975, allocations: 0 / 443.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4977, allocations: 23.88 kB / 443.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4977, allocations: 3.984 kB / 443.8 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.4978, allocations: 7.938 kB / 443.8 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4978, allocations: 4 kB / 443.8 MB, free: 8.793 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.3e-05/0.4979, allocations: 111 kB / 443.9 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001443/0.4981, allocations: 53.69 kB / 444 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.4981, allocations: 11.91 kB / 444 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.4984, allocations: 74.11 kB / 444.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4984, allocations: 3.984 kB / 444.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4984, allocations: 0 / 444.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4984, allocations: 0 / 444.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.4988, allocations: 291.2 kB / 444.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4989, allocations: 0 / 444.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.499, allocations: 15.98 kB / 444.4 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.499, allocations: 8.266 kB / 444.4 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.499, allocations: 4 kB / 444.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.499, allocations: 4 kB / 444.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4991, allocations: 0 / 444.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.4992, allocations: 159.5 kB / 444.6 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.4993, allocations: 81.02 kB / 444.6 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.4994, allocations: 11.94 kB / 444.7 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.4995, allocations: 4 kB / 444.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.4995, allocations: 7.984 kB / 444.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4996, allocations: 4 kB / 444.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.379e-05/0.4997, allocations: 87.28 kB / 444.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4997, allocations: 0 / 444.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003744/0.5001, allocations: 31.92 kB / 444.8 MB, free: 7.758 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.001324/0.5014, allocations: 0.9109 MB / 445.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.5016, allocations: 83.41 kB / 445.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5017, allocations: 4 kB / 445.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.5017, allocations: 15.94 kB / 445.8 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.502, allocations: 7.953 kB / 445.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.5026, allocations: 175.3 kB / 446 MB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.5029, allocations: 0.6923 MB / 446.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.5031, allocations: 23.42 kB / 446.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5031, allocations: 0 / 446.7 MB, free: 5.785 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_CombiTable1Ds_Test21CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.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_v7.mat", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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_v7.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21FMU.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_CombiTable1Ds_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.o] Error 1