Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.EngineThrottleControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001168, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008355/0.0008355, allocations: 89.89 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.825e-05, allocations: 7.984 kB / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09341, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/0.3918, allocations: 85.38 MB / 487.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.392, allocations: 71.86 kB / 487.6 MB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.4139, allocations: 8.775 MB / 496.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.414, allocations: 0 / 496.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.414, allocations: 15.98 kB / 496.4 MB, free: 12.87 MB / 362.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.001479/0.4155, allocations: 0.6972 MB / 497 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4156, allocations: 12.03 kB / 497.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.4158, allocations: 95.19 kB / 497.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.4159, allocations: 55.34 kB / 497.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.4165, allocations: 405 kB / 497.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.4167, allocations: 78.61 kB / 497.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.4168, allocations: 52.75 kB / 497.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.4183, allocations: 0.825 MB / 498.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.4183, allocations: 3.938 kB / 498.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.4183, allocations: 20 kB / 498.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4184, allocations: 17.12 kB / 498.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/0.419, allocations: 315.7 kB / 498.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.4216, allocations: 1.788 MB / 0.489 GB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4228, allocations: 0.4972 MB / 0.4894 GB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.4232, allocations: 230.3 kB / 0.4897 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.4233, allocations: 20.14 kB / 0.4897 GB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.4236, allocations: 187.7 kB / 0.4899 GB, free: 7.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 2.584e-06/0.4236, allocations: 4 kB / 0.4899 GB, free: 7.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0007808/0.4244, allocations: 413.1 kB / 0.4903 GB, free: 7.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4245, allocations: 178.1 kB / 0.4904 GB, free: 6.805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.4248, allocations: 231.1 kB / 0.4906 GB, free: 6.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.4248, allocations: 37.7 kB / 0.4907 GB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.425, allocations: 216.9 kB / 0.4909 GB, free: 6.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4251, allocations: 114.5 kB / 0.491 GB, free: 6.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.4251, allocations: 12 kB / 0.491 GB, free: 6.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4252, allocations: 354.8 kB / 0.4914 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.4255, allocations: 133.6 kB / 0.4915 GB, free: 5.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.4259, allocations: 387.5 kB / 0.4918 GB, free: 5.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.4263, allocations: 203.9 kB / 0.492 GB, free: 5.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.4263, allocations: 0 / 0.492 GB, free: 5.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009172/0.4272, allocations: 0.5553 MB / 0.4926 GB, free: 4.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4272, allocations: 16.92 kB / 0.4926 GB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4273, allocations: 8 kB / 0.4926 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.4273, allocations: 21.03 kB / 0.4926 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.4278, allocations: 127.8 kB / 0.4927 GB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/0.4278, allocations: 15.94 kB / 0.4928 GB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.4282, allocations: 59.52 kB / 0.4928 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.4282, allocations: 35.94 kB / 0.4929 GB, free: 4.172 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.0001741/0.4284, allocations: 164.5 kB / 0.493 GB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.4288, allocations: 233.5 kB / 0.4932 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.4294, allocations: 276.5 kB / 0.4935 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4294, allocations: 4 kB / 0.4935 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.4294, allocations: 11.17 kB / 0.4935 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4294, allocations: 0 / 0.4935 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4306, allocations: 0.8688 MB / 0.4944 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4307, allocations: 4 kB / 0.4944 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.4312, allocations: 99.88 kB / 0.4945 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.4312, allocations: 4 kB / 0.4945 GB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.4312, allocations: 11.98 kB / 0.4945 GB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4312, allocations: 7.938 kB / 0.4945 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4313, allocations: 2.891 kB / 0.4945 GB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4324, allocations: 0.7898 MB / 0.4953 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/0.4325, allocations: 112.6 kB / 0.4954 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.4326, allocations: 24.05 kB / 0.4954 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.4329, allocations: 27.98 kB / 0.4954 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.433, allocations: 23.95 kB / 0.4954 GB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.433, allocations: 16 kB / 0.4955 GB, free: 1.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.4332, allocations: 183.1 kB / 0.4956 GB, free: 1.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4332, allocations: 0 / 0.4956 GB, free: 1.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005165/0.4337, allocations: 127.7 kB / 0.4957 GB, free: 1.082 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.001477/0.4352, allocations: 1.566 MB / 0.4973 GB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.4359, allocations: 413.3 kB / 0.4977 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4359, allocations: 0 / 0.4977 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.4362, allocations: 119.9 kB / 0.4978 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.4367, allocations: 157.2 kB / 0.4979 GB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.4387, allocations: 0.9243 MB / 0.4988 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4391, allocations: 0.8479 MB / 0.4997 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000232/0.4393, allocations: 47.28 kB / 0.4997 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.4396, allocations: 155.4 kB / 0.4999 GB, free: 12.75 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4396, allocations: 0 / 0.4999 GB, free: 12.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.4603, allocations: 7.796 MB / 0.5075 GB, free: 5.211 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.4605, allocations: 165.7 kB / 0.5076 GB, free: 4.984 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c:7: In file included from ./Modelica_trunk_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_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_records.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_records.c In file included from Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.c In file included from Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.c:2: In file included from ./Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_init_fmu.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_init_fmu.c In file included from Modelica_trunk_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_FMU.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_FMU.c In file included from Modelica_trunk_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_trunk_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_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.so Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_functions.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_records.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_01exo.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_02nls.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_03lsy.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_04set.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_05evt.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_06inz.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_07dly.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_08bnd.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_09alg.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_10asr.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_11mix.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_12jac.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_13opt.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_14lnz.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_15syn.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_16dae.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_17inl.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_init_fmu.o Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Clocked/Examples/Systems" -Wl,-Bstatic -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/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 /usr/bin/ld: Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.o: in function `Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl_eqFunction_107': Modelica_trunk_Modelica_Clocked_Examples_Systems_EngineThrottleControl.c:(.text+0xccf): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1