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/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.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.617/2.617, allocations: 235.1 MB / 243 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.119e-05, allocations: 0 / 303.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4369, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5919, allocations: 80.51 MB / 438.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.5923, allocations: 75.91 kB / 438.7 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.6117, allocations: 3.464 MB / 442.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6117, allocations: 4 kB / 442.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.6117, allocations: 4 kB / 442.2 MB, free: 10.68 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.0006052/0.6124, allocations: 402.1 kB / 442.6 MB, free: 10.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.6124, allocations: 8.031 kB / 442.6 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.6125, allocations: 11.86 kB / 442.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.6129, allocations: 190.9 kB / 442.8 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.6129, allocations: 0 / 442.8 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.6129, allocations: 4 kB / 442.8 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001429/0.6131, allocations: 27.98 kB / 442.8 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.6133, allocations: 63.34 kB / 442.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.6133, allocations: 4 kB / 442.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.6134, allocations: 4 kB / 442.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.6134, allocations: 3.953 kB / 442.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.6139, allocations: 265.3 kB / 443.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.6141, allocations: 46.56 kB / 443.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.6142, allocations: 12.98 kB / 443.2 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.6142, allocations: 7.984 kB / 443.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.6143, allocations: 38.5 kB / 443.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.254e-06/0.6143, allocations: 3.938 kB / 443.3 MB, free: 9.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007675/0.6151, allocations: 125.4 kB / 443.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.6152, allocations: 81.11 kB / 443.5 MB, free: 9.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.6154, allocations: 120.9 kB / 443.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.6154, allocations: 25.7 kB / 443.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.6155, allocations: 158.8 kB / 443.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.6156, allocations: 27.56 kB / 443.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.6156, allocations: 0 / 443.8 MB, free: 8.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6158, allocations: 314.8 kB / 444.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.6159, allocations: 20 kB / 444.1 MB, free: 8.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.616, allocations: 33.72 kB / 444.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.6161, allocations: 28.11 kB / 444.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6161, allocations: 0 / 444.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002968/0.6164, allocations: 77.62 kB / 444.2 MB, free: 8.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.6165, allocations: 33.7 kB / 444.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6166, allocations: 0 / 444.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6166, allocations: 3.953 kB / 444.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.6168, allocations: 19.98 kB / 444.3 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.6169, allocations: 4.031 kB / 444.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.617, allocations: 7.984 kB / 444.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.617, allocations: 8 kB / 444.3 MB, free: 8.312 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 0.0001171/0.6172, allocations: 111 kB / 444.4 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002703/0.6174, allocations: 73.66 kB / 444.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.6175, allocations: 11.86 kB / 444.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.6179, allocations: 94.44 kB / 444.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.6179, allocations: 8 kB / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6179, allocations: 0 / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.618, allocations: 0 / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007398/0.6187, allocations: 346.8 kB / 445 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6187, allocations: 0 / 445 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.6189, allocations: 19.98 kB / 445 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.619, allocations: 0 / 445 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.619, allocations: 0 / 445 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.619, allocations: 4 kB / 445 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.619, allocations: 0 / 445 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.6194, allocations: 175.4 kB / 445.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.6195, allocations: 89.05 kB / 445.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.6195, allocations: 192 / 445.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.6197, allocations: 8 kB / 445.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.6198, allocations: 7.984 kB / 445.2 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.6198, allocations: 12 kB / 445.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.6199, allocations: 95.27 kB / 445.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.62, allocations: 0 / 445.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006486/0.6206, allocations: 24 kB / 445.4 MB, free: 7.16 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.001907/0.6226, allocations: 0.941 MB / 446.3 MB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.6229, allocations: 107.4 kB / 446.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6229, allocations: 3.938 kB / 446.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.623, allocations: 27.94 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.6234, allocations: 4 kB / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.6244, allocations: 195.7 kB / 446.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.6248, allocations: 0.6885 MB / 447.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.625, allocations: 27.42 kB / 447.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.625, allocations: 4 kB / 447.4 MB, free: 5.105 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_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/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/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/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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1