Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.895e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4583, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.6369, allocations: 86.96 MB / 469.3 MB, free: 5.453 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.6372, allocations: 71.95 kB / 469.3 MB, free: 5.383 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.655, allocations: 3.917 MB / 473.2 MB, free: 1.457 MB / 394.8 MB Notification: Performance of FrontEnd: time 3.897e-06/0.6551, allocations: 3.938 kB / 473.2 MB, free: 1.453 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.6551, allocations: 7.938 kB / 473.3 MB, free: 1.445 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.0007279/0.6558, allocations: 406.3 kB / 473.7 MB, free: 1.004 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.6559, allocations: 8.031 kB / 473.7 MB, free: 0.9961 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.656, allocations: 38.55 kB / 473.7 MB, free: 0.9492 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.656, allocations: 15.86 kB / 473.7 MB, free: 0.9336 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.6564, allocations: 206.8 kB / 473.9 MB, free: 0.6914 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.6564, allocations: 4 kB / 473.9 MB, free: 0.6875 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.6564, allocations: 0 / 473.9 MB, free: 0.6875 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.6566, allocations: 67.41 kB / 474 MB, free: 0.6094 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6567, allocations: 0 / 474 MB, free: 0.6094 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6567, allocations: 0 / 474 MB, free: 0.6094 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.6567, allocations: 7.953 kB / 474 MB, free: 0.6016 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.6568, allocations: 27.98 kB / 474 MB, free: 0.5742 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.6574, allocations: 300.8 kB / 474.3 MB, free: 236 kB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.6575, allocations: 46.56 kB / 474.4 MB, free: 180 kB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.6576, allocations: 20.98 kB / 474.4 MB, free: 156 kB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.6577, allocations: 0 / 474.4 MB, free: 156 kB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.6577, allocations: 42.52 kB / 474.4 MB, free: 104 kB / 394.8 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.6577, allocations: 0 / 474.4 MB, free: 104 kB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.001243/0.659, allocations: 221.3 kB / 474.6 MB, free: 15.88 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.6591, allocations: 81.11 kB / 474.7 MB, free: 15.78 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.6593, allocations: 135.7 kB / 474.8 MB, free: 15.64 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.6593, allocations: 25.7 kB / 474.9 MB, free: 15.61 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.6594, allocations: 100.1 kB / 475 MB, free: 15.51 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.6595, allocations: 27.56 kB / 475 MB, free: 15.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.6595, allocations: 0 / 475 MB, free: 15.48 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6596, allocations: 326.8 kB / 475.3 MB, free: 15.15 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.6597, allocations: 20 kB / 475.3 MB, free: 15.13 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.6598, allocations: 29.72 kB / 475.4 MB, free: 15.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.6599, allocations: 27.92 kB / 475.4 MB, free: 15.07 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.66, allocations: 3.781 kB / 475.4 MB, free: 15.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002639/0.6602, allocations: 89.53 kB / 475.5 MB, free: 14.98 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6603, allocations: 4 kB / 475.5 MB, free: 14.97 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6603, allocations: 0 / 475.5 MB, free: 14.97 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6603, allocations: 4.031 kB / 475.5 MB, free: 14.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.6607, allocations: 47.95 kB / 475.5 MB, free: 14.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6607, allocations: 0 / 475.5 MB, free: 14.92 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.6611, allocations: 39.97 kB / 475.6 MB, free: 14.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.6611, allocations: 0 / 475.6 MB, free: 14.88 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.0001047/0.6612, allocations: 112.9 kB / 475.7 MB, free: 14.77 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.6613, allocations: 7.906 kB / 475.7 MB, free: 14.76 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.6616, allocations: 110.5 kB / 475.8 MB, free: 14.64 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6617, allocations: 0 / 475.8 MB, free: 14.64 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6617, allocations: 4 kB / 475.8 MB, free: 14.64 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6617, allocations: 0 / 475.8 MB, free: 14.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.6624, allocations: 390.5 kB / 476.2 MB, free: 14.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6624, allocations: 0 / 476.2 MB, free: 14.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.6628, allocations: 55.89 kB / 476.2 MB, free: 14.15 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6628, allocations: 0 / 476.2 MB, free: 14.15 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.6628, allocations: 4 kB / 476.2 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6629, allocations: 0 / 476.2 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6629, allocations: 192 / 476.2 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.6632, allocations: 187.3 kB / 476.4 MB, free: 13.95 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.6633, allocations: 89 kB / 476.5 MB, free: 13.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.6633, allocations: 4 kB / 476.5 MB, free: 13.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.6637, allocations: 39.97 kB / 476.6 MB, free: 13.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.6638, allocations: 7.984 kB / 476.6 MB, free: 13.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.6638, allocations: 7.984 kB / 476.6 MB, free: 13.78 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001405/0.6639, allocations: 114.9 kB / 476.7 MB, free: 13.67 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6639, allocations: 0 / 476.7 MB, free: 13.67 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004053/0.6644, allocations: 43.88 kB / 476.7 MB, free: 13.63 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.001776/0.6661, allocations: 1.047 MB / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.6665, allocations: 59.92 kB / 477.8 MB, free: 12.58 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6665, allocations: 0 / 477.8 MB, free: 12.58 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.6666, allocations: 32 kB / 477.9 MB, free: 12.55 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.667, allocations: 15.98 kB / 477.9 MB, free: 12.53 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.6677, allocations: 196.2 kB / 478.1 MB, free: 12.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6681, allocations: 0.7004 MB / 478.8 MB, free: 11.57 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.6683, allocations: 18.05 kB / 478.8 MB, free: 11.56 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6684, allocations: 35.42 kB / 478.8 MB, free: 11.52 MB / 410.8 MB Notification: Performance of SimCode: time 1.252e-06/0.6684, allocations: 0 / 478.8 MB, free: 11.52 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.7, allocations: 2.974 MB / 481.8 MB, free: 8.578 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.7004, allocations: 197 kB / 482 MB, free: 8.355 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_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_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.3/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_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_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o] Error 1