Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.001635/0.001635, allocations: 188.4 kB / 16.41 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.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001215/0.001215, allocations: 92.42 kB / 270.9 MB, free: 8.367 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.5386/0.5386, allocations: 43.54 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007784/0.0007784, allocations: 12 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1349, allocations: 58.86 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.6031, allocations: 86.63 MB / 0.5634 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.6034, allocations: 75.91 kB / 0.5635 GB, free: 15.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.622, allocations: 4.305 MB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6221, allocations: 4 kB / 0.5677 GB, free: 11.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.6221, allocations: 0 / 0.5677 GB, free: 11.57 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.0005472/0.6227, allocations: 390.9 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6227, allocations: 8.031 kB / 0.5681 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.6228, allocations: 34 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.6228, allocations: 11.34 kB / 0.5681 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.6231, allocations: 187.6 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.6231, allocations: 4 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.6232, allocations: 7.938 kB / 0.5683 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.6234, allocations: 63.39 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6234, allocations: 4 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6234, allocations: 0 / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6234, allocations: 3.938 kB / 0.5684 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.6236, allocations: 25.02 kB / 0.5684 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.6241, allocations: 272.9 kB / 0.5687 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.6245, allocations: 46.5 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.6246, allocations: 0 / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.6246, allocations: 38.56 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.474e-06/0.6247, allocations: 7.938 kB / 0.5688 GB, free: 10.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001134/0.6258, allocations: 153.7 kB / 0.5689 GB, free: 10.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.6259, allocations: 85.05 kB / 0.569 GB, free: 10.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6261, allocations: 124 kB / 0.5691 GB, free: 9.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6261, allocations: 25.7 kB / 0.5691 GB, free: 9.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.6262, allocations: 154.6 kB / 0.5693 GB, free: 9.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.6263, allocations: 23.72 kB / 0.5693 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.6263, allocations: 4 kB / 0.5693 GB, free: 9.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6264, allocations: 310.8 kB / 0.5696 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.6266, allocations: 27.98 kB / 0.5696 GB, free: 9.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.6267, allocations: 33.7 kB / 0.5697 GB, free: 9.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.6268, allocations: 27.92 kB / 0.5697 GB, free: 9.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6269, allocations: 4.031 kB / 0.5697 GB, free: 9.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000321/0.6272, allocations: 78.42 kB / 0.5698 GB, free: 9.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6272, allocations: 4 kB / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6272, allocations: 0 / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6273, allocations: 0 / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.6274, allocations: 15.98 kB / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6274, allocations: 4.25 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.6275, allocations: 15.94 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.6276, allocations: 8 kB / 0.5698 GB, free: 9.195 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.0001356/0.6277, allocations: 117.8 kB / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.6278, allocations: 11.84 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.6282, allocations: 97.61 kB / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6282, allocations: 0 / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6282, allocations: 0 / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6282, allocations: 0 / 0.57 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.6289, allocations: 362.5 kB / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.629, allocations: 0 / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.6291, allocations: 12 kB / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.6292, allocations: 288 / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6292, allocations: 3.984 kB / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6292, allocations: 0 / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6292, allocations: 3.953 kB / 0.5704 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.6296, allocations: 191.4 kB / 0.5706 GB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.6297, allocations: 92.94 kB / 0.5707 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.6298, allocations: 3.938 kB / 0.5707 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6299, allocations: 8 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.63, allocations: 11.92 kB / 0.5707 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.63, allocations: 7.953 kB / 0.5707 GB, free: 8.184 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.6302, allocations: 103.3 kB / 0.5708 GB, free: 8.082 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6302, allocations: 0 / 0.5708 GB, free: 8.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003883/0.6306, allocations: 28 kB / 0.5708 GB, free: 8.055 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.002147/0.6327, allocations: 1.053 MB / 0.5718 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.6332, allocations: 63.91 kB / 0.5719 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6333, allocations: 0 / 0.5719 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.6334, allocations: 27.98 kB / 0.5719 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.6337, allocations: 11.98 kB / 0.5719 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.6352, allocations: 0.557 MB / 0.5725 GB, free: 6.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.6356, allocations: 0.6926 MB / 0.5732 GB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.6357, allocations: 23.5 kB / 0.5732 GB, free: 5.625 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6357, allocations: 0 / 0.5732 GB, free: 5.625 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_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test23CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test23Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test23CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_CombiTable1Ds_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o] Error 1