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.001594/0.001594, allocations: 181 kB / 13.66 MB, free: 1.664 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.029/2.029, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001095/0.001095, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3127/0.3127, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.255e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.6171, allocations: 86.66 MB / 0.5575 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.6174, allocations: 77.55 kB / 0.5576 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.6346, allocations: 4.14 MB / 0.5616 GB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.6347, allocations: 4 kB / 0.5616 GB, free: 13.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.6347, allocations: 3.984 kB / 0.5616 GB, free: 13.57 MB / 378.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.0004863/0.6352, allocations: 361.6 kB / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6353, allocations: 8.031 kB / 0.562 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.6353, allocations: 37.67 kB / 0.562 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.6354, allocations: 12.53 kB / 0.562 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.6357, allocations: 195 kB / 0.5622 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.6357, allocations: 3.938 kB / 0.5622 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.6358, allocations: 3.188 kB / 0.5622 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.6359, allocations: 57.72 kB / 0.5623 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.636, allocations: 0 / 0.5623 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.636, allocations: 0 / 0.5623 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.636, allocations: 0 / 0.5623 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.6361, allocations: 15.25 kB / 0.5623 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.6366, allocations: 294.1 kB / 0.5626 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.6368, allocations: 40.75 kB / 0.5626 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/0.6369, allocations: 12.86 kB / 0.5626 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.6369, allocations: 0 / 0.5626 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.637, allocations: 38.28 kB / 0.5627 GB, free: 12.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.637, allocations: 4 kB / 0.5627 GB, free: 12.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005635/0.6375, allocations: 106.8 kB / 0.5628 GB, free: 12.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.6376, allocations: 89.05 kB / 0.5629 GB, free: 12.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.6378, allocations: 115.4 kB / 0.563 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.6378, allocations: 33.19 kB / 0.563 GB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.6379, allocations: 165.2 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.638, allocations: 13.94 kB / 0.5632 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.638, allocations: 0 / 0.5632 GB, free: 11.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6381, allocations: 313.7 kB / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.6382, allocations: 10.88 kB / 0.5635 GB, free: 11.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.6383, allocations: 34.89 kB / 0.5635 GB, free: 11.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.32e-05/0.6383, allocations: 15.19 kB / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6383, allocations: 0 / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000161/0.6385, allocations: 62.06 kB / 0.5636 GB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6386, allocations: 12.02 kB / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6386, allocations: 0 / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6386, allocations: 0 / 0.5636 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6387, allocations: 12 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6388, allocations: 0 / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.6389, allocations: 15.94 kB / 0.5636 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.6389, allocations: 0 / 0.5636 GB, free: 11.41 MB / 378.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 () * 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.000102/0.639, allocations: 118 kB / 0.5637 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.639, allocations: 3.906 kB / 0.5637 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.6393, allocations: 75.45 kB / 0.5638 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6393, allocations: 4.141 kB / 0.5638 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.6393, allocations: 0 / 0.5638 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.6393, allocations: 3.984 kB / 0.5638 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.6399, allocations: 339.2 kB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6399, allocations: 0 / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.64, allocations: 19.98 kB / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.64, allocations: 3.938 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.6401, allocations: 4 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6401, allocations: 0 / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6401, allocations: 3.953 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.6403, allocations: 159.5 kB / 0.5643 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.6404, allocations: 92.81 kB / 0.5644 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.6404, allocations: 8 kB / 0.5644 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6406, allocations: 8 kB / 0.5644 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.6406, allocations: 11.94 kB / 0.5644 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.6407, allocations: 0 / 0.5644 GB, free: 10.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.6408, allocations: 109.5 kB / 0.5645 GB, free: 10.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6408, allocations: 0 / 0.5645 GB, free: 10.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003557/0.6412, allocations: 31.86 kB / 0.5646 GB, free: 10.4 MB / 378.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 () * 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.001689/0.6429, allocations: 0.9949 MB / 0.5655 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.6431, allocations: 34.42 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6431, allocations: 0 / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.6432, allocations: 22.81 kB / 0.5656 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.6435, allocations: 11.98 kB / 0.5656 GB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.6442, allocations: 193.4 kB / 0.5658 GB, free: 9.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.6446, allocations: 0.6926 MB / 0.5665 GB, free: 8.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.6447, allocations: 26.86 kB / 0.5665 GB, free: 8.441 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6447, allocations: 0 / 0.5665 GB, free: 8.441 MB / 378.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