Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002226/0.002225, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 86.97 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.55/0.55, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005039, allocations: 20 kB / 431.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1418, allocations: 58.85 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4849/0.6267, allocations: 86.22 MB / 0.563 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.627, allocations: 75.97 kB / 0.5631 GB, free: 220 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.639, allocations: 3.165 MB / 0.5662 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.639, allocations: 0 / 0.5662 GB, free: 13.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.639, allocations: 4 kB / 0.5662 GB, free: 13.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000516/0.6396, allocations: 370.4 kB / 0.5665 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6396, allocations: 8.031 kB / 0.5666 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.6397, allocations: 42.55 kB / 0.5666 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.6397, allocations: 7.906 kB / 0.5666 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.6399, allocations: 168.7 kB / 0.5668 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.64, allocations: 11.98 kB / 0.5668 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.64, allocations: 11.98 kB / 0.5668 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.6403, allocations: 184.3 kB / 0.567 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6404, allocations: 0 / 0.567 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.6404, allocations: 4.344 kB / 0.567 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.6404, allocations: 18.94 kB / 0.567 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.6406, allocations: 55.8 kB / 0.567 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.6419, allocations: 1.708 MB / 0.5687 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6421, allocations: 173.1 kB / 0.5689 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.6422, allocations: 75.28 kB / 0.5689 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/0.6422, allocations: 105.8 kB / 0.569 GB, free: 9.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.865e-06/0.6422, allocations: 0 / 0.569 GB, free: 9.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001097/0.6424, allocations: 37.55 kB / 0.5691 GB, free: 9.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.6424, allocations: 134.6 kB / 0.5692 GB, free: 9.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.6427, allocations: 173.1 kB / 0.5694 GB, free: 9.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.6428, allocations: 25.7 kB / 0.5694 GB, free: 9.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.6429, allocations: 213.6 kB / 0.5696 GB, free: 9.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-06/0.6429, allocations: 0 / 0.5696 GB, free: 9.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.643, allocations: 8 kB / 0.5696 GB, free: 9.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6431, allocations: 318.8 kB / 0.5699 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.6432, allocations: 31.98 kB / 0.5699 GB, free: 8.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.6435, allocations: 149.1 kB / 0.5701 GB, free: 8.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.6436, allocations: 79.88 kB / 0.5702 GB, free: 8.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6436, allocations: 0 / 0.5702 GB, free: 8.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004518/0.6441, allocations: 197.2 kB / 0.5704 GB, free: 8.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6442, allocations: 11.98 kB / 0.5704 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6442, allocations: 4 kB / 0.5704 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.6442, allocations: 8 kB / 0.5704 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.6444, allocations: 35.92 kB / 0.5704 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.6445, allocations: 9.391 kB / 0.5704 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.6446, allocations: 31.25 kB / 0.5704 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.6446, allocations: 12 kB / 0.5705 GB, free: 8.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001768/0.6448, allocations: 217 kB / 0.5707 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.6449, allocations: 113.4 kB / 0.5708 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.645, allocations: 120.8 kB / 0.5709 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.401e-05/0.6451, allocations: 180.3 kB / 0.5711 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.011e-05/0.6452, allocations: 180.3 kB / 0.5712 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.333e-05/0.6453, allocations: 180.2 kB / 0.5714 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.6456, allocations: 421.8 kB / 0.5718 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.957e-05/0.6457, allocations: 104.9 kB / 0.5719 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.6457, allocations: 103 kB / 0.572 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-05/0.6458, allocations: 184.3 kB / 0.5722 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/0.6459, allocations: 192.1 kB / 0.5724 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.609e-05/0.646, allocations: 180.2 kB / 0.5725 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.831e-05/0.6461, allocations: 184.2 kB / 0.5727 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.6463, allocations: 307.7 kB / 0.573 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.6465, allocations: 194 kB / 0.5732 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.6466, allocations: 180.3 kB / 0.5734 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.6467, allocations: 108.9 kB / 0.5735 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.6468, allocations: 180.3 kB / 0.5736 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/0.6469, allocations: 112.9 kB / 0.5737 GB, free: 4.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.6471, allocations: 124.8 kB / 0.5739 GB, free: 4.613 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6471, allocations: 4 kB / 0.5739 GB, free: 4.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004016/0.6475, allocations: 16 kB / 0.5739 GB, free: 4.594 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001037/0.6486, allocations: 0.9141 MB / 0.5748 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.6488, allocations: 76.14 kB / 0.5748 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6488, allocations: 0 / 0.5748 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.6488, allocations: 0 / 0.5748 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.6492, allocations: 0.5353 MB / 0.5754 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.652, allocations: 3.661 MB / 0.5789 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.6524, allocations: 0.7048 MB / 0.5796 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6526, allocations: 27.42 kB / 0.5797 GB, free: 14.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6526, allocations: 0 / 0.5797 GB, free: 14.54 MB / 410.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:374:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:375:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp4); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.cpp:11: /var/lib/jenkins1/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 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1