Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.112/2.112, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.346e-05, allocations: 7.984 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 50.41 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4708/0.5792, allocations: 84.73 MB / 427.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5795, allocations: 76.2 kB / 427.4 MB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03613/0.6156, allocations: 8.678 MB / 436.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6157, allocations: 0 / 436.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.6157, allocations: 12 kB / 436.1 MB, free: 2.219 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001804/0.6175, allocations: 0.7043 MB / 436.8 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6176, allocations: 8.031 kB / 436.8 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.6178, allocations: 90.2 kB / 436.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.6179, allocations: 55.34 kB / 437 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.6187, allocations: 398.7 kB / 437.4 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.6189, allocations: 72.33 kB / 437.4 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.619, allocations: 48.12 kB / 437.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.6211, allocations: 0.8432 MB / 438.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.6211, allocations: 0 / 438.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.6212, allocations: 19.12 kB / 438.3 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.6212, allocations: 16 kB / 438.4 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009326/0.6222, allocations: 312.9 kB / 438.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.6261, allocations: 1.787 MB / 440.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.6282, allocations: 499.5 kB / 440.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.6287, allocations: 233.5 kB / 441.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/0.6288, allocations: 8.766 kB / 441.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.6293, allocations: 192.5 kB / 441.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.066e-06/0.6293, allocations: 0 / 441.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001204/0.6305, allocations: 422 kB / 441.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.6307, allocations: 176.6 kB / 442 MB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.6311, allocations: 223.1 kB / 442.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.6311, allocations: 36.83 kB / 442.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.6313, allocations: 207.3 kB / 442.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6315, allocations: 134.9 kB / 442.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.6316, allocations: 11.81 kB / 442.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6318, allocations: 354.2 kB / 442.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.6322, allocations: 130.7 kB / 443 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.6328, allocations: 383.5 kB / 443.4 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.6333, allocations: 199.3 kB / 443.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.6334, allocations: 4 kB / 443.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001366/0.6347, allocations: 0.5308 MB / 444.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.6348, allocations: 8 kB / 444.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6348, allocations: 8.906 kB / 444.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.011e-05/0.6349, allocations: 16 kB / 444.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/0.6359, allocations: 135.3 kB / 444.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.263e-05/0.636, allocations: 23.88 kB / 444.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/0.6368, allocations: 56.77 kB / 444.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.6369, allocations: 31.12 kB / 444.4 MB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 13 (engine.inductionToPowerDelay.delay.first,$CLKPRE.engine.inductionToPowerDelay.delay.first,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,engine.crankshaftPositionEvent.rotationalClock.less.y,$whenCondition1,engine.cylinderAirCharge.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002678/0.6372, allocations: 160.3 kB / 444.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/0.6378, allocations: 230.3 kB / 444.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.6389, allocations: 276.3 kB / 445.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6389, allocations: 8 kB / 445.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.639, allocations: 48 / 445.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.639, allocations: 11.92 kB / 445.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.6414, allocations: 0.8563 MB / 445.9 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6414, allocations: 8.031 kB / 445.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.6428, allocations: 99.64 kB / 446 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.6428, allocations: 4 kB / 446 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.6429, allocations: 15.73 kB / 446.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.735e-05/0.643, allocations: 11.95 kB / 446.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.643, allocations: 0 / 446.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.6454, allocations: 0.7858 MB / 446.9 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.6456, allocations: 124.1 kB / 447 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6458, allocations: 18.81 kB / 447 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.6465, allocations: 26.92 kB / 447 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.6466, allocations: 23.16 kB / 447 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/0.6467, allocations: 19.67 kB / 447.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003785/0.6471, allocations: 175.9 kB / 447.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6471, allocations: 0 / 447.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001242/0.6484, allocations: 119.7 kB / 447.3 MB, free: 8.832 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.integrator.y,engine.inertia.w,engine.speedSensor.flange.phi) * Number of discrete variables: 10 (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,engine.inductionToPowerDelay.delay.first,engine.crankshaftPositionEvent.rotationalClock.less.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 57 * 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.003095/0.6515, allocations: 1.575 MB / 448.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.6531, allocations: 398.8 kB / 449.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6532, allocations: 11.88 kB / 449.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.6536, allocations: 113.8 kB / 449.4 MB, free: 7.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6547, allocations: 162.8 kB / 449.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009036/0.6638, allocations: 0.9173 MB / 450.5 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005381/0.6692, allocations: 0.8479 MB / 451.4 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.6698, allocations: 47.27 kB / 451.4 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/0.6704, allocations: 159.3 kB / 451.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6704, allocations: 0 / 451.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.7234, allocations: 7.73 MB / 459.3 MB, free: 13.42 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/0.7238, allocations: 168.8 kB / 459.5 MB, free: 13.19 MB / 378.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_Systems_EngineThrottleControl.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c:7: In file included from ./Modelica_4_0_0_Modelica_Clocked_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_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c:476: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_Systems_EngineThrottleControl_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_records.c In file included from Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_init_fmu.c In file included from Modelica_4_0_0_Modelica_Clocked_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 -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_Systems_EngineThrottleControl_FMU.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_FMU.c In file included from Modelica_4_0_0_Modelica_Clocked_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_4_0_0_Modelica_Clocked_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_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl.so Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_FMU.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Clocked/Examples/Systems" -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_Systems_EngineThrottleControl.o: In function `Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl_eqFunction_107': Modelica_4_0_0_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c:(.text+0xca2): 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