Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14",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.004254/0.004254, allocations: 181.3 kB / 8.366 MB, free: 0.7109 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.267/2.267, 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.001188/0.001188, allocations: 90.72 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.3408/0.3408, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.06e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4209, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5848, allocations: 86.33 MB / 0.5503 GB, free: 12.86 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.5852, allocations: 75.95 kB / 0.5504 GB, free: 12.79 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.6037, allocations: 4.174 MB / 0.5545 GB, free: 8.605 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6038, allocations: 0 / 0.5545 GB, free: 8.605 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.6038, allocations: 0 / 0.5545 GB, free: 8.605 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.0005941/0.6044, allocations: 385.9 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6045, allocations: 12.03 kB / 0.5548 GB, free: 8.176 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.6046, allocations: 11.86 kB / 0.5548 GB, free: 8.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.6049, allocations: 190.9 kB / 0.555 GB, free: 7.938 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.6049, allocations: 4 kB / 0.555 GB, free: 7.934 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.605, allocations: 4 kB / 0.555 GB, free: 7.93 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.742e-05/0.6051, allocations: 16 kB / 0.5551 GB, free: 7.914 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.6052, allocations: 63.34 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6052, allocations: 0 / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6053, allocations: 0 / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6053, allocations: 0 / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.6057, allocations: 273.3 kB / 0.5554 GB, free: 7.535 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.6059, allocations: 34.52 kB / 0.5554 GB, free: 7.492 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.6059, allocations: 16.86 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.606, allocations: 8.062 kB / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.606, allocations: 34.5 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.606, allocations: 0 / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006646/0.6067, allocations: 129.3 kB / 0.5556 GB, free: 7.289 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.6068, allocations: 77.11 kB / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.607, allocations: 129.2 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.607, allocations: 25.7 kB / 0.5558 GB, free: 7.027 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.6071, allocations: 154.6 kB / 0.556 GB, free: 6.875 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.6071, allocations: 24.25 kB / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.6072, allocations: 4 kB / 0.556 GB, free: 6.848 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6073, allocations: 318.8 kB / 0.5563 GB, free: 6.527 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.6073, allocations: 12.25 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.6074, allocations: 29.7 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.6075, allocations: 19.94 kB / 0.5563 GB, free: 6.461 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6075, allocations: 0 / 0.5563 GB, free: 6.461 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001721/0.6077, allocations: 65.75 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.6077, allocations: 4 kB / 0.5564 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-06/0.6078, allocations: 4.031 kB / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6078, allocations: 0 / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.608, allocations: 31.94 kB / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.608, allocations: 0 / 0.5564 GB, free: 6.352 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6082, allocations: 15.92 kB / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.6082, allocations: 7.938 kB / 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 8.287e-05/0.6083, allocations: 105 kB / 0.5566 GB, free: 6.219 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001747/0.6085, allocations: 69.59 kB / 0.5566 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.6085, allocations: 7.906 kB / 0.5566 GB, free: 6.137 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.6088, allocations: 98.45 kB / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6088, allocations: 0 / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6088, allocations: 0 / 0.5567 GB, free: 6.035 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6088, allocations: 4 kB / 0.5567 GB, free: 6.031 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.6093, allocations: 319.1 kB / 0.557 GB, free: 5.676 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6093, allocations: 4 kB / 0.557 GB, free: 5.672 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.6095, allocations: 23.97 kB / 0.5571 GB, free: 5.648 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6095, allocations: 3.953 kB / 0.5571 GB, free: 5.645 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.6096, allocations: 4 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6096, allocations: 0 / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6096, allocations: 0 / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.6098, allocations: 175.4 kB / 0.5572 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.6099, allocations: 89 kB / 0.5573 GB, free: 5.348 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.6099, allocations: 7.953 kB / 0.5573 GB, free: 5.34 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6101, allocations: 15.92 kB / 0.5574 GB, free: 5.324 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.6102, allocations: 4 kB / 0.5574 GB, free: 5.32 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.6102, allocations: 4 kB / 0.5574 GB, free: 5.316 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.6103, allocations: 103.3 kB / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6103, allocations: 0 / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003955/0.6108, allocations: 39.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.001563/0.6123, allocations: 0.9764 MB / 0.5584 GB, free: 4.227 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.6126, allocations: 39.98 kB / 0.5585 GB, free: 4.188 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6126, allocations: 0 / 0.5585 GB, free: 4.188 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.6127, allocations: 27.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.0003285/0.613, allocations: 19.8 kB / 0.5585 GB, free: 4.141 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.6137, allocations: 195.7 kB / 0.5587 GB, free: 3.906 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6141, 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.0001172/0.6142, allocations: 27.42 kB / 0.5594 GB, free: 3.156 MB / 395.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6142, 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_Test14CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14InitializeParameter.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.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14Initialize.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_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14.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_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14FMU.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_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test14CalcHelperMain.o] Error 1