Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.768e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09967, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4878, allocations: 74.56 MB / 396.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4882, allocations: 67.97 kB / 396.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.5003, allocations: 2.775 MB / 399.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5004, allocations: 0 / 399.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.5004, allocations: 4 kB / 399.3 MB, free: 12.21 MB / 330.7 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.0006951/0.5011, allocations: 424 kB / 399.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5011, allocations: 12.03 kB / 399.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.5012, allocations: 30.56 kB / 399.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.5013, allocations: 15.92 kB / 399.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.5015, allocations: 186.9 kB / 400 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5016, allocations: 4 kB / 400 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.5016, allocations: 7.984 kB / 400 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.5018, allocations: 75.38 kB / 400 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5018, allocations: 0 / 400 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5018, allocations: 0 / 400 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5019, allocations: 4 kB / 400 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.502, allocations: 24 kB / 400.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.5025, allocations: 305.1 kB / 400.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.5027, allocations: 46.56 kB / 400.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.5027, allocations: 20.98 kB / 400.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.5028, allocations: 4 kB / 400.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.5028, allocations: 34.56 kB / 400.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.5028, allocations: 0 / 400.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001139/0.504, allocations: 213.2 kB / 400.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.5041, allocations: 77.11 kB / 400.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.5042, allocations: 121 kB / 400.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.5042, allocations: 25.7 kB / 400.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.5043, allocations: 100.3 kB / 401 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.5044, allocations: 27.61 kB / 401 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.5044, allocations: 4 kB / 401 MB, free: 10.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5046, allocations: 318.8 kB / 401.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.5047, allocations: 20 kB / 401.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.5048, allocations: 45.64 kB / 401.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5049, allocations: 49.83 kB / 401.4 MB, free: 9.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5049, allocations: 4 kB / 401.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003039/0.5052, allocations: 127.2 kB / 401.6 MB, free: 9.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.5053, allocations: 29.7 kB / 401.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5053, allocations: 4.031 kB / 401.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5053, allocations: 0 / 401.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.5057, allocations: 51.91 kB / 401.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5058, allocations: 192 / 401.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.5061, allocations: 39.97 kB / 401.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.5061, allocations: 4.016 kB / 401.7 MB, free: 9.543 MB / 330.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.736e-05/0.5062, allocations: 109 kB / 401.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.5063, allocations: 7.906 kB / 401.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.5066, allocations: 114.1 kB / 401.9 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.5066, allocations: 4 kB / 401.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.5066, allocations: 7.953 kB / 401.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5067, allocations: 0 / 401.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.5073, allocations: 370.5 kB / 402.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5073, allocations: 0 / 402.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.5077, allocations: 47.95 kB / 402.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5077, allocations: 3.938 kB / 402.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.5077, allocations: 7.953 kB / 402.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.5077, allocations: 4 kB / 402.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5077, allocations: 0 / 402.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.508, allocations: 180.8 kB / 402.5 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.5081, allocations: 85.02 kB / 402.6 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5081, allocations: 3.984 kB / 402.6 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.5085, allocations: 39.92 kB / 402.7 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.5086, allocations: 11.98 kB / 402.7 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.5086, allocations: 0 / 402.7 MB, free: 8.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.5087, allocations: 104.5 kB / 402.8 MB, free: 8.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5087, allocations: 4 kB / 402.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.5091, allocations: 40.08 kB / 402.8 MB, free: 8.32 MB / 330.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 (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.001383/0.5105, allocations: 0.9368 MB / 403.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.5108, allocations: 119.3 kB / 403.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5108, allocations: 0 / 403.9 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5109, allocations: 32 kB / 403.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.5112, allocations: 19.38 kB / 403.9 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.5119, allocations: 170.9 kB / 404.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.5122, allocations: 0.7004 MB / 404.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.5123, allocations: 11.92 kB / 404.8 MB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.586e-05/0.5124, allocations: 27.42 kB / 404.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5124, allocations: 0 / 404.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.5345, allocations: 2.652 MB / 407.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.5349, allocations: 200.7 kB / 407.7 MB, free: 3.441 MB / 330.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:16:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o] Error 1