Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31",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.002317/0.002316, allocations: 177.8 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.085/2.085, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0011/0.0011, allocations: 95.8 kB / 262.1 MB, free: 13.88 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.304/0.304, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.498e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4558, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.6169, allocations: 86.34 MB / 0.5503 GB, free: 12.86 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004332/0.6174, allocations: 67.97 kB / 0.5504 GB, free: 12.8 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.6395, allocations: 4.17 MB / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6395, allocations: 0 / 0.5544 GB, free: 8.621 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.6396, allocations: 4 kB / 0.5545 GB, free: 8.617 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.0005171/0.6401, allocations: 397.9 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6401, allocations: 8.031 kB / 0.5548 GB, free: 8.18 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.6402, allocations: 11.86 kB / 0.5548 GB, free: 8.168 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.6405, allocations: 186.9 kB / 0.555 GB, free: 7.945 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6405, allocations: 4 kB / 0.555 GB, free: 7.941 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.6406, allocations: 0 / 0.555 GB, free: 7.941 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.341e-05/0.6407, allocations: 16 kB / 0.555 GB, free: 7.926 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.6408, allocations: 59.34 kB / 0.5551 GB, free: 7.855 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.6408, allocations: 0 / 0.5551 GB, free: 7.855 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.6408, allocations: 4 kB / 0.5551 GB, free: 7.852 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6409, allocations: 4 kB / 0.5551 GB, free: 7.848 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.6413, allocations: 265.3 kB / 0.5554 GB, free: 7.551 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.861e-05/0.6414, allocations: 30.58 kB / 0.5554 GB, free: 7.512 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.6415, allocations: 12.86 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.6415, allocations: 4 kB / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.6416, allocations: 38.5 kB / 0.5554 GB, free: 7.445 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.6416, allocations: 3.938 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006497/0.6423, allocations: 133.5 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6423, allocations: 77.11 kB / 0.5557 GB, free: 7.211 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.6425, allocations: 137 kB / 0.5558 GB, free: 7.07 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.6426, allocations: 25.7 kB / 0.5558 GB, free: 7.039 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.6426, allocations: 158.6 kB / 0.556 GB, free: 6.883 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.6427, allocations: 16.25 kB / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.6427, allocations: 3.938 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6428, allocations: 318.8 kB / 0.5563 GB, free: 6.543 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.566e-05/0.6429, allocations: 8.25 kB / 0.5563 GB, free: 6.535 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.643, allocations: 29.72 kB / 0.5563 GB, free: 6.5 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.643, allocations: 28.17 kB / 0.5563 GB, free: 6.473 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6431, allocations: 0 / 0.5563 GB, free: 6.473 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001744/0.6432, allocations: 65.69 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6433, allocations: 4 kB / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6433, allocations: 0 / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6433, allocations: 0 / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6435, allocations: 27.94 kB / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6436, allocations: 0 / 0.5564 GB, free: 6.371 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.6437, allocations: 27.86 kB / 0.5565 GB, free: 6.344 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.6437, allocations: 0 / 0.5565 GB, free: 6.344 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.3e-05/0.6438, allocations: 101 kB / 0.5566 GB, free: 6.238 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001785/0.644, allocations: 77.58 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.6441, allocations: 8.047 kB / 0.5566 GB, free: 6.148 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.6443, allocations: 90.08 kB / 0.5567 GB, free: 6.055 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.6443, allocations: 4 kB / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6444, allocations: 4 kB / 0.5567 GB, free: 6.047 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6444, allocations: 0 / 0.5567 GB, free: 6.047 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.6449, allocations: 323.1 kB / 0.557 GB, free: 5.688 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6449, allocations: 0 / 0.557 GB, free: 5.688 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.6451, allocations: 23.98 kB / 0.5571 GB, free: 5.664 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6451, allocations: 3.953 kB / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.6451, allocations: 0 / 0.5571 GB, free: 5.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6451, allocations: 4 kB / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.6451, allocations: 7.922 kB / 0.5571 GB, free: 5.648 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.6454, allocations: 163.8 kB / 0.5572 GB, free: 5.473 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.6455, allocations: 93.02 kB / 0.5573 GB, free: 5.363 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.6455, allocations: 3.953 kB / 0.5573 GB, free: 5.359 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.6457, allocations: 11.98 kB / 0.5573 GB, free: 5.348 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.6458, allocations: 11.98 kB / 0.5574 GB, free: 5.336 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6458, allocations: 4 kB / 0.5574 GB, free: 5.332 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.6459, allocations: 107.3 kB / 0.5575 GB, free: 5.227 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6459, allocations: 3.938 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.6463, allocations: 27.92 kB / 0.5575 GB, free: 5.195 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.001515/0.6478, allocations: 0.9848 MB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.6481, allocations: 36 kB / 0.5585 GB, free: 4.199 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6481, allocations: 8 kB / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.6482, allocations: 19.94 kB / 0.5585 GB, free: 4.172 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.6485, allocations: 23.8 kB / 0.5585 GB, free: 4.148 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.6492, allocations: 187.7 kB / 0.5587 GB, free: 3.922 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.6496, allocations: 0.7001 MB / 0.5594 GB, free: 3.195 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.6497, allocations: 31.42 kB / 0.5594 GB, free: 3.164 MB / 395.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6498, allocations: 4 kB / 0.5594 GB, free: 3.16 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_Test31CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31InitializeParameter.cpp:41: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", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31Initialize.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_Test31CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31.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_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31FMU.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_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test31CalcHelperMain.o] Error 1