Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001596/0.0016, allocations: 186.3 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.013/2.013, 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.001124/0.001124, allocations: 96.36 kB / 270.9 MB, free: 8.371 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.5727/0.5727, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004631, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.469/0.5988, allocations: 86.63 MB / 0.5634 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5992, allocations: 75.95 kB / 0.5635 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02445/0.6236, allocations: 4.31 MB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.6237, allocations: 0 / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.6237, allocations: 4 kB / 0.5677 GB, free: 11.58 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.0007517/0.6245, allocations: 384.5 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.6246, allocations: 11.97 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.6247, allocations: 38.55 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.6247, allocations: 11.34 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.6252, allocations: 192 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.6252, allocations: 4 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.6252, allocations: 0 / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.6256, allocations: 63.34 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6256, allocations: 0 / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.6256, allocations: 4 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.6257, allocations: 0 / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.6259, allocations: 33 kB / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.6265, allocations: 268.9 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.6269, allocations: 46.48 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.6269, allocations: 8 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.627, allocations: 30.56 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.146e-06/0.627, allocations: 0 / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001197/0.6282, allocations: 158.2 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.6283, allocations: 81.06 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.6286, allocations: 124.2 kB / 0.5691 GB, free: 9.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.6286, allocations: 29.64 kB / 0.5691 GB, free: 9.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.6287, allocations: 162.5 kB / 0.5693 GB, free: 9.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.6288, allocations: 15.75 kB / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6288, allocations: 4 kB / 0.5693 GB, free: 9.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6289, allocations: 314.8 kB / 0.5696 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.6291, allocations: 19.98 kB / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.6293, allocations: 33.7 kB / 0.5697 GB, free: 9.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.6295, allocations: 33.27 kB / 0.5697 GB, free: 9.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6295, allocations: 0 / 0.5697 GB, free: 9.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004582/0.63, allocations: 81.67 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.6301, allocations: 7.984 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6301, allocations: 0 / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6301, allocations: 4 kB / 0.5698 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.6303, allocations: 12 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.6303, allocations: 0 / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.6305, allocations: 15.94 kB / 0.5698 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.6305, allocations: 3.938 kB / 0.5698 GB, free: 9.215 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.0001689/0.6307, allocations: 117.8 kB / 0.5699 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.6308, allocations: 7.906 kB / 0.5699 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.6313, allocations: 97.56 kB / 0.57 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.6314, allocations: 4 kB / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6314, allocations: 0 / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6314, allocations: 0 / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.6324, allocations: 366.4 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6324, allocations: 0 / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.6326, allocations: 15.98 kB / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6326, allocations: 0 / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.6326, allocations: 0 / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6326, allocations: 4 kB / 0.5704 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6327, allocations: 3.953 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.6332, allocations: 183.4 kB / 0.5706 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.6333, allocations: 93 kB / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.6333, allocations: 0 / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.6336, allocations: 15.98 kB / 0.5707 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.6336, allocations: 3.938 kB / 0.5707 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.6337, allocations: 11.89 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.6339, allocations: 99.27 kB / 0.5708 GB, free: 8.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6339, allocations: 0 / 0.5708 GB, free: 8.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005973/0.6345, allocations: 31.98 kB / 0.5708 GB, free: 8.074 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.002634/0.6371, allocations: 1.065 MB / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.6377, allocations: 55.91 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.6377, allocations: 0 / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.6379, allocations: 31.97 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.6384, allocations: 8 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.6405, allocations: 0.5669 MB / 0.5725 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.6409, allocations: 0.6887 MB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.6411, allocations: 23.48 kB / 0.5732 GB, free: 5.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6411, allocations: 0 / 0.5732 GB, free: 5.637 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_CombiTable1Ds_Test24CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24InitializeParameter.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_CombiTable1Ds_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.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_CombiTable1Ds_Test24Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24Initialize.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_CombiTable1Ds_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24FMU.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_CombiTable1Ds_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test24CalcHelperMain.o] Error 1