Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.409e-05, allocations: 0 / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.4 MB / 342.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5476, allocations: 79.53 MB / 422.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.548, allocations: 78.36 kB / 422.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.5613, allocations: 2.977 MB / 425.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5614, allocations: 0 / 425.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.5614, allocations: 4 kB / 425.2 MB, free: 11.7 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.001051/0.5625, allocations: 499.2 kB / 425.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5626, allocations: 12.03 kB / 425.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.76e-05/0.5627, allocations: 58.12 kB / 425.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.5627, allocations: 19.72 kB / 425.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.5632, allocations: 226.9 kB / 426 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.5633, allocations: 49.78 kB / 426.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.5633, allocations: 11.81 kB / 426.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007557/0.5641, allocations: 312.2 kB / 426.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5641, allocations: 7.891 kB / 426.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.5641, allocations: 3.938 kB / 426.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.5642, allocations: 4 kB / 426.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.5645, allocations: 86.73 kB / 426.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.5655, allocations: 483 kB / 427 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.566, allocations: 159.6 kB / 427.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.5662, allocations: 88.45 kB / 427.2 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.5662, allocations: 7.75 kB / 427.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.5665, allocations: 95.12 kB / 427.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.146e-06/0.5665, allocations: 0 / 427.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005173/0.567, allocations: 180 kB / 427.5 MB, free: 9.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.5672, allocations: 88.98 kB / 427.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.5673, allocations: 139.9 kB / 427.7 MB, free: 9.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.5674, allocations: 29.45 kB / 427.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.5675, allocations: 116.1 kB / 427.9 MB, free: 9.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/0.5676, allocations: 35.23 kB / 427.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.5676, allocations: 4 kB / 427.9 MB, free: 9.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5677, allocations: 330.4 kB / 428.2 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.5679, allocations: 43.42 kB / 428.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.5681, allocations: 128.8 kB / 428.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.5683, allocations: 78.75 kB / 428.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5683, allocations: 0 / 428.5 MB, free: 8.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005395/0.5689, allocations: 229 kB / 428.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.5689, allocations: 33.27 kB / 428.7 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.569, allocations: 4 kB / 428.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.569, allocations: 4 kB / 428.7 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.5694, allocations: 48.25 kB / 428.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.5694, allocations: 15.92 kB / 428.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.5697, allocations: 31.2 kB / 428.8 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.5698, allocations: 15.39 kB / 428.8 MB, free: 8.258 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.0001476/0.5699, allocations: 124 kB / 429 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.5702, allocations: 103.8 kB / 429.1 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.5703, allocations: 19 kB / 429.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5703, allocations: 8 kB / 429.1 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5703, allocations: 3.984 kB / 429.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5703, allocations: 11.92 kB / 429.1 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.5711, allocations: 468.7 kB / 429.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5711, allocations: 0 / 429.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.5715, allocations: 39.97 kB / 429.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.5715, allocations: 4 kB / 429.6 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.5716, allocations: 11.67 kB / 429.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5716, allocations: 0 / 429.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5716, allocations: 0 / 429.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.5721, allocations: 294.8 kB / 429.9 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.5722, allocations: 88.92 kB / 430 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.5722, allocations: 7 kB / 430 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.5726, allocations: 27.09 kB / 430 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.5727, allocations: 19.31 kB / 430 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.5727, allocations: 11.55 kB / 430 MB, free: 7.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5728, allocations: 110.9 kB / 430.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.405e-06/0.5728, allocations: 0 / 430.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004494/0.5733, allocations: 54.22 kB / 430.2 MB, free: 6.941 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.001103/0.5744, allocations: 0.982 MB / 431.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.5749, allocations: 188.9 kB / 431.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5749, allocations: 128 / 431.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.5751, allocations: 47.5 kB / 431.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.5756, allocations: 64.78 kB / 431.5 MB, free: 5.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5766, allocations: 273.6 kB / 431.8 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.577, allocations: 0.7364 MB / 432.5 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.5771, allocations: 13.33 kB / 432.5 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.5772, allocations: 48.86 kB / 432.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5773, allocations: 0 / 432.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.6046, allocations: 3.25 MB / 435.8 MB, free: 1.539 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003031/0.605, allocations: 184.3 kB / 436 MB, free: 1.305 MB / 346.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.c:7: In file included from ./Modelica_4_0_0_Modelica_Clocked_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_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_records.c In file included from Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.c In file included from Modelica_4_0_0_Modelica_Clocked_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 -Os -march=native -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_FMU.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_FMU.c In file included from Modelica_4_0_0_Modelica_Clocked_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_4_0_0_Modelica_Clocked_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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.so Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_FMU.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Clocked/Examples/Elementary/ClockSignals" -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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.o: In function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_eqFunction_39': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.c:(.text+0x757): 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