Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002137, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 225.6 MB / 234.8 MB, free: 3.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 94.55 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.444e-05, allocations: 4 kB / 343.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 51.47 MB / 395.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5207, allocations: 84.81 MB / 480.1 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.5209, allocations: 75.14 kB / 480.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05228/0.5732, allocations: 20.51 MB / 0.4889 GB, free: 7.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5732, allocations: 0 / 0.4889 GB, free: 7.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.5733, allocations: 11.98 kB / 0.4889 GB, free: 7.09 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00139/0.5747, allocations: 0.7285 MB / 0.4896 GB, free: 6.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5747, allocations: 8.031 kB / 0.4897 GB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004064/0.5751, allocations: 83.3 kB / 0.4897 GB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.5757, allocations: 355.2 kB / 0.4901 GB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.5758, allocations: 84.7 kB / 0.4902 GB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.5759, allocations: 35.05 kB / 0.4902 GB, free: 5.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008949/0.5768, allocations: 0.5374 MB / 0.4907 GB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.5776, allocations: 479.8 kB / 0.4912 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.5776, allocations: 3.906 kB / 0.4912 GB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.5777, allocations: 0 / 0.4912 GB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.5777, allocations: 11.94 kB / 0.4912 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.5798, allocations: 1.193 MB / 0.4923 GB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.5806, allocations: 482.5 kB / 0.4928 GB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.581, allocations: 257.6 kB / 0.4931 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.581, allocations: 8.562 kB / 0.4931 GB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.5811, allocations: 37.38 kB / 0.4931 GB, free: 3.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.633e-06/0.5811, allocations: 0 / 0.4931 GB, free: 3.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=70): time 0.003181/0.5843, allocations: 1.791 MB / 0.4948 GB, free: 2.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.5844, allocations: 81.67 kB / 0.4949 GB, free: 1.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.5847, allocations: 272 kB / 0.4952 GB, free: 1.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.5848, allocations: 35.33 kB / 0.4952 GB, free: 1.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5849, allocations: 168.3 kB / 0.4954 GB, free: 1.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.5851, allocations: 230.7 kB / 0.4956 GB, free: 1.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.5851, allocations: 0 / 0.4956 GB, free: 1.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5853, allocations: 346.3 kB / 0.4959 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.5856, allocations: 225.5 kB / 0.4961 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.586, allocations: 286 kB / 0.4964 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.5864, allocations: 205.7 kB / 0.4966 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5864, allocations: 0 / 0.4966 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001217/0.5876, allocations: 0.7118 MB / 0.4973 GB, free: 20 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5876, allocations: 11.98 kB / 0.4973 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5877, allocations: 8 kB / 0.4973 GB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009382/0.5886, allocations: 374.6 kB / 0.4977 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.589, allocations: 91.88 kB / 0.4978 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.5903, allocations: 1.04 MB / 0.4988 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.5908, allocations: 71.97 kB / 0.4989 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.5909, allocations: 31.98 kB / 0.4989 GB, free: 14.38 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real gear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 33} Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.5911, allocations: 116.9 kB / 0.499 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001235/0.5924, allocations: 0.6569 MB / 0.4996 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.5925, allocations: 47.42 kB / 0.4997 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.5926, allocations: 56.06 kB / 0.4997 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5926, allocations: 11.95 kB / 0.4997 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5926, allocations: 0 / 0.4997 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5927, allocations: 3.984 kB / 0.4998 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.5954, allocations: 1.531 MB / 0.5012 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.5954, allocations: 3.938 kB / 0.5013 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.5958, allocations: 87.91 kB / 0.5013 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008498/0.5966, allocations: 347.5 kB / 0.5017 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.5967, allocations: 19.91 kB / 0.5017 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.5979, allocations: 0.9979 MB / 0.5027 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5979, allocations: 0 / 0.5027 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.5997, allocations: 1.074 MB / 0.5037 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.6, allocations: 200.5 kB / 0.5039 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/0.6001, allocations: 4 kB / 0.5039 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.6006, allocations: 64.06 kB / 0.504 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.6008, allocations: 106.1 kB / 0.5041 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.6009, allocations: 27.98 kB / 0.5041 GB, free: 8.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002494/0.6011, allocations: 214 kB / 0.5043 GB, free: 8.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6011, allocations: 0 / 0.5043 GB, free: 8.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005765/0.6017, allocations: 131.9 kB / 0.5044 GB, free: 8.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.002821/0.6045, allocations: 1.91 MB / 0.5063 GB, free: 6.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.6057, allocations: 0.5737 MB / 0.5068 GB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6057, allocations: 0 / 0.5068 GB, free: 6.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.6063, allocations: 329.9 kB / 0.5072 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.6067, allocations: 44.03 kB / 0.5072 GB, free: 5.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.6094, allocations: 1.063 MB / 0.5082 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.6099, allocations: 0.8293 MB / 0.5091 GB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.6102, allocations: 78.23 kB / 0.5091 GB, free: 3.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.6105, allocations: 143.3 kB / 0.5093 GB, free: 3.613 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6105, allocations: 4 kB / 0.5093 GB, free: 3.609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.6472, allocations: 12.08 MB / 0.5211 GB, free: 7.609 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.6475, allocations: 170.1 kB / 0.5212 GB, free: 7.418 MB / 394.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_FMU.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_FMU.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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_Mechanics_Rotational_Examples_LossyGearDemo2_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c: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); ^~~~ include/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. clang -Os -fPIC -falign-functions -mfpmath=sse -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.c:7: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.c:1: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_records.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_records.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_01exo.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_01exo.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_02nls.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_02nls.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_03lsy.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_03lsy.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_04set.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_04set.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_04set.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_05evt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_05evt.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_06inz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_06inz.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_07dly.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_07dly.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_08bnd.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_08bnd.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_09alg.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_09alg.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_10asr.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_10asr.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_11mix.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_11mix.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_12jac.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_12jac.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_13opt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_13opt.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_14lnz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_14lnz.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_15syn.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_15syn.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_16dae.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_16dae.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_17inl.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_17inl.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_init_fmu.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_init_fmu.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_init_fmu.c:1: In file included from include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.so Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_FMU.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_records.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_01exo.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_02nls.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_03lsy.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_04set.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_05evt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_06inz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_07dly.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_08bnd.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_09alg.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_10asr.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_11mix.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_12jac.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_13opt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_14lnz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_15syn.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_16dae.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_17inl.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/Rotational/Examples" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica_Mechanics_Rotational_Examples_LossyGearDemo2_functions.c:(.text+0x18e): undefined reference to `ModelicaStandardTables_CombiTable1D_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1