Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33",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.002137/0.002137, allocations: 185.3 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.251/2.251, 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.001204/0.001203, allocations: 96.41 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.5332/0.5332, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.000691, allocations: 20 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1386, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.6032, allocations: 86.74 MB / 0.5635 GB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.6035, allocations: 71.97 kB / 0.5636 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.6217, allocations: 4.32 MB / 0.5678 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6217, allocations: 4 kB / 0.5678 GB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.6217, allocations: 0 / 0.5678 GB, free: 11.47 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.0005972/0.6224, allocations: 384 kB / 0.5682 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6224, allocations: 12.03 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.6225, allocations: 34.56 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.6225, allocations: 15.34 kB / 0.5683 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.6228, allocations: 186.9 kB / 0.5684 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.6229, allocations: 3.938 kB / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.6229, allocations: 7.656 kB / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6231, allocations: 61.91 kB / 0.5685 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6232, allocations: 3.984 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.6232, allocations: 4 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6232, allocations: 4 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.6234, allocations: 25.02 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.6239, allocations: 280.9 kB / 0.5688 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.6242, allocations: 50.55 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.6242, allocations: 0 / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.6242, allocations: 38.56 kB / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.6242, allocations: 0 / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008644/0.6251, allocations: 165.9 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.6252, allocations: 88.98 kB / 0.5691 GB, free: 9.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6254, allocations: 124.2 kB / 0.5693 GB, free: 9.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.6254, allocations: 25.7 kB / 0.5693 GB, free: 9.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.991e-05/0.6255, allocations: 162.6 kB / 0.5694 GB, free: 9.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.6256, allocations: 19.73 kB / 0.5695 GB, free: 9.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.6256, allocations: 0 / 0.5695 GB, free: 9.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6257, allocations: 314.8 kB / 0.5698 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.6259, allocations: 23.98 kB / 0.5698 GB, free: 9.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.626, allocations: 45.64 kB / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.6262, allocations: 27.97 kB / 0.5698 GB, free: 9.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6262, allocations: 0 / 0.5698 GB, free: 9.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000338/0.6266, allocations: 86.55 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6266, allocations: 8.031 kB / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.6266, allocations: 0 / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.6267, allocations: 0 / 0.5699 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6268, allocations: 15.98 kB / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6268, allocations: 0 / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.6269, allocations: 11.95 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.6269, allocations: 0 / 0.57 GB, free: 9.07 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.0001292/0.6271, allocations: 125.8 kB / 0.5701 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.6271, allocations: 11.91 kB / 0.5701 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.6276, allocations: 101.9 kB / 0.5702 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-06/0.6276, allocations: 0 / 0.5702 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6276, allocations: 0 / 0.5702 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6276, allocations: 7.984 kB / 0.5702 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.6283, allocations: 362.5 kB / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6283, allocations: 0 / 0.5705 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.6284, allocations: 12.75 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/0.6285, allocations: 0 / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.6285, allocations: 8 kB / 0.5706 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.6285, allocations: 7.984 kB / 0.5706 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6285, allocations: 3.953 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.6289, allocations: 183.4 kB / 0.5708 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.629, allocations: 89 kB / 0.5708 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.629, allocations: 11.94 kB / 0.5709 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6292, allocations: 15.86 kB / 0.5709 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.6292, allocations: 4 kB / 0.5709 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.6292, allocations: 3.953 kB / 0.5709 GB, free: 8.035 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.6294, allocations: 103.3 kB / 0.571 GB, free: 7.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6294, allocations: 0 / 0.571 GB, free: 7.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000358/0.6298, allocations: 31.98 kB / 0.571 GB, free: 7.902 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.001982/0.6317, allocations: 1.07 MB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.6322, allocations: 59.91 kB / 0.5721 GB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6322, allocations: 0 / 0.5721 GB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.6324, allocations: 35.98 kB / 0.5721 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.6327, allocations: 11.98 kB / 0.5722 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.6343, allocations: 0.5806 MB / 0.5727 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.6347, allocations: 0.6887 MB / 0.5734 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6348, allocations: 27.48 kB / 0.5734 GB, free: 5.43 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6348, allocations: 0 / 0.5734 GB, free: 5.43 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_Test33CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33InitializeParameter.cpp:39:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.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_Test33CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33.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_Test33CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33FMU.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_Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.o] Error 1