Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11",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.002314/0.002314, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 95.5 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3276/0.3276, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.285e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4528, allocations: 58.85 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.6206, allocations: 86.34 MB / 0.5503 GB, free: 12.95 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.6209, allocations: 71.95 kB / 0.5504 GB, free: 12.88 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.639, allocations: 4.17 MB / 0.5545 GB, free: 8.699 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.639, allocations: 0 / 0.5545 GB, free: 8.699 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6391, allocations: 4 kB / 0.5545 GB, free: 8.695 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005224/0.6396, allocations: 389.9 kB / 0.5548 GB, free: 8.273 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6397, allocations: 8.031 kB / 0.5548 GB, free: 8.266 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.6397, allocations: 15.86 kB / 0.5549 GB, free: 8.25 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.64, allocations: 186.9 kB / 0.555 GB, free: 8.027 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.64, allocations: 4 kB / 0.555 GB, free: 8.023 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.6401, allocations: 0 / 0.555 GB, free: 8.023 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.503e-05/0.6402, allocations: 12 kB / 0.555 GB, free: 8.012 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.6403, allocations: 67.33 kB / 0.5551 GB, free: 7.934 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.6404, allocations: 0 / 0.5551 GB, free: 7.934 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.6404, allocations: 4 kB / 0.5551 GB, free: 7.93 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.6404, allocations: 4 kB / 0.5551 GB, free: 7.926 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.6409, allocations: 269.3 kB / 0.5554 GB, free: 7.625 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.23e-05/0.641, allocations: 34.58 kB / 0.5554 GB, free: 7.582 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.641, allocations: 16.8 kB / 0.5554 GB, free: 7.562 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.6411, allocations: 3.984 kB / 0.5554 GB, free: 7.559 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.6411, allocations: 34.66 kB / 0.5555 GB, free: 7.516 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.6411, allocations: 4 kB / 0.5555 GB, free: 7.512 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006225/0.6418, allocations: 125.3 kB / 0.5556 GB, free: 7.383 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.6418, allocations: 81.05 kB / 0.5557 GB, free: 7.285 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.642, allocations: 129.2 kB / 0.5558 GB, free: 7.148 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.642, allocations: 25.7 kB / 0.5558 GB, free: 7.117 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.6421, allocations: 162.6 kB / 0.556 GB, free: 6.957 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.6422, allocations: 20.25 kB / 0.556 GB, free: 6.938 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.6422, allocations: 0 / 0.556 GB, free: 6.938 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6423, allocations: 318.8 kB / 0.5563 GB, free: 6.617 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.6424, allocations: 8.25 kB / 0.5563 GB, free: 6.609 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.6424, allocations: 29.72 kB / 0.5563 GB, free: 6.574 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.6425, allocations: 19.92 kB / 0.5563 GB, free: 6.555 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6425, allocations: 4.031 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001673/0.6427, allocations: 73.69 kB / 0.5564 GB, free: 6.473 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.6427, allocations: 4 kB / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6428, allocations: 0 / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6428, allocations: 0 / 0.5564 GB, free: 6.469 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.643, allocations: 31.88 kB / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.643, allocations: 0 / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.6431, allocations: 23.92 kB / 0.5565 GB, free: 6.414 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.6432, allocations: 0 / 0.5565 GB, free: 6.414 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.101e-05/0.6433, allocations: 101 kB / 0.5566 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001751/0.6434, allocations: 73.59 kB / 0.5566 GB, free: 6.23 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.6435, allocations: 7.906 kB / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.6437, allocations: 86.09 kB / 0.5567 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6438, allocations: 4 kB / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6438, allocations: 0 / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6438, allocations: 0 / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.6443, allocations: 327.6 kB / 0.557 GB, free: 5.766 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6443, allocations: 0 / 0.557 GB, free: 5.766 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.6445, allocations: 27.92 kB / 0.5571 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.6445, allocations: 3.953 kB / 0.5571 GB, free: 5.734 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6446, allocations: 0 / 0.5571 GB, free: 5.734 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.6446, allocations: 4.062 kB / 0.5571 GB, free: 5.73 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6446, allocations: 3.984 kB / 0.5571 GB, free: 5.727 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.6448, allocations: 171.4 kB / 0.5572 GB, free: 5.543 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.6449, allocations: 89.02 kB / 0.5573 GB, free: 5.438 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.6449, allocations: 7.938 kB / 0.5573 GB, free: 5.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.6451, allocations: 8 kB / 0.5573 GB, free: 5.422 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.6452, allocations: 7.984 kB / 0.5574 GB, free: 5.414 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.6452, allocations: 4 kB / 0.5574 GB, free: 5.41 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.6453, allocations: 114.5 kB / 0.5575 GB, free: 5.301 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6453, allocations: 0 / 0.5575 GB, free: 5.301 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.6458, allocations: 23.94 kB / 0.5575 GB, free: 5.277 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001534/0.6473, allocations: 0.978 MB / 0.5584 GB, free: 4.309 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.6475, allocations: 47.92 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6476, allocations: 0 / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/0.6476, allocations: 20 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.648, allocations: 27.8 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.6487, allocations: 183.8 kB / 0.5587 GB, free: 3.992 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.649, allocations: 0.704 MB / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.6492, allocations: 31.42 kB / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6492, allocations: 0 / 0.5594 GB, free: 3.23 MB / 395.1 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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11InitializeParameter.cpp:41: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_v6.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.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_v6.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11Initialize.cpp:278:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_CombiTable2D_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.o] Error 1