Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.356/2.356, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.702e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 50.36 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.5945, allocations: 84.71 MB / 419.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.5949, allocations: 71.02 kB / 419.6 MB, free: 9.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03583/0.6307, allocations: 8.558 MB / 428.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6308, allocations: 0 / 428.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.576e-05/0.6308, allocations: 12 kB / 428.1 MB, free: 1.992 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00205/0.6329, allocations: 0.7531 MB / 428.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6329, allocations: 12.03 kB / 428.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.6332, allocations: 100.3 kB / 429 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.6334, allocations: 70.56 kB / 429.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.6343, allocations: 415 kB / 429.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6345, allocations: 106.2 kB / 429.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.6347, allocations: 56.22 kB / 429.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.6378, allocations: 0.9474 MB / 430.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-05/0.6379, allocations: 7.781 kB / 430.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.6381, allocations: 18 kB / 430.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.6381, allocations: 12 kB / 430.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6392, allocations: 364.7 kB / 431 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.6435, allocations: 1.729 MB / 432.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.6458, allocations: 0.5648 MB / 433.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.6465, allocations: 260.5 kB / 433.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.6466, allocations: 12.53 kB / 433.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.6471, allocations: 215 kB / 433.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 3.316e-06/0.6471, allocations: 0 / 433.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.001335/0.6484, allocations: 465.2 kB / 434.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.6486, allocations: 213.8 kB / 434.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.649, allocations: 249.6 kB / 434.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.6491, allocations: 37.95 kB / 434.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.6493, allocations: 223.4 kB / 434.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.6495, allocations: 140.3 kB / 435 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.6495, allocations: 7.375 kB / 435 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.6497, allocations: 353.9 kB / 435.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.6501, allocations: 141.8 kB / 435.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.6508, allocations: 426.4 kB / 435.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.6514, allocations: 224.9 kB / 436.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.6514, allocations: 4 kB / 436.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001427/0.6528, allocations: 0.5795 MB / 436.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6529, allocations: 8 kB / 436.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.6529, allocations: 12.16 kB / 436.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/0.6529, allocations: 16 kB / 436.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.654, allocations: 146.7 kB / 436.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.654, allocations: 19.92 kB / 436.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.6546, allocations: 69.92 kB / 437 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.6547, allocations: 35.19 kB / 437.1 MB, free: 10.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 20 (rotationalClock.rotationalClock.changed.y,rotationalClock.rotationalClock.changed.u,$CLKPRE.rotationalClock.rotationalClock.changed.u,rotationalClock.rotationalClock.cast.y,rotationalClock.rotationalClock.direction_changed,rotationalClock.rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.direction,engine.crankshaftPositionEvent.rotationalClock.changed.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,$CLKPRE.engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.direction,rotationalClock.rotationalClock.less.y,engine.crankshaftPositionEvent.rotationalClock.less.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * 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.0002671/0.655, allocations: 173.2 kB / 437.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/0.6557, allocations: 259.8 kB / 437.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008315/0.6565, allocations: 316.4 kB / 437.8 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.6565, allocations: 11.95 kB / 437.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6566, allocations: 3.938 kB / 437.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6566, allocations: 3.984 kB / 437.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.6584, allocations: 0.9343 MB / 438.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6584, allocations: 4 kB / 438.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.6595, allocations: 118.3 kB / 438.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.6596, allocations: 7.953 kB / 438.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.6596, allocations: 20.05 kB / 438.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.6596, allocations: 7.938 kB / 438.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6597, allocations: 4 kB / 438.9 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.6616, allocations: 0.8733 MB / 439.8 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.6617, allocations: 124.1 kB / 439.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.6618, allocations: 18.62 kB / 439.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.6624, allocations: 34.47 kB / 439.9 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6625, allocations: 23.66 kB / 440 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.886e-05/0.6626, allocations: 19.86 kB / 440 MB, free: 8.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002746/0.6628, allocations: 194.8 kB / 440.2 MB, free: 8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6629, allocations: 0 / 440.2 MB, free: 8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007837/0.6636, allocations: 140.8 kB / 440.3 MB, free: 7.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (engine.throttleBody.m_ai,engine.intakeManifold.P_m,engine.cylinderAirCharge.m_a_total,engine.inertia1.w,derivative.u) * Number of discrete variables: 18 (engine.crankshaftPositionEvent.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.changed.y,rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.rotationalClock.direction,rotationalClock.rotationalClock.direction_changed,rotationalClock.rotationalClock.cast.y,rotationalClock.rotationalClock.changed.u,rotationalClock.rotationalClock.changed.y,engine.crankshaftPositionEvent.rotationalClock.less.y,rotationalClock.rotationalClock.less.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002442/0.6661, allocations: 1.662 MB / 442 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.6673, allocations: 443.4 kB / 442.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6673, allocations: 0.8125 kB / 442.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.6677, allocations: 127.3 kB / 442.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007884/0.6685, allocations: 172.5 kB / 442.7 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.6712, allocations: 0.8725 MB / 443.6 MB, free: 4.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.6718, allocations: 0.8714 MB / 444.4 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004259/0.6722, allocations: 59.42 kB / 444.5 MB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.6727, allocations: 171.4 kB / 444.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6727, allocations: 0 / 444.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.7082, allocations: 8.446 MB / 453.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/0.7086, allocations: 179.4 kB / 453.3 MB, free: 11.24 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.c:7: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl.c:528:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 0, data->localData[0]->timeValue); ^ Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.c:546:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 1, data->localData[0]->timeValue); ^ 4 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_functions.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_functions.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_records.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_01exo.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_01exo.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_02nls.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_02nls.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_03lsy.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_03lsy.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_04set.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_04set.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_05evt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_05evt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_06inz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_06inz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_07dly.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_07dly.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_08bnd.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_08bnd.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_09alg.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_09alg.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_10asr.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_10asr.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_11mix.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_11mix.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_12jac.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_12jac.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_13opt.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_13opt.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_14lnz.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_14lnz.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_15syn.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_15syn.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_16dae.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_16dae.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_16dae.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_17inl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_17inl.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_17inl.c:2: In file included from ./Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_init_fmu.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_FMU.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_FMU.c In file included from Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl.so Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_functions.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_records.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_01exo.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_02nls.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_03lsy.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_04set.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_05evt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_06inz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_07dly.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_08bnd.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_09alg.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_10asr.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_11mix.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_12jac.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_13opt.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_14lnz.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_15syn.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_16dae.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_17inl.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_init_fmu.o Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_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_Systems_EngineThrottleControl.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_eqFunction_124': Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.c:(.text+0xde6): undefined reference to `fireClock' Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.o: In function `Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl_eqFunction_123': Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_EngineThrottleControl.c:(.text+0xe19): 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