Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.416e-05, allocations: 4 kB / 292.8 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5553, allocations: 79.53 MB / 422.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5556, allocations: 74.39 kB / 422.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.5688, allocations: 2.978 MB / 425.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5689, allocations: 0 / 425.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.5689, allocations: 4 kB / 425.7 MB, free: 11.67 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.001079/0.57, allocations: 499.5 kB / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5701, allocations: 16.03 kB / 426.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.142e-05/0.5702, allocations: 56.69 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.5703, allocations: 19.72 kB / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5707, allocations: 228.6 kB / 426.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.5708, allocations: 45.2 kB / 426.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.5708, allocations: 11.19 kB / 426.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.5716, allocations: 303.1 kB / 426.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5717, allocations: 3.953 kB / 426.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.5717, allocations: 7.25 kB / 426.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.5717, allocations: 4 kB / 426.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.572, allocations: 94.3 kB / 427 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.5731, allocations: 484 kB / 427.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.5736, allocations: 166.5 kB / 427.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.5738, allocations: 83.22 kB / 427.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.5739, allocations: 3.984 kB / 427.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.5741, allocations: 96.39 kB / 427.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.256e-06/0.5742, allocations: 0 / 427.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005233/0.5747, allocations: 173 kB / 428 MB, free: 9.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.896e-05/0.5748, allocations: 96.2 kB / 428.1 MB, free: 9.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.575, allocations: 136.7 kB / 428.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.575, allocations: 36.27 kB / 428.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5751, allocations: 113.3 kB / 428.4 MB, free: 9.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.5752, allocations: 37.17 kB / 428.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.5752, allocations: 7.125 kB / 428.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5754, allocations: 325.6 kB / 428.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.5756, allocations: 45.41 kB / 428.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.5758, allocations: 129.2 kB / 428.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.576, allocations: 77.12 kB / 429 MB, free: 8.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.576, allocations: 0 / 429 MB, free: 8.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005889/0.5766, allocations: 234.4 kB / 429.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.5767, allocations: 33.7 kB / 429.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5767, allocations: 0 / 429.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.5767, allocations: 4 kB / 429.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.5771, allocations: 51.16 kB / 429.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.5772, allocations: 4.344 kB / 429.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.5775, allocations: 39.25 kB / 429.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.5775, allocations: 11.95 kB / 429.3 MB, free: 8.227 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.0001563/0.5777, allocations: 128 kB / 429.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.578, allocations: 106.3 kB / 429.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/0.5781, allocations: 22.44 kB / 429.6 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.5781, allocations: 0 / 429.6 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5781, allocations: 7.984 kB / 429.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5781, allocations: 4 kB / 429.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.5789, allocations: 467.9 kB / 430.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5789, allocations: 0 / 430.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.5793, allocations: 39.97 kB / 430.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.5793, allocations: 0 / 430.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.5794, allocations: 15.25 kB / 430.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5794, allocations: 0 / 430.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5794, allocations: 0 / 430.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.58, allocations: 293.4 kB / 430.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.58, allocations: 96.84 kB / 430.5 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.5801, allocations: 7.938 kB / 430.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.5804, allocations: 19.98 kB / 430.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.5806, allocations: 23.67 kB / 430.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.5806, allocations: 7.984 kB / 430.6 MB, free: 7.055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001085/0.5807, allocations: 108.5 kB / 430.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5807, allocations: 0 / 430.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.5812, allocations: 54.95 kB / 430.7 MB, free: 6.914 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.001177/0.5824, allocations: 0.9861 MB / 431.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.5829, allocations: 193.8 kB / 431.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5829, allocations: 0.75 kB / 431.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.5831, allocations: 46.12 kB / 431.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.5836, allocations: 65.91 kB / 432 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.5846, allocations: 271 kB / 432.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.585, allocations: 0.7364 MB / 433 MB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.5852, allocations: 9.344 kB / 433 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5853, allocations: 52.97 kB / 433.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5853, allocations: 0 / 433.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.6107, allocations: 3.262 MB / 436.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/0.6111, allocations: 177.5 kB / 436.5 MB, free: 1.266 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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.c:7: In file included from ./Modelica_trunk_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_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_records.c In file included from Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.c:2: In file included from ./Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.c In file included from Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_FMU.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_FMU.c In file included from Modelica_trunk_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_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.so Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_functions.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_records.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_04set.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_16dae.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_17inl.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_init_fmu.o Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_FMU.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample.o: In function `Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_RotationalSample_eqFunction_39': Modelica_trunk_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