Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19",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.002818/0.002817, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.202/2.202, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001175/0.001175, allocations: 87.03 kB / 270.9 MB, free: 8.367 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.5366/0.5366, allocations: 43.54 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006783/0.0006782, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1442, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.6122, allocations: 86.73 MB / 0.5635 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6125, allocations: 79.95 kB / 0.5636 GB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.6303, allocations: 4.33 MB / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6303, allocations: 0 / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.6304, allocations: 4 kB / 0.5678 GB, free: 11.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005344/0.6309, allocations: 380.5 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.631, allocations: 16.02 kB / 0.5682 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.631, allocations: 34.56 kB / 0.5682 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.6311, allocations: 11.34 kB / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.6313, allocations: 190.9 kB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.6314, allocations: 4 kB / 0.5684 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.6314, allocations: 7.938 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.6316, allocations: 59.41 kB / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6316, allocations: 0 / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.6317, allocations: 0 / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6317, allocations: 4.656 kB / 0.5685 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.6318, allocations: 33 kB / 0.5685 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.6323, allocations: 276.9 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.6326, allocations: 54.48 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.6327, allocations: 4 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6327, allocations: 30.56 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.6327, allocations: 4 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000873/0.6336, allocations: 165 kB / 0.569 GB, free: 10 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.6337, allocations: 81.06 kB / 0.5691 GB, free: 9.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.6339, allocations: 122 kB / 0.5692 GB, free: 9.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.6339, allocations: 33.64 kB / 0.5693 GB, free: 9.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.634, allocations: 158.6 kB / 0.5694 GB, free: 9.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.634, allocations: 15.73 kB / 0.5694 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.634, allocations: 0 / 0.5694 GB, free: 9.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6342, allocations: 322.8 kB / 0.5697 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.6343, allocations: 19.98 kB / 0.5698 GB, free: 9.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.6345, allocations: 37.7 kB / 0.5698 GB, free: 9.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.6347, allocations: 31.95 kB / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6347, allocations: 0 / 0.5698 GB, free: 9.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003343/0.635, allocations: 89.66 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.635, allocations: 4 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6351, allocations: 0 / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6351, allocations: 4 kB / 0.5699 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.6352, allocations: 15.98 kB / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6352, allocations: 0 / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.6353, allocations: 15.95 kB / 0.57 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.6354, allocations: 0 / 0.57 GB, free: 9.02 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 (5): * Single equations (assignments): 5 * 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.000128/0.6355, allocations: 121.8 kB / 0.5701 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.6356, allocations: 11.84 kB / 0.5701 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.636, allocations: 105.9 kB / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.636, allocations: 0 / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.636, allocations: 0 / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.636, allocations: 0 / 0.5702 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.6367, allocations: 374.4 kB / 0.5705 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6367, allocations: 0 / 0.5705 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.6368, allocations: 12 kB / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6369, allocations: 0 / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.6369, allocations: 0 / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.6369, allocations: 4 kB / 0.5706 GB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.6369, allocations: 3.953 kB / 0.5706 GB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.6373, allocations: 191.7 kB / 0.5707 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.6375, allocations: 93 kB / 0.5708 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.6375, allocations: 0 / 0.5708 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.6377, allocations: 12.73 kB / 0.5708 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.6378, allocations: 11.92 kB / 0.5709 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.6379, allocations: 7.891 kB / 0.5709 GB, free: 7.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.638, allocations: 110.5 kB / 0.571 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.6381, allocations: 0 / 0.571 GB, free: 7.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.6385, allocations: 27.98 kB / 0.571 GB, free: 7.852 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 (5): * Single equations (assignments): 5 * 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.002012/0.6405, allocations: 1.061 MB / 0.572 GB, free: 6.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.6409, allocations: 67.91 kB / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6409, allocations: 0 / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.6411, allocations: 27.98 kB / 0.5721 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.6414, allocations: 11.98 kB / 0.5721 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6429, allocations: 0.5924 MB / 0.5727 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.6433, allocations: 0.6887 MB / 0.5734 GB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.6434, allocations: 23.42 kB / 0.5734 GB, free: 5.379 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6434, allocations: 0 / 0.5734 GB, free: 5.379 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_CombiTable1D_Test19CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:39: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", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:245:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19FMU.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_CombiTable1D_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o] Error 1