Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12",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.002136/0.002136, 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.127/2.127, 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.001064/0.001064, allocations: 90.41 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.3094/0.3094, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.202e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4313, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.6257, allocations: 86.34 MB / 0.5503 GB, free: 12.85 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.626, allocations: 67.97 kB / 0.5504 GB, free: 12.78 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01852/0.6446, allocations: 4.172 MB / 0.5545 GB, free: 8.602 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6446, allocations: 0 / 0.5545 GB, free: 8.602 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.6447, allocations: 4 kB / 0.5545 GB, free: 8.598 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.0005636/0.6452, allocations: 377.9 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.6453, allocations: 16.03 kB / 0.5548 GB, free: 8.172 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.6454, allocations: 11.86 kB / 0.5548 GB, free: 8.16 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.6457, allocations: 194.9 kB / 0.555 GB, free: 7.93 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.6457, allocations: 0 / 0.555 GB, free: 7.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.6458, allocations: 4 kB / 0.555 GB, free: 7.926 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.761e-05/0.6459, allocations: 12 kB / 0.555 GB, free: 7.914 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.646, allocations: 59.34 kB / 0.5551 GB, free: 7.844 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.646, allocations: 4 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6461, allocations: 0 / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6461, allocations: 8 kB / 0.5551 GB, free: 7.832 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.6466, allocations: 265.3 kB / 0.5554 GB, free: 7.535 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6467, allocations: 30.52 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.6468, allocations: 16.86 kB / 0.5554 GB, free: 7.477 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.6468, allocations: 0 / 0.5554 GB, free: 7.477 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.6468, allocations: 46.58 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.6469, allocations: 0 / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006648/0.6475, allocations: 129.4 kB / 0.5556 GB, free: 7.289 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.6476, allocations: 77.11 kB / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.6478, allocations: 129.2 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.6478, allocations: 25.7 kB / 0.5558 GB, free: 7.027 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.6479, allocations: 158.6 kB / 0.556 GB, free: 6.871 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.648, allocations: 28.19 kB / 0.556 GB, free: 6.844 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.648, allocations: 0 / 0.556 GB, free: 6.844 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.6482, allocations: 310.8 kB / 0.5563 GB, free: 6.531 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.6482, allocations: 16.25 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.6483, allocations: 29.78 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.6484, allocations: 23.92 kB / 0.5563 GB, free: 6.457 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6484, allocations: 4.031 kB / 0.5563 GB, free: 6.453 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.6486, allocations: 61.69 kB / 0.5564 GB, free: 6.387 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6486, allocations: 4 kB / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6487, allocations: 0 / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6487, allocations: 0 / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.6489, allocations: 27.94 kB / 0.5564 GB, free: 6.355 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6489, allocations: 3.938 kB / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.6491, allocations: 23.92 kB / 0.5565 GB, free: 6.328 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.6491, allocations: 0 / 0.5565 GB, free: 6.328 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 9.716e-05/0.6492, allocations: 105 kB / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001831/0.6494, allocations: 73.58 kB / 0.5566 GB, free: 6.141 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.6495, allocations: 7.906 kB / 0.5566 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.6497, allocations: 90.09 kB / 0.5567 GB, free: 6.039 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6498, allocations: 4 kB / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6498, allocations: 0 / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6498, allocations: 4 kB / 0.5567 GB, free: 6.031 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.6503, allocations: 319.1 kB / 0.557 GB, free: 5.676 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6503, allocations: 0 / 0.557 GB, free: 5.676 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.6505, allocations: 23.98 kB / 0.5571 GB, free: 5.652 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.6505, allocations: 7.938 kB / 0.5571 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.6506, allocations: 4 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6506, allocations: 0 / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6506, allocations: 3.938 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.6508, allocations: 171.9 kB / 0.5572 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.6509, allocations: 89 kB / 0.5573 GB, free: 5.348 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.6509, allocations: 3.953 kB / 0.5573 GB, free: 5.344 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.6511, allocations: 11.94 kB / 0.5573 GB, free: 5.332 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.6512, allocations: 12.12 kB / 0.5574 GB, free: 5.32 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.6512, allocations: 11.98 kB / 0.5574 GB, free: 5.309 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.6513, allocations: 107.1 kB / 0.5575 GB, free: 5.207 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6513, allocations: 0 / 0.5575 GB, free: 5.207 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.6518, allocations: 31.92 kB / 0.5575 GB, free: 5.176 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.001572/0.6533, allocations: 0.9723 MB / 0.5584 GB, free: 4.227 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.6536, allocations: 36 kB / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6536, allocations: 0 / 0.5585 GB, free: 4.191 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.6537, allocations: 31.94 kB / 0.5585 GB, free: 4.16 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.654, allocations: 23.78 kB / 0.5585 GB, free: 4.137 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.6547, allocations: 191.7 kB / 0.5587 GB, free: 3.906 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6551, allocations: 0.6963 MB / 0.5594 GB, free: 3.184 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.6552, allocations: 27.42 kB / 0.5594 GB, free: 3.156 MB / 395.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6552, allocations: 3.938 kB / 0.5594 GB, free: 3.152 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12InitializeParameter.cpp:41: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_v7.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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_v7.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12FMU.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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test12CalcHelperMain.o] Error 1