Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.518e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3988, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.5849, allocations: 86.53 MB / 468.8 MB, free: 5.883 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.5852, allocations: 67.97 kB / 468.9 MB, free: 5.816 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.6009, allocations: 3.582 MB / 472.5 MB, free: 2.23 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.601, allocations: 0 / 472.5 MB, free: 2.23 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.601, allocations: 4 kB / 472.5 MB, free: 2.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004776/0.6015, allocations: 374.8 kB / 472.8 MB, free: 1.816 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6016, allocations: 8.031 kB / 472.9 MB, free: 1.809 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.6016, allocations: 38.55 kB / 472.9 MB, free: 1.762 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.6017, allocations: 7.906 kB / 472.9 MB, free: 1.754 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.602, allocations: 190.9 kB / 473.1 MB, free: 1.527 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.602, allocations: 0 / 473.1 MB, free: 1.527 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.602, allocations: 4 kB / 473.1 MB, free: 1.523 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.6022, allocations: 59.66 kB / 473.2 MB, free: 1.453 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.6022, allocations: 4 kB / 473.2 MB, free: 1.449 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.6023, allocations: 4 kB / 473.2 MB, free: 1.445 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6023, allocations: 0 / 473.2 MB, free: 1.445 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.6024, allocations: 19.94 kB / 473.2 MB, free: 1.426 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.6029, allocations: 288.9 kB / 473.5 MB, free: 1.094 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.603, allocations: 38.56 kB / 473.5 MB, free: 1.047 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.603, allocations: 12.86 kB / 473.5 MB, free: 1.031 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.6031, allocations: 0 / 473.5 MB, free: 1.031 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.6031, allocations: 46.55 kB / 473.6 MB, free: 0.9766 MB / 394.8 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.6031, allocations: 0 / 473.6 MB, free: 0.9766 MB / 394.8 MB Notification: Performance of matching and sorting (n=6): time 0.0005488/0.6037, allocations: 125.3 kB / 473.7 MB, free: 0.8477 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.6038, allocations: 81.06 kB / 473.8 MB, free: 0.75 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.604, allocations: 125 kB / 473.9 MB, free: 0.6211 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.604, allocations: 33.64 kB / 473.9 MB, free: 0.582 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.6041, allocations: 88.12 kB / 474 MB, free: 0.4922 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.6041, allocations: 19.72 kB / 474 MB, free: 484 kB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.6041, allocations: 0 / 474 MB, free: 484 kB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6043, allocations: 318.8 kB / 474.3 MB, free: 156 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.6043, allocations: 16 kB / 474.3 MB, free: 140 kB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.6044, allocations: 29.59 kB / 474.4 MB, free: 104 kB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.6045, allocations: 24.02 kB / 474.4 MB, free: 80 kB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6045, allocations: 0 / 474.4 MB, free: 80 kB / 394.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001789/0.6047, allocations: 69.59 kB / 474.5 MB, free: 4 kB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6047, allocations: 4 kB / 474.5 MB, free: 0 / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6047, allocations: 0 / 474.5 MB, free: 0 / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6048, allocations: 0 / 474.5 MB, free: 0 / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.605, allocations: 19.98 kB / 474.5 MB, free: 15.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.605, allocations: 0 / 474.5 MB, free: 15.98 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.521e-05/0.6051, allocations: 19.88 kB / 474.5 MB, free: 15.96 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.6051, allocations: 8 kB / 474.5 MB, free: 15.95 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 (6): * Single equations (assignments): 6 * 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.919e-05/0.6052, allocations: 104.9 kB / 474.6 MB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.6053, allocations: 4 kB / 474.6 MB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.6055, allocations: 90.19 kB / 474.7 MB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6055, allocations: 0 / 474.7 MB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6055, allocations: 0 / 474.7 MB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6056, allocations: 3.984 kB / 474.7 MB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.6061, allocations: 354.5 kB / 475.1 MB, free: 15.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6061, allocations: 0 / 475.1 MB, free: 15.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.6063, allocations: 12 kB / 475.1 MB, free: 15.33 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6063, allocations: 0 / 475.1 MB, free: 15.33 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.6063, allocations: 4.359 kB / 475.1 MB, free: 15.33 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6063, allocations: 0 / 475.1 MB, free: 15.33 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6063, allocations: 11.95 kB / 475.1 MB, free: 15.32 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.6065, allocations: 167.5 kB / 475.3 MB, free: 15.14 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.6066, allocations: 85.09 kB / 475.3 MB, free: 15.04 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.6067, allocations: 0 / 475.3 MB, free: 15.04 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6068, allocations: 8 kB / 475.3 MB, free: 15.03 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.6069, allocations: 11.94 kB / 475.4 MB, free: 15.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.6069, allocations: 4 kB / 475.4 MB, free: 15.01 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000116/0.607, allocations: 115.6 kB / 475.5 MB, free: 14.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.607, allocations: 0 / 475.5 MB, free: 14.9 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003641/0.6074, allocations: 31.98 kB / 475.5 MB, free: 14.87 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 (6): * Single equations (assignments): 6 * 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.001707/0.6091, allocations: 1.025 MB / 476.5 MB, free: 13.89 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.6093, allocations: 35.94 kB / 476.6 MB, free: 13.86 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6093, allocations: 0 / 476.6 MB, free: 13.86 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.6094, allocations: 23.98 kB / 476.6 MB, free: 13.84 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.6097, allocations: 8 kB / 476.6 MB, free: 13.83 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.6103, allocations: 179.7 kB / 476.8 MB, free: 13.62 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.6107, allocations: 0.6926 MB / 477.5 MB, free: 12.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.6108, allocations: 15.97 kB / 477.5 MB, free: 12.88 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/0.6109, allocations: 27.42 kB / 477.5 MB, free: 12.86 MB / 410.8 MB Notification: Performance of SimCode: time 1.012e-06/0.6109, allocations: 0 / 477.5 MB, free: 12.86 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.6316, allocations: 2.393 MB / 479.9 MB, free: 10.49 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.6319, allocations: 200.9 kB / 480.1 MB, free: 10.26 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_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_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_CombiTable1D_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1