Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10",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.002485/0.002485, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.123/2.123, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001131/0.00113, allocations: 96.36 kB / 270.9 MB, free: 8.383 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.5186/0.5186, allocations: 43.54 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004632, allocations: 20 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.84 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.6058, allocations: 87.47 MB / 0.5642 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.6061, allocations: 75.97 kB / 0.5643 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0194/0.6255, allocations: 4.602 MB / 0.5688 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6256, allocations: 4 kB / 0.5688 GB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.6256, allocations: 4 kB / 0.5688 GB, free: 10.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006119/0.6263, allocations: 399.3 kB / 0.5692 GB, free: 10.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.6263, allocations: 12.03 kB / 0.5692 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.6264, allocations: 38.55 kB / 0.5692 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.6264, allocations: 11.89 kB / 0.5693 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.6267, allocations: 194.9 kB / 0.5694 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.6268, allocations: 4 kB / 0.5694 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.6268, allocations: 7.938 kB / 0.5695 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.6271, allocations: 76.52 kB / 0.5695 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6271, allocations: 3.938 kB / 0.5695 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.6271, allocations: 1.031 kB / 0.5695 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6272, allocations: 4 kB / 0.5695 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.6274, allocations: 51.95 kB / 0.5696 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.628, allocations: 300.8 kB / 0.5699 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.6283, allocations: 58.55 kB / 0.5699 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.6283, allocations: 4.016 kB / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6283, allocations: 30.56 kB / 0.57 GB, free: 9.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.6283, allocations: 0 / 0.57 GB, free: 9.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001336/0.6297, allocations: 274 kB / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.6298, allocations: 77.11 kB / 0.5703 GB, free: 8.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.63, allocations: 134.9 kB / 0.5704 GB, free: 8.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.63, allocations: 25.7 kB / 0.5705 GB, free: 8.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.6301, allocations: 166.5 kB / 0.5706 GB, free: 8.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.992e-05/0.6302, allocations: 19.66 kB / 0.5706 GB, free: 8.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.6302, allocations: 4 kB / 0.5706 GB, free: 8.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6303, allocations: 319.1 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.6306, allocations: 43.97 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.6308, allocations: 57.77 kB / 0.571 GB, free: 8.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.6311, allocations: 56.09 kB / 0.5711 GB, free: 8.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6312, allocations: 4.031 kB / 0.5711 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005499/0.6317, allocations: 133.6 kB / 0.5712 GB, free: 7.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6317, allocations: 4 kB / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6318, allocations: 7.984 kB / 0.5712 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6318, allocations: 3.953 kB / 0.5712 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.632, allocations: 23.98 kB / 0.5713 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.632, allocations: 0 / 0.5713 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.6322, allocations: 23.98 kB / 0.5713 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.6322, allocations: 0 / 0.5713 GB, free: 7.816 MB / 394.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 () * Number of clocked 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 0.0001338/0.6324, allocations: 125.8 kB / 0.5714 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.6324, allocations: 7.906 kB / 0.5714 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006208/0.633, allocations: 158.3 kB / 0.5716 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6331, allocations: 3.953 kB / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6331, allocations: 0 / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6331, allocations: 3.938 kB / 0.5716 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.634, allocations: 430.4 kB / 0.572 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6341, allocations: 0 / 0.572 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.6343, allocations: 31.92 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6343, allocations: 3.953 kB / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6343, allocations: 0 / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6343, allocations: 4 kB / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6343, allocations: 0 / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.6349, allocations: 236.4 kB / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.635, allocations: 85.09 kB / 0.5723 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.6351, allocations: 7.953 kB / 0.5723 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.6352, allocations: 8 kB / 0.5723 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.6353, allocations: 7.984 kB / 0.5723 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.6353, allocations: 4 kB / 0.5723 GB, free: 6.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.6355, allocations: 123.2 kB / 0.5725 GB, free: 6.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6355, allocations: 0 / 0.5725 GB, free: 6.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.6359, allocations: 35.94 kB / 0.5725 GB, free: 6.461 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 (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.002117/0.638, allocations: 1.115 MB / 0.5736 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.6386, allocations: 111.9 kB / 0.5737 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6386, allocations: 0 / 0.5737 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.6389, allocations: 55.97 kB / 0.5737 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.6392, allocations: 19.94 kB / 0.5738 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.6413, allocations: 0.7213 MB / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6417, allocations: 0.7043 MB / 0.5752 GB, free: 3.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6418, allocations: 27.42 kB / 0.5752 GB, free: 3.715 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6418, allocations: 4 kB / 0.5752 GB, free: 3.711 MB / 394.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_CombiTable2Dv_Test10CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.cpp:42:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test_v4.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10FMU.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 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.o] Error 1