Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.603e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4151, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.5741, allocations: 87.35 MB / 469.6 MB, free: 5.078 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.5744, allocations: 75.95 kB / 469.7 MB, free: 5.004 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.5921, allocations: 4.045 MB / 473.8 MB, free: 0.9414 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5921, allocations: 0 / 473.8 MB, free: 0.9414 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.5922, allocations: 8 kB / 473.8 MB, free: 0.9336 MB / 394.8 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.0007272/0.5929, allocations: 402.8 kB / 474.2 MB, free: 0.4961 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.593, allocations: 8.031 kB / 474.2 MB, free: 500 kB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.593, allocations: 38.5 kB / 474.2 MB, free: 452 kB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.5931, allocations: 19.84 kB / 474.2 MB, free: 432 kB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.5934, allocations: 205.6 kB / 474.4 MB, free: 188 kB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.5935, allocations: 4 kB / 474.4 MB, free: 184 kB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.5935, allocations: 4 kB / 474.4 MB, free: 180 kB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.5937, allocations: 71.39 kB / 474.5 MB, free: 96 kB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5937, allocations: 0 / 474.5 MB, free: 96 kB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.5938, allocations: 0 / 474.5 MB, free: 96 kB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5938, allocations: 11.89 kB / 474.5 MB, free: 84 kB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5939, allocations: 31.94 kB / 474.5 MB, free: 52 kB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.5947, allocations: 344.7 kB / 474.9 MB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.5949, allocations: 54.58 kB / 474.9 MB, free: 15.6 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.595, allocations: 24.97 kB / 475 MB, free: 15.57 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.5951, allocations: 4 kB / 475 MB, free: 15.57 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.5951, allocations: 38.45 kB / 475 MB, free: 15.52 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.5951, allocations: 0 / 475 MB, free: 15.52 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.001195/0.5963, allocations: 229.3 kB / 475.2 MB, free: 15.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.5964, allocations: 81.11 kB / 475.3 MB, free: 15.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.5966, allocations: 140.5 kB / 475.4 MB, free: 15.05 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.5967, allocations: 25.7 kB / 475.5 MB, free: 15.02 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.5967, allocations: 108 kB / 475.6 MB, free: 14.91 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.5968, allocations: 19.66 kB / 475.6 MB, free: 14.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.5968, allocations: 4 kB / 475.6 MB, free: 14.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.597, allocations: 322.8 kB / 475.9 MB, free: 14.56 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.5971, allocations: 27.98 kB / 475.9 MB, free: 14.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.5972, allocations: 37.72 kB / 476 MB, free: 14.49 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.5973, allocations: 32.02 kB / 476 MB, free: 14.46 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5973, allocations: 0 / 476 MB, free: 14.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002865/0.5976, allocations: 101.5 kB / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5977, allocations: 4 kB / 476.1 MB, free: 14.35 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5977, allocations: 0 / 476.1 MB, free: 14.35 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5977, allocations: 7.938 kB / 476.1 MB, free: 14.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.5981, allocations: 51.89 kB / 476.2 MB, free: 14.29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5982, allocations: 0 / 476.2 MB, free: 14.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.5985, allocations: 35.97 kB / 476.2 MB, free: 14.26 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.5985, allocations: 4 kB / 476.2 MB, free: 14.25 MB / 410.8 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 0.0001025/0.5986, allocations: 109 kB / 476.3 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.5987, allocations: 11.86 kB / 476.3 MB, free: 14.13 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.5991, allocations: 130.5 kB / 476.5 MB, free: 14 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5991, allocations: 0 / 476.5 MB, free: 14 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5991, allocations: 0 / 476.5 MB, free: 14 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5991, allocations: 0 / 476.5 MB, free: 14 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.5998, allocations: 414.3 kB / 476.9 MB, free: 13.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5999, allocations: 0 / 476.9 MB, free: 13.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.6002, allocations: 47.95 kB / 476.9 MB, free: 13.49 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6003, allocations: 0 / 476.9 MB, free: 13.49 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6003, allocations: 0 / 476.9 MB, free: 13.49 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.6003, allocations: 4 kB / 476.9 MB, free: 13.48 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6003, allocations: 0 / 476.9 MB, free: 13.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.6006, allocations: 199.4 kB / 477.1 MB, free: 13.27 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.6007, allocations: 89.16 kB / 477.2 MB, free: 13.17 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.6008, allocations: 11.98 kB / 477.2 MB, free: 13.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6011, allocations: 31.97 kB / 477.2 MB, free: 13.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.6012, allocations: 11.98 kB / 477.2 MB, free: 13.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.6013, allocations: 8 kB / 477.2 MB, free: 13.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001325/0.6014, allocations: 111.8 kB / 477.4 MB, free: 13 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6014, allocations: 0 / 477.4 MB, free: 13 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003934/0.6018, allocations: 43.92 kB / 477.4 MB, free: 12.95 MB / 410.8 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.001763/0.6036, allocations: 1.062 MB / 478.5 MB, free: 11.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.6039, allocations: 67.98 kB / 478.5 MB, free: 11.88 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6039, allocations: 0 / 478.5 MB, free: 11.88 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.6041, allocations: 39.94 kB / 478.6 MB, free: 11.84 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.6044, allocations: 19.92 kB / 478.6 MB, free: 11.82 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.6052, allocations: 212.2 kB / 478.8 MB, free: 11.58 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.6055, allocations: 0.7004 MB / 479.5 MB, free: 10.85 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.6057, allocations: 34.03 kB / 479.5 MB, free: 10.82 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.6059, allocations: 27.42 kB / 479.6 MB, free: 10.79 MB / 410.8 MB Notification: Performance of SimCode: time 1.282e-06/0.6059, allocations: 0 / 479.6 MB, free: 10.79 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.6302, allocations: 3.061 MB / 482.6 MB, free: 7.762 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/0.6305, allocations: 198.1 kB / 482.8 MB, free: 7.539 MB / 410.8 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.3/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.3/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.o] Error 1