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.Test18.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235 MB / 248 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.78e-05, allocations: 0 / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4227, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.5754, allocations: 81.18 MB / 445.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5757, allocations: 75.95 kB / 445.9 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.5906, allocations: 3.586 MB / 449.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5906, allocations: 0 / 449.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.5906, allocations: 11.94 kB / 449.5 MB, free: 11.67 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005284/0.5912, allocations: 396.6 kB / 449.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5913, allocations: 13.25 kB / 449.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.5913, allocations: 34.56 kB / 449.9 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.5914, allocations: 7.953 kB / 449.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.5917, allocations: 191.4 kB / 450.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5917, allocations: 0 / 450.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.5917, allocations: 7.984 kB / 450.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.5919, allocations: 71.41 kB / 450.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5919, allocations: 0 / 450.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.592, allocations: 0 / 450.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.592, allocations: 7.953 kB / 450.2 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.503e-05/0.5921, allocations: 23.98 kB / 450.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.5926, allocations: 296.7 kB / 450.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.5927, allocations: 50.56 kB / 450.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.5928, allocations: 18.14 kB / 450.6 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.5928, allocations: 4 kB / 450.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.5929, allocations: 34.52 kB / 450.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5929, allocations: 0 / 450.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006235/0.5935, allocations: 141.4 kB / 450.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.5936, allocations: 77.11 kB / 450.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.5938, allocations: 122.8 kB / 450.9 MB, free: 9.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.5938, allocations: 29.7 kB / 451 MB, free: 9.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.5939, allocations: 158.7 kB / 451.1 MB, free: 9.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.594, allocations: 31.58 kB / 451.2 MB, free: 9.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.594, allocations: 4 kB / 451.2 MB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5941, allocations: 310.8 kB / 451.5 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.5942, allocations: 24 kB / 451.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.5943, allocations: 39.3 kB / 451.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.5944, allocations: 45.7 kB / 451.6 MB, free: 9.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5944, allocations: 0 / 451.6 MB, free: 9.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00026/0.5947, allocations: 123.4 kB / 451.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.5947, allocations: 33.7 kB / 451.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5948, allocations: 0 / 451.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5948, allocations: 0 / 451.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.595, allocations: 20.02 kB / 451.7 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.595, allocations: 4 kB / 451.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.5951, allocations: 8 kB / 451.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.5951, allocations: 0 / 451.8 MB, free: 9.133 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 (9): * Single equations (assignments): 8 * 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.016e-05/0.5952, allocations: 112.9 kB / 451.9 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.5953, allocations: 11.86 kB / 451.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.5956, allocations: 106.2 kB / 452 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5956, allocations: 0 / 452 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5956, allocations: 7.938 kB / 452 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5956, allocations: 0 / 452 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.5962, allocations: 366.5 kB / 452.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5962, allocations: 0 / 452.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.5964, allocations: 20.17 kB / 452.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.5964, allocations: 0 / 452.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.5964, allocations: 8 kB / 452.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.5964, allocations: 4 kB / 452.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5964, allocations: 0 / 452.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.5967, allocations: 186.5 kB / 452.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.5968, allocations: 88.95 kB / 452.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.5968, allocations: 4 kB / 452.7 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5969, allocations: 8 kB / 452.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.597, allocations: 7.984 kB / 452.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.597, allocations: 4 kB / 452.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5971, allocations: 104 kB / 452.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5972, allocations: 0 / 452.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.5975, allocations: 32 kB / 452.8 MB, free: 7.984 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 (8): * Single equations (assignments): 8 * 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.00157/0.5991, allocations: 0.9712 MB / 453.8 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.5994, allocations: 107.4 kB / 453.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5995, allocations: 0 / 453.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.5995, allocations: 35.91 kB / 453.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.5998, allocations: 12 kB / 453.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.6005, allocations: 200.6 kB / 454.1 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6009, allocations: 0.6934 MB / 454.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.601, allocations: 35.3 kB / 454.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.118e-06/0.601, allocations: 0 / 454.9 MB, free: 5.91 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_CombiTable1Ds_Test18CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:37: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.txt", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.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.txt", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:295:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:296:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.cpp:745:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.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_CombiTable1Ds_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1