Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.567/2.567, allocations: 270 MB / 282.7 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.417e-05, allocations: 4 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4634, allocations: 61.86 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.6268, allocations: 89.17 MB / 498.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.6271, allocations: 67.95 kB / 498.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02007/0.6472, allocations: 4.554 MB / 0.4909 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6473, allocations: 0 / 0.4909 GB, free: 12.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.6473, allocations: 4 kB / 0.4909 GB, free: 12.71 MB / 426.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.0005328/0.6479, allocations: 390.2 kB / 0.4913 GB, free: 12.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.6479, allocations: 8.031 kB / 0.4913 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.648, allocations: 30.56 kB / 0.4913 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.6481, allocations: 11.91 kB / 0.4914 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.6484, allocations: 202.8 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.6484, allocations: 0 / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.6484, allocations: 4 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6486, allocations: 71.34 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6486, allocations: 4 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.6487, allocations: 0 / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6487, allocations: 0 / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.6488, allocations: 19.98 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.6494, allocations: 312.7 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.6496, allocations: 46.5 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.6496, allocations: 16.86 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.6497, allocations: 0 / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.6497, allocations: 30.56 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.6497, allocations: 3.938 kB / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007481/0.6505, allocations: 161.4 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.6506, allocations: 81.11 kB / 0.4923 GB, free: 11.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.6508, allocations: 134.7 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.6508, allocations: 25.7 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.6509, allocations: 166.5 kB / 0.4926 GB, free: 10.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.6509, allocations: 19.7 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.651, allocations: 4 kB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6511, allocations: 314.8 kB / 0.4929 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.6512, allocations: 20 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.6513, allocations: 33.7 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.6514, allocations: 28.2 kB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6514, allocations: 4 kB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002384/0.6517, allocations: 85.53 kB / 0.4931 GB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6517, allocations: 4 kB / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6517, allocations: 0 / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6517, allocations: 8.016 kB / 0.4931 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.652, allocations: 23.98 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.652, allocations: 4 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.6522, allocations: 11.98 kB / 0.4931 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.6522, allocations: 7.953 kB / 0.4931 GB, free: 10.23 MB / 426.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 (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 prepare postOptimizeDAE: time 9.59e-05/0.6523, allocations: 116.9 kB / 0.4932 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.6524, allocations: 7.906 kB / 0.4932 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.6527, allocations: 106.2 kB / 0.4933 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6527, allocations: 0 / 0.4933 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6528, allocations: 144 / 0.4933 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6528, allocations: 7.984 kB / 0.4934 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.6534, allocations: 370.5 kB / 0.4937 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6534, allocations: 0 / 0.4937 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6536, allocations: 31.97 kB / 0.4937 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.6536, allocations: 0 / 0.4937 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6536, allocations: 0 / 0.4937 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6537, allocations: 4 kB / 0.4937 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.6537, allocations: 3.938 kB / 0.4937 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.654, allocations: 187.4 kB / 0.4939 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.654, allocations: 81.02 kB / 0.494 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.6541, allocations: 12 kB / 0.494 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.6543, allocations: 11.98 kB / 0.494 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.6543, allocations: 7.984 kB / 0.494 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.6543, allocations: 0 / 0.494 GB, free: 9.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.6545, allocations: 118 kB / 0.4941 GB, free: 9.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6545, allocations: 0 / 0.4941 GB, free: 9.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.6549, allocations: 31.94 kB / 0.4942 GB, free: 9.051 MB / 426.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.001817/0.6567, allocations: 1.055 MB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.657, allocations: 55.97 kB / 0.4953 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.657, allocations: 0 / 0.4953 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.6571, allocations: 39.92 kB / 0.4953 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.6575, allocations: 18.97 kB / 0.4953 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.6582, allocations: 216.7 kB / 0.4955 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.6586, allocations: 0.6965 MB / 0.4962 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.6587, allocations: 31.42 kB / 0.4962 GB, free: 6.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6587, allocations: 0 / 0.4962 GB, free: 6.996 MB / 426.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"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31InitializeParameter.cpp:42:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Resources/Data/Tables/test_utf8.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:31: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Resources/Data/Tables/test_utf8.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:34: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31FMU.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_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o] Error 1