Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.001619/0.001618, allocations: 182.2 kB / 16.4 MB, free: 5.723 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.093/2.093, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001876/0.001876, allocations: 97.23 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.5381/0.5381, allocations: 43.55 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006662/0.0006664, allocations: 20 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1698, allocations: 58.83 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4851/0.6549, allocations: 86.75 MB / 0.5635 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.6553, allocations: 71.97 kB / 0.5636 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01811/0.6734, allocations: 4.333 MB / 0.5678 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6735, allocations: 0 / 0.5678 GB, free: 11.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.6735, allocations: 0 / 0.5678 GB, free: 11.44 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.0005367/0.674, allocations: 388 kB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6741, allocations: 8.031 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.6742, allocations: 34.56 kB / 0.5682 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.6742, allocations: 15.34 kB / 0.5683 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.6745, allocations: 187.9 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.6746, allocations: 0 / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.6746, allocations: 4 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6748, allocations: 67.33 kB / 0.5685 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6748, allocations: 4 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6749, allocations: 0 / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6749, allocations: 1.031 kB / 0.5685 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.675, allocations: 29.02 kB / 0.5685 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.6756, allocations: 276.9 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.6759, allocations: 54.48 kB / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.6759, allocations: 4 kB / 0.5689 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.676, allocations: 34.56 kB / 0.5689 GB, free: 10.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.676, allocations: 3.938 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008963/0.6769, allocations: 161.6 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.677, allocations: 89.06 kB / 0.5691 GB, free: 9.914 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.6772, allocations: 116.2 kB / 0.5692 GB, free: 9.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.6772, allocations: 29.7 kB / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.6773, allocations: 157.6 kB / 0.5694 GB, free: 9.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.6774, allocations: 23.73 kB / 0.5694 GB, free: 9.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6774, allocations: 4 kB / 0.5694 GB, free: 9.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6775, allocations: 310.8 kB / 0.5697 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.6777, allocations: 23.98 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.6778, allocations: 42.19 kB / 0.5698 GB, free: 9.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.678, allocations: 33.02 kB / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.678, allocations: 0 / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000348/0.6784, allocations: 85.67 kB / 0.5699 GB, free: 9.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6784, allocations: 4 kB / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6784, allocations: 4 kB / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6785, allocations: 0 / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.6786, allocations: 15.98 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6786, allocations: 4 kB / 0.5699 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.6787, allocations: 15.88 kB / 0.57 GB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.6788, allocations: 0 / 0.57 GB, free: 9.039 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.0001319/0.6789, allocations: 117.8 kB / 0.5701 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.679, allocations: 11.91 kB / 0.5701 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.6794, allocations: 101.6 kB / 0.5702 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.6794, allocations: 4 kB / 0.5702 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6794, allocations: 3.984 kB / 0.5702 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6794, allocations: 0 / 0.5702 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007/0.6802, allocations: 366.4 kB / 0.5705 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6802, allocations: 4 kB / 0.5705 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.6803, allocations: 12 kB / 0.5706 GB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.6803, allocations: 4 kB / 0.5706 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6804, allocations: 3.984 kB / 0.5706 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6804, allocations: 4 kB / 0.5706 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6804, allocations: 3.953 kB / 0.5706 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.6808, allocations: 183.4 kB / 0.5707 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.6809, allocations: 97.22 kB / 0.5708 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.6809, allocations: 4 kB / 0.5708 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.681, allocations: 13.11 kB / 0.5709 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.6811, allocations: 7.922 kB / 0.5709 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.6811, allocations: 7.953 kB / 0.5709 GB, free: 8.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.6813, allocations: 99.27 kB / 0.571 GB, free: 7.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6813, allocations: 0 / 0.571 GB, free: 7.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.6817, allocations: 31.98 kB / 0.571 GB, free: 7.875 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.002032/0.6837, allocations: 1.073 MB / 0.572 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000425/0.6842, allocations: 63.91 kB / 0.5721 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6842, allocations: 0 / 0.5721 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.6844, allocations: 35.97 kB / 0.5721 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.6847, allocations: 12 kB / 0.5721 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.6862, allocations: 0.5726 MB / 0.5727 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6866, allocations: 0.6887 MB / 0.5734 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6867, allocations: 27.48 kB / 0.5734 GB, free: 5.402 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6867, allocations: 0 / 0.5734 GB, free: 5.402 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_CombiTable1D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24.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_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.o] Error 1