Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",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.002144/0.002144, allocations: 177.9 kB / 8.362 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.285/2.285, 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.001131/0.001131, allocations: 92.67 kB / 262.1 MB, free: 13.88 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.3975/0.3975, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.764e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3994, allocations: 58.84 MB / 477.2 MB, free: 5.172 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5592, allocations: 85.88 MB / 0.5499 GB, free: 13.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5595, allocations: 79.45 kB / 0.5499 GB, free: 13.26 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01689/0.5764, allocations: 4.004 MB / 0.5538 GB, free: 9.262 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5765, allocations: 0 / 0.5538 GB, free: 9.262 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.5765, allocations: 0 / 0.5538 GB, free: 9.262 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004461/0.577, allocations: 366.4 kB / 0.5542 GB, free: 8.859 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.577, allocations: 12.03 kB / 0.5542 GB, free: 8.848 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.5771, allocations: 8.531 kB / 0.5542 GB, free: 8.84 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.5773, allocations: 191.5 kB / 0.5544 GB, free: 8.613 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5774, allocations: 4 kB / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.5774, allocations: 0 / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.475e-05/0.5775, allocations: 8 kB / 0.5544 GB, free: 8.602 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.5776, allocations: 55.41 kB / 0.5545 GB, free: 8.535 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5777, allocations: 0 / 0.5545 GB, free: 8.535 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5777, allocations: 7.938 kB / 0.5545 GB, free: 8.527 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.5777, allocations: 3.984 kB / 0.5545 GB, free: 8.523 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.5781, allocations: 257.4 kB / 0.5547 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.5783, allocations: 30.58 kB / 0.5547 GB, free: 8.195 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.5784, allocations: 16.94 kB / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5784, allocations: 0 / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5784, allocations: 34.56 kB / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.5784, allocations: 0 / 0.5548 GB, free: 8.133 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.000456/0.5789, allocations: 97.33 kB / 0.5549 GB, free: 8.031 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.579, allocations: 77.11 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.5791, allocations: 125 kB / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.5792, allocations: 25.7 kB / 0.5551 GB, free: 7.777 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.5793, allocations: 166.5 kB / 0.5553 GB, free: 7.613 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.5793, allocations: 15.73 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.5793, allocations: 0 / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5795, allocations: 315 kB / 0.5556 GB, free: 7.281 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.5795, allocations: 12 kB / 0.5556 GB, free: 7.27 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.5796, allocations: 21.66 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.5796, allocations: 12 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5796, allocations: 0 / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001266/0.5798, allocations: 57.72 kB / 0.5557 GB, free: 7.168 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5798, allocations: 4 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.5798, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5798, allocations: 256 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.58, allocations: 15.98 kB / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.58, allocations: 8 kB / 0.5557 GB, free: 7.141 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.52e-05/0.5801, allocations: 4 kB / 0.5557 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.5801, allocations: 0 / 0.5557 GB, free: 7.137 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 (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 8.811e-05/0.5802, allocations: 116.9 kB / 0.5558 GB, free: 7.016 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001368/0.5804, allocations: 61.55 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.5804, allocations: 7.906 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.5806, allocations: 70.08 kB / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5806, allocations: 0 / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5806, allocations: 0 / 0.556 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5806, allocations: 3.953 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.5811, allocations: 295.1 kB / 0.5562 GB, free: 6.531 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5811, allocations: 8 kB / 0.5562 GB, free: 6.523 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.5812, allocations: 11.98 kB / 0.5563 GB, free: 6.512 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5812, allocations: 4 kB / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.5812, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5812, allocations: 0 / 0.5563 GB, free: 6.508 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5813, allocations: 3.953 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5814, allocations: 163.4 kB / 0.5564 GB, free: 6.328 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.5815, allocations: 85.02 kB / 0.5565 GB, free: 6.227 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.5815, allocations: 4.25 kB / 0.5565 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.5817, allocations: 7.984 kB / 0.5565 GB, free: 6.215 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.5817, allocations: 8 kB / 0.5565 GB, free: 6.207 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.5817, allocations: 7.891 kB / 0.5565 GB, free: 6.199 MB / 395.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.5818, allocations: 103.3 kB / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5819, allocations: 0 / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000374/0.5822, allocations: 27.98 kB / 0.5567 GB, free: 6.07 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 (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.001475/0.5837, allocations: 0.9742 MB / 0.5576 GB, free: 5.113 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.5839, allocations: 24 kB / 0.5576 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5839, allocations: 0 / 0.5576 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.584, allocations: 16 kB / 0.5576 GB, free: 5.074 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.5843, allocations: 11.84 kB / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.5849, allocations: 179.2 kB / 0.5578 GB, free: 4.84 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.5852, allocations: 0.6963 MB / 0.5585 GB, free: 4.117 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.5853, allocations: 27.42 kB / 0.5585 GB, free: 4.09 MB / 395.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5853, allocations: 0 / 0.5585 GB, free: 4.09 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_CombiTable1Ds_Test21CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.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_v7.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21.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_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21FMU.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_CombiTable1Ds_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.o] Error 1