Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.648e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4302, allocations: 54.86 MB / 359.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5867, allocations: 82.16 MB / 442.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5871, allocations: 68.81 kB / 442.1 MB, free: 14.6 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02497/0.6121, allocations: 4.362 MB / 446.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6122, allocations: 0 / 446.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.6122, allocations: 8 kB / 446.5 MB, free: 10.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008585/0.6131, allocations: 454.1 kB / 446.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.6132, allocations: 8.031 kB / 446.9 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.6132, allocations: 34.55 kB / 447 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.6133, allocations: 15.84 kB / 447 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.6139, allocations: 196.7 kB / 447.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.6139, allocations: 4 kB / 447.2 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.614, allocations: 8 kB / 447.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.6143, allocations: 71.39 kB / 447.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.6143, allocations: 3.953 kB / 447.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.6143, allocations: 0 / 447.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6144, allocations: 0 / 447.3 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.6145, allocations: 35.91 kB / 447.3 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.6153, allocations: 300.8 kB / 447.6 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.6156, allocations: 61.28 kB / 447.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.6157, allocations: 24.94 kB / 447.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.6158, allocations: 0 / 447.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.6161, allocations: 72.2 kB / 447.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.506e-06/0.6161, allocations: 0 / 447.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009855/0.6171, allocations: 169.4 kB / 447.9 MB, free: 8.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.6172, allocations: 81.11 kB / 448 MB, free: 8.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.6175, allocations: 143 kB / 448.1 MB, free: 8.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.6176, allocations: 29.7 kB / 448.2 MB, free: 8.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6177, allocations: 96.12 kB / 448.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.6178, allocations: 23.66 kB / 448.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.6178, allocations: 0 / 448.3 MB, free: 8.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6181, allocations: 326.8 kB / 448.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.6182, allocations: 28 kB / 448.6 MB, free: 7.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.6185, allocations: 63.41 kB / 448.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.6187, allocations: 65.64 kB / 448.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6187, allocations: 0 / 448.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006422/0.6194, allocations: 159.2 kB / 448.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.6195, allocations: 37.7 kB / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.6195, allocations: 0 / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.6195, allocations: 0 / 448.9 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.6198, allocations: 19.98 kB / 449 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6198, allocations: 4.062 kB / 449 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.62, allocations: 4 kB / 449 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.6201, allocations: 10.31 kB / 449 MB, free: 7.496 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001653/0.6203, allocations: 117.4 kB / 449.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.6203, allocations: 15.8 kB / 449.1 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.6209, allocations: 122.2 kB / 449.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.6209, allocations: 0.75 kB / 449.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.621, allocations: 0 / 449.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.621, allocations: 4 kB / 449.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.622, allocations: 412.3 kB / 449.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.622, allocations: 0 / 449.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.6222, allocations: 12 kB / 449.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.6222, allocations: 0 / 449.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.6222, allocations: 0 / 449.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/0.6222, allocations: 5.688 kB / 449.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6223, allocations: 0 / 449.7 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.6228, allocations: 231.3 kB / 449.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6229, allocations: 96.91 kB / 450 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.623, allocations: 4 kB / 450 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.6232, allocations: 4 kB / 450 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.6233, allocations: 15.91 kB / 450 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.6234, allocations: 12 kB / 450 MB, free: 6.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.6236, allocations: 114 kB / 450.1 MB, free: 6.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6236, allocations: 3.938 kB / 450.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007475/0.6244, allocations: 59.92 kB / 450.2 MB, free: 6.184 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003079/0.6275, allocations: 1.218 MB / 451.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.6281, allocations: 147.3 kB / 451.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.6281, allocations: 0 / 451.6 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6283, allocations: 43.86 kB / 451.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.6288, allocations: 24.06 kB / 451.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.63, allocations: 201.3 kB / 451.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.6305, allocations: 0.7004 MB / 452.5 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.6307, allocations: 8.562 kB / 452.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.6308, allocations: 39.41 kB / 452.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6309, allocations: 4.375 kB / 452.6 MB, free: 3.785 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/0.6862, allocations: 3.224 MB / 455.8 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/0.6866, allocations: 203.2 kB / 456 MB, free: 352 kB / 378.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.2/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:7: In file included from ./ModelicaTest_3_2_2_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); ^ ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:148:90: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = Less(data->localData[0]->realVars[8] /* t_new.nextTimeEventScaled DISCRETE */,1.797693134862316e+308); ^ ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.c:149:153: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] data->localData[0]->realVars[7] /* t_new.nextTimeEvent DISCRETE */ = (tmp1?data->localData[0]->realVars[8] /* t_new.nextTimeEventScaled DISCRETE */:1.797693134862316e+308); ^ 4 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.2/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_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_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_functions.o] Error 1