Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.371/2.371, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.816e-05/6.833e-05, allocations: 4 kB / 284.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1156, allocations: 50.37 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.5751, allocations: 80.69 MB / 415.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5754, allocations: 70.27 kB / 415.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.5889, allocations: 2.928 MB / 418.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.589, allocations: 0 / 418.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.589, allocations: 4 kB / 418.5 MB, free: 10.71 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00108/0.5901, allocations: 0.4983 MB / 419 MB, free: 10.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5902, allocations: 12.03 kB / 419 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.745e-05/0.5903, allocations: 46.3 kB / 419 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.5903, allocations: 19.81 kB / 419.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.5908, allocations: 237.3 kB / 419.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.5909, allocations: 44.55 kB / 419.3 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.591, allocations: 15.25 kB / 419.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.5917, allocations: 301 kB / 419.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5918, allocations: 3.938 kB / 419.7 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.5918, allocations: 3.25 kB / 419.7 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5918, allocations: 4 kB / 419.7 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.5921, allocations: 97.05 kB / 419.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.5933, allocations: 488.6 kB / 420.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.5937, allocations: 156.8 kB / 420.4 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.594, allocations: 87.62 kB / 420.5 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.594, allocations: 7.953 kB / 420.5 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.5943, allocations: 100.2 kB / 420.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.376e-06/0.5943, allocations: 0 / 420.6 MB, free: 8.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005702/0.5949, allocations: 174.1 kB / 420.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.595, allocations: 92.28 kB / 420.8 MB, free: 8.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.5952, allocations: 131.5 kB / 421 MB, free: 8.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.5952, allocations: 29.02 kB / 421 MB, free: 8.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.5953, allocations: 117.9 kB / 421.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.5954, allocations: 37.23 kB / 421.1 MB, free: 8.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.5954, allocations: 11.06 kB / 421.2 MB, free: 8.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5956, allocations: 333.4 kB / 421.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5958, allocations: 39.67 kB / 421.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.596, allocations: 125.8 kB / 421.6 MB, free: 7.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.5962, allocations: 89.12 kB / 421.7 MB, free: 7.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5962, allocations: 0 / 421.7 MB, free: 7.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005439/0.5968, allocations: 224.9 kB / 422 MB, free: 7.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.5968, allocations: 40.62 kB / 422 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5968, allocations: 0 / 422 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.5969, allocations: 4.344 kB / 422 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.5973, allocations: 51.91 kB / 422 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.5973, allocations: 7.984 kB / 422.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.5976, allocations: 31.33 kB / 422.1 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.5977, allocations: 15.88 kB / 422.1 MB, free: 7.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 (rotationalClock.changed.y,rotationalClock.changed.u,$CLKPRE.rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotationalClock.less.y,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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.0001447/0.5978, allocations: 119.6 kB / 422.2 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.5981, allocations: 108.2 kB / 422.3 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.5982, allocations: 26.83 kB / 422.3 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5982, allocations: 0 / 422.3 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5982, allocations: 0 / 422.3 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.5982, allocations: 7.984 kB / 422.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007929/0.599, allocations: 454.2 kB / 422.8 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.599, allocations: 3.953 kB / 422.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.5994, allocations: 51.16 kB / 422.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.5994, allocations: 0 / 422.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.5995, allocations: 11.92 kB / 422.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5995, allocations: 3.938 kB / 422.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5995, allocations: 0 / 422.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.6, allocations: 299.4 kB / 423.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.6001, allocations: 88.92 kB / 423.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.6002, allocations: 7 kB / 423.3 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.6005, allocations: 23.34 kB / 423.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.6006, allocations: 15.05 kB / 423.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.6007, allocations: 11.98 kB / 423.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.6008, allocations: 110.1 kB / 423.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6008, allocations: 0 / 423.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004654/0.6013, allocations: 50.31 kB / 423.5 MB, free: 5.945 MB / 346.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: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001166/0.6025, allocations: 0.9892 MB / 424.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.603, allocations: 198.3 kB / 424.6 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.603, allocations: 0 / 424.6 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6032, allocations: 38.5 kB / 424.7 MB, free: 4.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.6037, allocations: 61.19 kB / 424.7 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.6047, allocations: 276.5 kB / 425 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.6051, allocations: 0.733 MB / 425.7 MB, free: 3.742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.6053, allocations: 13.33 kB / 425.8 MB, free: 3.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6054, allocations: 52.11 kB / 425.8 MB, free: 3.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6054, allocations: 4 kB / 425.8 MB, free: 3.699 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.6292, allocations: 3.28 MB / 429.1 MB, free: 492 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.6296, allocations: 183 kB / 429.3 MB, free: 260 kB / 346.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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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); ^ Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.c:264:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 0, data->localData[0]->timeValue); ^ 3 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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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); ^ 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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_records.c:4: 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); ^ 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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_16dae.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_16dae.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_16dae.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_17inl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_17inl.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_17inl.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.c:1: In file included from ./simulation_data.h:39: 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' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_FMU.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_FMU.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_FMU.c:9: 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); ^ In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.so Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_16dae.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_17inl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_FMU.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Synchronous 0.93.0" -Wl,-Bstatic -Wl,-Bdynamic -L'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample_eqFunction_39': Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_RotationalSample.c:(.text+0x78b): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:31: recipe for target 'nozip' failed make: *** [nozip] Error 1