Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17",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.002182/0.002181, 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.146/2.146, 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.001084/0.001084, allocations: 91.5 kB / 262.1 MB, free: 13.87 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.2957/0.2957, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.355e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4171, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5786, allocations: 85.68 MB / 0.5497 GB, free: 13.61 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.579, allocations: 71.97 kB / 0.5497 GB, free: 13.54 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.5897, allocations: 2.863 MB / 0.5525 GB, free: 10.66 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5898, allocations: 0 / 0.5525 GB, free: 10.66 MB / 395.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.5898, allocations: 0 / 0.5525 GB, free: 10.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003889/0.5902, allocations: 365.4 kB / 0.5529 GB, free: 10.26 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.5903, allocations: 8.031 kB / 0.5529 GB, free: 10.25 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.5903, allocations: 16.2 kB / 0.5529 GB, free: 10.23 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.5905, allocations: 177.8 kB / 0.5531 GB, free: 10.02 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5906, allocations: 0 / 0.5531 GB, free: 10.02 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.5906, allocations: 4 kB / 0.5531 GB, free: 10.02 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/0.5907, allocations: 35.98 kB / 0.5531 GB, free: 9.984 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.591, allocations: 179.3 kB / 0.5533 GB, free: 9.754 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.591, allocations: 0 / 0.5533 GB, free: 9.754 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.591, allocations: 7.953 kB / 0.5533 GB, free: 9.746 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.5911, allocations: 8 kB / 0.5533 GB, free: 9.738 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.5922, allocations: 1.678 MB / 0.5549 GB, free: 7.965 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.5924, allocations: 165.1 kB / 0.5551 GB, free: 7.793 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.5924, allocations: 80.14 kB / 0.5552 GB, free: 7.711 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.5925, allocations: 75.28 kB / 0.5552 GB, free: 7.637 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.5925, allocations: 109.8 kB / 0.5553 GB, free: 7.52 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 2.494e-06/0.5925, allocations: 0 / 0.5553 GB, free: 7.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.5926, allocations: 41.53 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.5927, allocations: 51.41 kB / 0.5554 GB, free: 7.41 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.5929, allocations: 168.1 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5929, allocations: 25.7 kB / 0.5556 GB, free: 7.211 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.5931, allocations: 225.5 kB / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.5931, allocations: 0 / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.5931, allocations: 4 kB / 0.5558 GB, free: 6.984 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5933, allocations: 322.8 kB / 0.5562 GB, free: 6.66 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.5933, allocations: 24 kB / 0.5562 GB, free: 6.637 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.5935, allocations: 152.5 kB / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.5937, allocations: 63.94 kB / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5937, allocations: 0 / 0.5564 GB, free: 6.367 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004121/0.5941, allocations: 169.8 kB / 0.5565 GB, free: 6.195 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.5941, allocations: 8.547 kB / 0.5565 GB, free: 6.188 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5942, allocations: 11.98 kB / 0.5566 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.5942, allocations: 4 kB / 0.5566 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.5945, allocations: 39.92 kB / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5945, allocations: 4 kB / 0.5566 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.5946, allocations: 27.75 kB / 0.5566 GB, free: 6.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.5947, allocations: 12 kB / 0.5566 GB, free: 6.09 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000119/0.5948, allocations: 188.1 kB / 0.5568 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.958e-05/0.5949, allocations: 142.5 kB / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.595, allocations: 120.8 kB / 0.5571 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.5951, allocations: 119.5 kB / 0.5572 GB, free: 5.496 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.686e-05/0.5952, allocations: 176.3 kB / 0.5574 GB, free: 5.316 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.109e-05/0.5952, allocations: 184.3 kB / 0.5575 GB, free: 5.129 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/0.5953, allocations: 180.2 kB / 0.5577 GB, free: 4.945 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5956, allocations: 405.8 kB / 0.5581 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/0.5957, allocations: 104.9 kB / 0.5582 GB, free: 4.395 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.5957, allocations: 104.9 kB / 0.5583 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.14e-05/0.5958, allocations: 180.2 kB / 0.5585 GB, free: 4.102 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/0.5959, allocations: 184.2 kB / 0.5586 GB, free: 3.914 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.804e-05/0.596, allocations: 180.2 kB / 0.5588 GB, free: 3.73 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/0.596, allocations: 184.3 kB / 0.559 GB, free: 3.543 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.5962, allocations: 319.7 kB / 0.5593 GB, free: 3.207 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.5963, allocations: 182 kB / 0.5595 GB, free: 3.004 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.5964, allocations: 180.3 kB / 0.5596 GB, free: 2.82 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5966, allocations: 112.9 kB / 0.5597 GB, free: 2.703 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.11e-05/0.5967, allocations: 180.2 kB / 0.5599 GB, free: 2.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.5967, allocations: 101 kB / 0.56 GB, free: 2.414 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.5969, allocations: 128.1 kB / 0.5601 GB, free: 2.289 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5969, allocations: 0 / 0.5601 GB, free: 2.289 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.5973, allocations: 12 kB / 0.5601 GB, free: 2.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 (0): * Single equations (assignments): 0 * 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.000967/0.5983, allocations: 0.9032 MB / 0.561 GB, free: 1.363 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5985, allocations: 57.05 kB / 0.5611 GB, free: 1.309 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5986, allocations: 4 kB / 0.5611 GB, free: 1.305 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/0.5986, allocations: 4 kB / 0.5611 GB, free: 1.301 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.599, allocations: 0.5263 MB / 0.5616 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.5996, allocations: 275.1 kB / 0.5619 GB, free: 464 kB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.6, allocations: 0.7006 MB / 0.5626 GB, free: 15.73 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/0.6001, allocations: 31.42 kB / 0.5626 GB, free: 15.7 MB / 411.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6001, allocations: 0 / 0.5626 GB, free: 15.7 MB / 411.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_Test17CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17InitializeParameter.cpp:28: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_v4.mat", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:97: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_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17FMU.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_Test17CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test17CalcHelperMain.o] Error 1