Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18",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.002326/0.002325, allocations: 185.9 kB / 16.4 MB, free: 5.75 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.054/2.054, 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.001128/0.001128, allocations: 92.16 kB / 270.9 MB, free: 8.355 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.5148/0.5148, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004696, allocations: 16 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.6042, allocations: 86.85 MB / 0.5636 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.6045, allocations: 70.16 kB / 0.5637 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.6248, allocations: 4.63 MB / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6249, allocations: 0 / 0.5682 GB, free: 10.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.6249, allocations: 4 kB / 0.5682 GB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005982/0.6255, allocations: 402.8 kB / 0.5686 GB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6256, allocations: 11.97 kB / 0.5686 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.154e-05/0.6256, allocations: 30.56 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.6257, allocations: 15.09 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.626, allocations: 188 kB / 0.5689 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.626, allocations: 11.94 kB / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.6261, allocations: 0 / 0.5689 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.6263, allocations: 88.23 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6264, allocations: 4 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6264, allocations: 0 / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6264, allocations: 0 / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.6266, allocations: 44.94 kB / 0.569 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.6273, allocations: 393 kB / 0.5694 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.6277, allocations: 89.42 kB / 0.5695 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.6277, allocations: 7.984 kB / 0.5695 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.6278, allocations: 34.56 kB / 0.5695 GB, free: 9.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.6278, allocations: 0 / 0.5695 GB, free: 9.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001133/0.6289, allocations: 253 kB / 0.5697 GB, free: 9.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.629, allocations: 102.8 kB / 0.5698 GB, free: 9.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.6292, allocations: 129 kB / 0.57 GB, free: 8.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.6293, allocations: 25.7 kB / 0.57 GB, free: 8.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.6294, allocations: 158.5 kB / 0.5701 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.6294, allocations: 39.55 kB / 0.5702 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.6295, allocations: 4 kB / 0.5702 GB, free: 8.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6296, allocations: 314.8 kB / 0.5705 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6298, allocations: 35.97 kB / 0.5705 GB, free: 8.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.63, allocations: 58.55 kB / 0.5706 GB, free: 8.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.6302, allocations: 39.98 kB / 0.5706 GB, free: 8.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6302, allocations: 0 / 0.5706 GB, free: 8.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004311/0.6306, allocations: 130.3 kB / 0.5707 GB, free: 8.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6307, allocations: 12.03 kB / 0.5707 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6307, allocations: 4.812 kB / 0.5707 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6307, allocations: 0 / 0.5707 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.6309, allocations: 27.92 kB / 0.5708 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6309, allocations: 3.953 kB / 0.5708 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.631, allocations: 4 kB / 0.5708 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.6311, allocations: 4 kB / 0.5708 GB, free: 7.996 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001921/0.6313, allocations: 137.8 kB / 0.5709 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.6313, allocations: 7.906 kB / 0.5709 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.6319, allocations: 141.7 kB / 0.5711 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.6319, allocations: 4 kB / 0.5711 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6319, allocations: 3.938 kB / 0.5711 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.6319, allocations: 7.953 kB / 0.5711 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.633, allocations: 0.5024 MB / 0.5716 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.633, allocations: 0 / 0.5716 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.6331, allocations: 28.02 kB / 0.5716 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6332, allocations: 0 / 0.5716 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.6332, allocations: 7.953 kB / 0.5716 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6332, allocations: 7.938 kB / 0.5716 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6332, allocations: 0 / 0.5716 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.6338, allocations: 330.9 kB / 0.5719 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.6339, allocations: 89 kB / 0.572 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.6339, allocations: 4 kB / 0.572 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.6341, allocations: 8 kB / 0.572 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.6341, allocations: 12.17 kB / 0.572 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.6342, allocations: 8 kB / 0.572 GB, free: 6.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.6343, allocations: 112.9 kB / 0.5721 GB, free: 6.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6343, allocations: 0 / 0.5721 GB, free: 6.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004452/0.6348, allocations: 28 kB / 0.5722 GB, free: 6.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.00216/0.637, allocations: 1.352 MB / 0.5735 GB, free: 5.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.6375, allocations: 83.89 kB / 0.5736 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6375, allocations: 7.938 kB / 0.5736 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.6377, allocations: 51.91 kB / 0.5736 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.6381, allocations: 15.98 kB / 0.5736 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.6401, allocations: 0.8497 MB / 0.5745 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.6405, allocations: 0.7044 MB / 0.5752 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.6407, allocations: 27.42 kB / 0.5752 GB, free: 3.348 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6407, allocations: 0 / 0.5752 GB, free: 3.348 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:39:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp28; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:40: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", tmp28); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.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", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:298:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp19; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:299:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp19); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18.cpp:765:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1