Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001461/0.001461, allocations: 179.4 kB / 8.364 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.15/2.15, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.00119/0.001189, allocations: 88.17 kB / 262.1 MB, free: 13.89 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.3104/0.3104, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.502e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4603, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.6287, allocations: 86.72 MB / 0.5507 GB, free: 12.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.629, allocations: 79.94 kB / 0.5508 GB, free: 12.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.6481, allocations: 4.285 MB / 0.5549 GB, free: 8.098 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6482, allocations: 0 / 0.5549 GB, free: 8.098 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.6482, allocations: 4 kB / 0.555 GB, free: 8.094 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.0005528/0.6488, allocations: 386.9 kB / 0.5553 GB, free: 7.672 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6488, allocations: 8.031 kB / 0.5553 GB, free: 7.664 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.6489, allocations: 11.95 kB / 0.5553 GB, free: 7.652 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.6492, allocations: 194.8 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6492, allocations: 0 / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.6493, allocations: 4 kB / 0.5555 GB, free: 7.418 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/0.6494, allocations: 20 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.6496, allocations: 59.39 kB / 0.5556 GB, free: 7.328 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6496, allocations: 3.938 kB / 0.5556 GB, free: 7.324 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6496, allocations: 0 / 0.5556 GB, free: 7.324 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.6496, allocations: 0 / 0.5556 GB, free: 7.324 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.6502, allocations: 293.2 kB / 0.5559 GB, free: 7 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.6504, allocations: 38.52 kB / 0.5559 GB, free: 6.953 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.6504, allocations: 24.92 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.6505, allocations: 4.078 kB / 0.556 GB, free: 6.922 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.6505, allocations: 30.56 kB / 0.556 GB, free: 6.883 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.6505, allocations: 4 kB / 0.556 GB, free: 6.879 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007653/0.6513, allocations: 153.2 kB / 0.5561 GB, free: 6.723 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.6514, allocations: 77.11 kB / 0.5562 GB, free: 6.629 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.6516, allocations: 132.3 kB / 0.5563 GB, free: 6.492 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.6516, allocations: 29.69 kB / 0.5564 GB, free: 6.457 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.6517, allocations: 158.5 kB / 0.5565 GB, free: 6.301 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.6518, allocations: 23.62 kB / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.6518, allocations: 0 / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6519, allocations: 310.8 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.652, allocations: 24.23 kB / 0.5569 GB, free: 5.941 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.6521, allocations: 33.78 kB / 0.5569 GB, free: 5.902 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.6522, allocations: 28.02 kB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.6522, allocations: 0 / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000205/0.6524, allocations: 77.61 kB / 0.557 GB, free: 5.793 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.6524, allocations: 8 kB / 0.557 GB, free: 5.785 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6525, allocations: 0 / 0.557 GB, free: 5.785 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6525, allocations: 0 / 0.557 GB, free: 5.785 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.6527, allocations: 23.98 kB / 0.557 GB, free: 5.762 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.6527, allocations: 7.953 kB / 0.557 GB, free: 5.754 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.6529, allocations: 15.98 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.6529, allocations: 4 kB / 0.557 GB, free: 5.734 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.032e-05/0.653, allocations: 104.9 kB / 0.5571 GB, free: 5.625 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002114/0.6532, allocations: 89.5 kB / 0.5572 GB, free: 5.531 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.6533, allocations: 7.906 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.6536, allocations: 98.23 kB / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6536, allocations: 0 / 0.5573 GB, free: 5.426 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.6536, allocations: 8 kB / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.6536, allocations: 0 / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.6542, allocations: 347 kB / 0.5577 GB, free: 5.035 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6542, allocations: 0 / 0.5577 GB, free: 5.035 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.6544, allocations: 23.98 kB / 0.5577 GB, free: 5.012 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.6544, allocations: 3.953 kB / 0.5577 GB, free: 5.008 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6544, allocations: 0 / 0.5577 GB, free: 5.008 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.6545, allocations: 11.98 kB / 0.5577 GB, free: 4.996 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.6545, allocations: 4 kB / 0.5577 GB, free: 4.992 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.6547, allocations: 175.9 kB / 0.5579 GB, free: 4.805 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.6548, allocations: 96.94 kB / 0.558 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.6549, allocations: 3.953 kB / 0.558 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.655, allocations: 15.92 kB / 0.558 GB, free: 4.672 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.6552, allocations: 11.98 kB / 0.558 GB, free: 4.66 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.6552, allocations: 0 / 0.558 GB, free: 4.66 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.6553, allocations: 107.3 kB / 0.5581 GB, free: 4.555 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6553, allocations: 0 / 0.5581 GB, free: 4.555 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.6557, allocations: 31.98 kB / 0.5581 GB, free: 4.523 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.001598/0.6573, allocations: 0.9924 MB / 0.5591 GB, free: 3.559 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.6576, allocations: 51.98 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6576, allocations: 4 kB / 0.5592 GB, free: 3.504 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.6577, allocations: 24 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6581, allocations: 27.73 kB / 0.5592 GB, free: 3.453 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.6589, allocations: 219.3 kB / 0.5594 GB, free: 3.195 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.6592, allocations: 0.708 MB / 0.5601 GB, free: 2.461 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.6594, allocations: 27.42 kB / 0.5601 GB, free: 2.434 MB / 395.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6594, allocations: 7.938 kB / 0.5601 GB, free: 2.426 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_CombiTable2Dv_Test10CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.cpp:42: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", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.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_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:279: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_CombiTable2Dv_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10FMU.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_CombiTable2Dv_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.o] Error 1