Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23",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.002286/0.002285, allocations: 177.8 kB / 8.36 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.16/2.16, 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.001142/0.001142, allocations: 96.72 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.3215/0.3215, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.24e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4167, allocations: 58.85 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5773, allocations: 85.98 MB / 0.55 GB, free: 13.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5776, allocations: 71.97 kB / 0.55 GB, free: 13.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.5948, allocations: 4.014 MB / 0.554 GB, free: 9.141 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5948, allocations: 0 / 0.554 GB, free: 9.141 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5949, allocations: 4 kB / 0.554 GB, free: 9.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000482/0.5954, allocations: 374.3 kB / 0.5543 GB, free: 8.727 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5954, allocations: 8.031 kB / 0.5543 GB, free: 8.719 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.5955, allocations: 8.531 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5958, allocations: 194.9 kB / 0.5545 GB, free: 8.48 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.5958, allocations: 4 kB / 0.5545 GB, free: 8.477 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.5958, allocations: 0 / 0.5545 GB, free: 8.477 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.972e-05/0.5959, allocations: 15.98 kB / 0.5545 GB, free: 8.461 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.5961, allocations: 55.41 kB / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5961, allocations: 7.984 kB / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5961, allocations: 0 / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.5961, allocations: 0 / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.5966, allocations: 257.4 kB / 0.5548 GB, free: 8.098 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.5969, allocations: 42.56 kB / 0.5549 GB, free: 8.047 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.5969, allocations: 12.86 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.597, allocations: 0 / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.597, allocations: 38.56 kB / 0.5549 GB, free: 7.984 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.597, allocations: 3.938 kB / 0.5549 GB, free: 7.98 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005435/0.5976, allocations: 109.4 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.5976, allocations: 77.11 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.5978, allocations: 121 kB / 0.5552 GB, free: 7.648 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5979, allocations: 25.7 kB / 0.5553 GB, free: 7.617 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.5979, allocations: 158.5 kB / 0.5554 GB, free: 7.461 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.598, allocations: 19.75 kB / 0.5554 GB, free: 7.441 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.598, allocations: 0 / 0.5554 GB, free: 7.441 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5981, allocations: 319 kB / 0.5557 GB, free: 7.121 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.5982, allocations: 12 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.5982, allocations: 25.72 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.5983, allocations: 23.95 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5983, allocations: 0 / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001458/0.5985, allocations: 53.69 kB / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5985, allocations: 8 kB / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5985, allocations: 0 / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.5986, allocations: 0 / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.5987, allocations: 15.98 kB / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5987, allocations: 0 / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.5988, allocations: 8 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5988, allocations: 4 kB / 0.5559 GB, free: 6.961 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 (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 8.378e-05/0.5989, allocations: 104.9 kB / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001582/0.5991, allocations: 65.53 kB / 0.556 GB, free: 6.781 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.5991, allocations: 7.906 kB / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.5994, allocations: 78.08 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5994, allocations: 0 / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5994, allocations: 3.984 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5994, allocations: 3.953 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.5999, allocations: 315.5 kB / 0.5564 GB, free: 6.332 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5999, allocations: 64 / 0.5564 GB, free: 6.332 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.6, allocations: 19.98 kB / 0.5564 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6001, allocations: 0 / 0.5564 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.6001, allocations: 0 / 0.5564 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6001, allocations: 0 / 0.5564 GB, free: 6.312 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.6001, allocations: 3.953 kB / 0.5565 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.6003, allocations: 167.5 kB / 0.5566 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.6004, allocations: 89 kB / 0.5567 GB, free: 6.023 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.6004, allocations: 3.938 kB / 0.5567 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.6006, allocations: 4 kB / 0.5567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.6007, allocations: 7.984 kB / 0.5567 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6007, allocations: 3.953 kB / 0.5567 GB, free: 6.004 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.6008, allocations: 103.2 kB / 0.5568 GB, free: 5.902 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6008, allocations: 7.938 kB / 0.5568 GB, free: 5.895 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.6012, allocations: 28 kB / 0.5568 GB, free: 5.867 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 (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.001522/0.6027, allocations: 0.96 MB / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.6029, allocations: 31.98 kB / 0.5578 GB, free: 4.891 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.603, allocations: 0 / 0.5578 GB, free: 4.891 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.603, allocations: 20 kB / 0.5578 GB, free: 4.871 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.6033, allocations: 11.84 kB / 0.5578 GB, free: 4.859 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.604, allocations: 191.2 kB / 0.558 GB, free: 4.625 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.6043, allocations: 0.6963 MB / 0.5587 GB, free: 3.902 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.6045, allocations: 23.42 kB / 0.5587 GB, free: 3.879 MB / 395.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6045, allocations: 0 / 0.5587 GB, free: 3.879 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_CombiTable1D_Test23CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23InitializeParameter.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_CombiTable1D_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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_CombiTable1D_Test23Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23Initialize.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_CombiTable1D_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23FMU.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_CombiTable1D_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test23CalcHelperMain.o] Error 1