Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23",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.00238/0.002386, allocations: 182.3 kB / 16.4 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.04/2.04, 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.001151/0.00115, allocations: 85.36 kB / 270.9 MB, free: 8.375 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.5165/0.5165, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005016, allocations: 15.98 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4641/0.5984, allocations: 86.74 MB / 0.5635 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.5987, allocations: 82.45 kB / 0.5636 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.6172, allocations: 4.32 MB / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6173, allocations: 0 / 0.5678 GB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.6173, allocations: 0 / 0.5678 GB, free: 11.29 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.0005549/0.6179, allocations: 386.5 kB / 0.5682 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6179, allocations: 8.031 kB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.618, allocations: 42.55 kB / 0.5682 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.618, allocations: 7.344 kB / 0.5682 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.6183, allocations: 197 kB / 0.5684 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.6183, allocations: 0.5625 kB / 0.5684 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.6184, allocations: 3.938 kB / 0.5684 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.6186, allocations: 63.91 kB / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6186, allocations: 0 / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.6187, allocations: 0 / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6187, allocations: 0 / 0.5685 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.6188, allocations: 37 kB / 0.5685 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.6194, allocations: 286.9 kB / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.6197, allocations: 46.56 kB / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.6197, allocations: 3.938 kB / 0.5689 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.6198, allocations: 41.64 kB / 0.5689 GB, free: 10.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.6198, allocations: 0 / 0.5689 GB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008992/0.6207, allocations: 161.6 kB / 0.5691 GB, free: 9.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.6208, allocations: 81.06 kB / 0.5691 GB, free: 9.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.621, allocations: 128.2 kB / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.621, allocations: 25.7 kB / 0.5693 GB, free: 9.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.6211, allocations: 154.6 kB / 0.5694 GB, free: 9.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.6211, allocations: 19.75 kB / 0.5694 GB, free: 9.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.6212, allocations: 4 kB / 0.5694 GB, free: 9.434 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6213, allocations: 314.8 kB / 0.5697 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.6215, allocations: 23.98 kB / 0.5698 GB, free: 9.094 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.6216, allocations: 41.64 kB / 0.5698 GB, free: 9.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.6218, allocations: 32.02 kB / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6218, allocations: 0 / 0.5698 GB, free: 9.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003307/0.6221, allocations: 85.66 kB / 0.5699 GB, free: 8.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.6222, allocations: 8 kB / 0.5699 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6222, allocations: 0 / 0.5699 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6222, allocations: 4 kB / 0.5699 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.6224, allocations: 15.98 kB / 0.5699 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.6224, allocations: 0.875 kB / 0.5699 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.6225, allocations: 7.953 kB / 0.57 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6225, allocations: 4 kB / 0.57 GB, free: 8.887 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.0001242/0.6226, allocations: 121.8 kB / 0.5701 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.6227, allocations: 7.891 kB / 0.5701 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.6231, allocations: 106.5 kB / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6231, allocations: 320 / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6231, allocations: 0 / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6231, allocations: 0 / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.6238, allocations: 370.5 kB / 0.5705 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6239, allocations: 0 / 0.5705 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.624, allocations: 15.98 kB / 0.5706 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.624, allocations: 288 / 0.5706 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.624, allocations: 4.562 kB / 0.5706 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.624, allocations: 0 / 0.5706 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6241, allocations: 11.89 kB / 0.5706 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.6245, allocations: 191.4 kB / 0.5708 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.6246, allocations: 88.98 kB / 0.5708 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.6246, allocations: 8 kB / 0.5708 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.6247, allocations: 9.125 kB / 0.5709 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.6248, allocations: 11.92 kB / 0.5709 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6248, allocations: 3.953 kB / 0.5709 GB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.625, allocations: 103.3 kB / 0.571 GB, free: 7.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.625, allocations: 0 / 0.571 GB, free: 7.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.6254, allocations: 28 kB / 0.571 GB, free: 7.723 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.001954/0.6273, allocations: 1.071 MB / 0.572 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.6278, allocations: 59.89 kB / 0.5721 GB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6278, allocations: 0 / 0.5721 GB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.6279, allocations: 31.98 kB / 0.5721 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6283, allocations: 15.98 kB / 0.5721 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.6299, allocations: 0.5801 MB / 0.5727 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.6303, allocations: 0.6926 MB / 0.5734 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6304, allocations: 23.48 kB / 0.5734 GB, free: 5.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6304, allocations: 0 / 0.5734 GB, free: 5.25 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_Test23CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.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.txt", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23.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_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.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_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o] Error 1