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.417/2.417, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.115e-05, allocations: 4.938 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4313, allocations: 54.86 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.5839, allocations: 82.15 MB / 442 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5842, allocations: 71.95 kB / 442.1 MB, free: 14.7 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.02018/0.6044, allocations: 4.35 MB / 446.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6044, allocations: 0 / 446.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.6045, allocations: 0 / 446.4 MB, free: 10.38 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.0005802/0.6051, allocations: 457.5 kB / 446.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6051, allocations: 8.031 kB / 446.9 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.473e-05/0.6052, allocations: 42.55 kB / 446.9 MB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.6053, allocations: 7.906 kB / 447 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.6056, allocations: 202.9 kB / 447.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6057, allocations: 4 kB / 447.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.6057, allocations: 4 kB / 447.2 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.6059, allocations: 73.56 kB / 447.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.606, allocations: 7.953 kB / 447.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.606, allocations: 0.75 kB / 447.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.606, allocations: 0 / 447.2 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.6061, allocations: 27.98 kB / 447.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.6066, allocations: 304.7 kB / 447.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.6068, allocations: 62.55 kB / 447.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/0.6069, allocations: 24.94 kB / 447.6 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.6069, allocations: 0 / 447.6 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.6071, allocations: 76.33 kB / 447.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.6072, allocations: 1.031 kB / 447.7 MB, free: 8.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006567/0.6078, allocations: 169.5 kB / 447.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.6079, allocations: 77.11 kB / 448 MB, free: 8.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.6081, allocations: 143.2 kB / 448.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.6082, allocations: 33.7 kB / 448.1 MB, free: 8.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.6082, allocations: 88.12 kB / 448.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.6083, allocations: 27.66 kB / 448.2 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.6083, allocations: 4.844 kB / 448.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6085, allocations: 318.8 kB / 448.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.6086, allocations: 31.94 kB / 448.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.6087, allocations: 63.12 kB / 448.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.6089, allocations: 65.64 kB / 448.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6089, allocations: 0 / 448.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000381/0.6093, allocations: 163.2 kB / 448.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.6093, allocations: 37.69 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.6094, allocations: 0.8438 kB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6094, allocations: 0 / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6095, allocations: 19.98 kB / 448.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.6096, allocations: 8 kB / 448.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.6097, allocations: 12.06 kB / 449 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.6097, allocations: 8 kB / 449 MB, free: 7.586 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.000107/0.6098, allocations: 113.6 kB / 449.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.6099, allocations: 12.44 kB / 449.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.6102, allocations: 127 kB / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6103, allocations: 0 / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6103, allocations: 0 / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6103, allocations: 0 / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.6109, allocations: 412.3 kB / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.611, allocations: 2.375 kB / 449.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.6111, allocations: 15.94 kB / 449.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6111, allocations: 0 / 449.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.6111, allocations: 8 kB / 449.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6111, allocations: 1.406 kB / 449.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6111, allocations: 0 / 449.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.6115, allocations: 229.9 kB / 449.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.6116, allocations: 96.91 kB / 450 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.6116, allocations: 4 kB / 450 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6117, allocations: 4 kB / 450 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.6118, allocations: 7.984 kB / 450 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.6118, allocations: 4.469 kB / 450 MB, free: 6.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.612, allocations: 122.1 kB / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.817e-06/0.612, allocations: 0 / 450.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.6124, allocations: 55.86 kB / 450.2 MB, free: 6.289 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.002026/0.6144, allocations: 1.229 MB / 451.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003602/0.6148, allocations: 151.3 kB / 451.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6148, allocations: 0 / 451.5 MB, free: 4.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.615, allocations: 35.94 kB / 451.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.6153, allocations: 28.38 kB / 451.6 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.616, allocations: 205.3 kB / 451.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6163, allocations: 0.7004 MB / 452.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.733e-05/0.6165, allocations: 16.48 kB / 452.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.6166, allocations: 39.41 kB / 452.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6166, allocations: 0 / 452.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.6457, allocations: 3.216 MB / 455.8 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/0.6461, allocations: 200.5 kB / 456 MB, free: 452 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