Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.059e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4733/0.5855, allocations: 75.88 MB / 397.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.5859, allocations: 67.97 kB / 397.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0187/0.6047, allocations: 3.874 MB / 401.7 MB, free: 9.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6047, allocations: 0 / 401.7 MB, free: 9.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.6047, allocations: 0 / 401.7 MB, free: 9.691 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006286/0.6054, allocations: 408 kB / 402.1 MB, free: 9.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6055, allocations: 8.031 kB / 402.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.6055, allocations: 30.56 kB / 402.1 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.6056, allocations: 19.83 kB / 402.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.6059, allocations: 202.8 kB / 402.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.606, allocations: 4 kB / 402.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.606, allocations: 4 kB / 402.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.6062, allocations: 55.41 kB / 402.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.6062, allocations: 4 kB / 402.4 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.6063, allocations: 4 kB / 402.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6063, allocations: 0 / 402.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.6064, allocations: 19.98 kB / 402.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.6069, allocations: 296.8 kB / 402.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.6071, allocations: 34.58 kB / 402.8 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.6071, allocations: 12.86 kB / 402.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.6072, allocations: 0 / 402.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.6073, allocations: 59.48 kB / 402.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.6074, allocations: 4 kB / 402.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005753/0.608, allocations: 125.3 kB / 403 MB, free: 8.234 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.6081, allocations: 77.11 kB / 403 MB, free: 8.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.6083, allocations: 128.9 kB / 403.2 MB, free: 8.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.6083, allocations: 29.7 kB / 403.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.6084, allocations: 84.14 kB / 403.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.6085, allocations: 19.8 kB / 403.3 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.6085, allocations: 0 / 403.3 MB, free: 7.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6087, allocations: 326.8 kB / 403.6 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.6088, allocations: 20 kB / 403.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.6089, allocations: 33.72 kB / 403.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.609, allocations: 57.88 kB / 403.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.609, allocations: 0 / 403.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003273/0.6094, allocations: 127.3 kB / 403.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.6094, allocations: 33.7 kB / 403.9 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6095, allocations: 256 / 403.9 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6095, allocations: 0 / 403.9 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.6096, allocations: 28.02 kB / 403.9 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.6097, allocations: 7.891 kB / 403.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.6098, allocations: 0 / 403.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.6098, allocations: 4 kB / 403.9 MB, free: 7.203 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 0.0001102/0.6099, allocations: 109 kB / 404 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.61, allocations: 7.906 kB / 404 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.6103, allocations: 98.2 kB / 404.1 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6103, allocations: 0 / 404.1 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6104, allocations: 4 kB / 404.1 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6104, allocations: 3.953 kB / 404.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.6109, allocations: 358.6 kB / 404.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6109, allocations: 0 / 404.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.611, allocations: 11.98 kB / 404.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6111, allocations: 3.984 kB / 404.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.6111, allocations: 0 / 404.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.6111, allocations: 3.953 kB / 404.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6111, allocations: 0 / 404.5 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.6114, allocations: 187.4 kB / 404.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.6115, allocations: 85.11 kB / 404.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.6115, allocations: 0 / 404.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.6116, allocations: 4 kB / 404.8 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.6117, allocations: 7.938 kB / 404.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.6117, allocations: 8 kB / 404.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.6119, allocations: 104.5 kB / 404.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6119, allocations: 4 kB / 404.9 MB, free: 6.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004348/0.6123, allocations: 51.86 kB / 405 MB, free: 6.07 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002007/0.6143, allocations: 1.03 MB / 406 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.6148, allocations: 111.4 kB / 406.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6148, allocations: 0 / 406.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.6149, allocations: 23.94 kB / 406.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.6152, allocations: 24.19 kB / 406.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.6159, allocations: 175.8 kB / 406.3 MB, free: 4.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.6163, allocations: 0.6965 MB / 407 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.908e-05/0.6164, allocations: 19.91 kB / 407 MB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.6166, allocations: 27.42 kB / 407.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6166, allocations: 0 / 407.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.6441, allocations: 2.891 MB / 410 MB, free: 1.098 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/0.6445, allocations: 207.3 kB / 410.2 MB, free: 0.8672 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_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1