Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",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.00147/0.00147, allocations: 179.2 kB / 8.363 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.238/2.238, 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.001043/0.001043, allocations: 95.16 kB / 262.1 MB, free: 13.86 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.3327/0.3327, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.248e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4665, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.6301, allocations: 85.93 MB / 0.5499 GB, free: 13.27 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.6304, allocations: 71.97 kB / 0.55 GB, free: 13.2 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.6489, allocations: 4.274 MB / 0.5542 GB, free: 8.922 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6489, allocations: 0 / 0.5542 GB, free: 8.922 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.649, allocations: 0 / 0.5542 GB, free: 8.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005122/0.6495, allocations: 367.1 kB / 0.5545 GB, free: 8.52 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6496, allocations: 8.031 kB / 0.5545 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.6496, allocations: 7.906 kB / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.6499, allocations: 202.8 kB / 0.5547 GB, free: 8.266 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.65, allocations: 0 / 0.5547 GB, free: 8.266 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.65, allocations: 8 kB / 0.5547 GB, free: 8.258 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001125/0.6501, allocations: 23.98 kB / 0.5548 GB, free: 8.234 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.6503, allocations: 59.34 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.6503, allocations: 8 kB / 0.5548 GB, free: 8.156 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.6503, allocations: 4 kB / 0.5548 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6503, allocations: 0 / 0.5548 GB, free: 8.152 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.6508, allocations: 273.2 kB / 0.5551 GB, free: 7.848 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.6509, allocations: 42.56 kB / 0.5551 GB, free: 7.797 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.651, allocations: 12.98 kB / 0.5551 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.651, allocations: 7.984 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.6511, allocations: 30.56 kB / 0.5552 GB, free: 7.734 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.6511, allocations: 0 / 0.5552 GB, free: 7.734 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006282/0.6517, allocations: 133.6 kB / 0.5553 GB, free: 7.598 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.6518, allocations: 77.11 kB / 0.5554 GB, free: 7.504 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.652, allocations: 132.9 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.652, allocations: 25.7 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.828e-05/0.6521, allocations: 158.5 kB / 0.5557 GB, free: 7.18 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.6522, allocations: 31.55 kB / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.6522, allocations: 0 / 0.5557 GB, free: 7.148 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6523, allocations: 310.8 kB / 0.556 GB, free: 6.836 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.6524, allocations: 16 kB / 0.556 GB, free: 6.82 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.6525, allocations: 29.72 kB / 0.556 GB, free: 6.785 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.6525, allocations: 24.16 kB / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6526, allocations: 0 / 0.5561 GB, free: 6.762 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001716/0.6527, allocations: 73.67 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6528, allocations: 4 kB / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.6528, allocations: 0 / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6528, allocations: 0 / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.653, allocations: 24.02 kB / 0.5562 GB, free: 6.656 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.653, allocations: 0 / 0.5562 GB, free: 6.656 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.6531, allocations: 11.95 kB / 0.5562 GB, free: 6.645 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.6531, allocations: 3.984 kB / 0.5562 GB, free: 6.641 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 (8): * Single equations (assignments): 8 * 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.13e-05/0.6532, allocations: 108.9 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000185/0.6534, allocations: 77.58 kB / 0.5564 GB, free: 6.445 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.6535, allocations: 7.906 kB / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.6538, allocations: 86.3 kB / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.6538, allocations: 4 kB / 0.5564 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6538, allocations: 7.891 kB / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6538, allocations: 0 / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.6544, allocations: 339 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6544, allocations: 4 kB / 0.5568 GB, free: 5.961 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.6546, allocations: 15.98 kB / 0.5568 GB, free: 5.945 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6546, allocations: 4 kB / 0.5568 GB, free: 5.941 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.6546, allocations: 7.953 kB / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6546, allocations: 0 / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6546, allocations: 320 / 0.5568 GB, free: 5.934 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.6549, allocations: 175.4 kB / 0.557 GB, free: 5.746 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.655, allocations: 85.09 kB / 0.5571 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.655, allocations: 4.188 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.6552, allocations: 11.95 kB / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.6552, allocations: 11.98 kB / 0.5571 GB, free: 5.617 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.6552, allocations: 0 / 0.5571 GB, free: 5.617 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.6554, allocations: 103.3 kB / 0.5572 GB, free: 5.516 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6554, allocations: 0 / 0.5572 GB, free: 5.516 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.6558, allocations: 35.94 kB / 0.5572 GB, free: 5.48 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 (8): * Single equations (assignments): 8 * 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.00164/0.6574, allocations: 0.9785 MB / 0.5582 GB, free: 4.516 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.6577, allocations: 40 kB / 0.5582 GB, free: 4.477 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.6577, allocations: 4 kB / 0.5582 GB, free: 4.473 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.6578, allocations: 31.88 kB / 0.5582 GB, free: 4.441 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.6581, allocations: 19.8 kB / 0.5583 GB, free: 4.422 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.659, allocations: 199.4 kB / 0.5585 GB, free: 4.184 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.6593, allocations: 0.6924 MB / 0.5591 GB, free: 3.465 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.6594, allocations: 27.42 kB / 0.5592 GB, free: 3.438 MB / 395.1 MB Notification: Performance of SimCode: time 1.724e-06/0.6595, allocations: 4 kB / 0.5592 GB, free: 3.434 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:39:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp28; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:40: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", tmp28); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.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", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp19; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp19); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.cpp:745:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1