Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.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.Friction,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Friction,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 202.4 kB / 17.08 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009751/0.000975, allocations: 100.2 kB / 297.3 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002294, allocations: 8 kB / 358 MB, free: 9.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2043, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3045, allocations: 83.32 MB / 492.8 MB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.3048, allocations: 78 kB / 492.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02885/0.3337, allocations: 10.28 MB / 0.4914 GB, free: 12.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3337, allocations: 0 / 0.4914 GB, free: 12.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.3337, allocations: 11.98 kB / 0.4914 GB, free: 12.87 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001542/0.3353, allocations: 0.7681 MB / 0.4921 GB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3353, allocations: 12.03 kB / 0.4921 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.3355, allocations: 83.52 kB / 0.4922 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.3358, allocations: 71.33 kB / 0.4923 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.3363, allocations: 334 kB / 0.4926 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.3364, allocations: 37 kB / 0.4926 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.3365, allocations: 47.91 kB / 0.4927 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.3374, allocations: 466.3 kB / 0.4931 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.3374, allocations: 0 / 0.4931 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.3375, allocations: 19.94 kB / 0.4932 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3375, allocations: 16 kB / 0.4932 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009863/0.3385, allocations: 467.7 kB / 0.4936 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.3406, allocations: 1.2 MB / 0.4948 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.3414, allocations: 432.4 kB / 0.4952 GB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.3415, allocations: 8.547 kB / 0.4952 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3415, allocations: 43.11 kB / 0.4953 GB, free: 8.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=55): time 2.024e-06/0.3415, allocations: 3.938 kB / 0.4953 GB, free: 8.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.004788/0.3463, allocations: 2.384 MB / 0.4976 GB, free: 6.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3464, allocations: 71.86 kB / 0.4977 GB, free: 6.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.3467, allocations: 263.6 kB / 0.4979 GB, free: 5.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.3468, allocations: 41.7 kB / 0.4979 GB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3469, allocations: 193.4 kB / 0.4981 GB, free: 5.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.3471, allocations: 209.1 kB / 0.4983 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.3471, allocations: 8 kB / 0.4983 GB, free: 5.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3473, allocations: 354.8 kB / 0.4987 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.3477, allocations: 225.2 kB / 0.4989 GB, free: 4.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000464/0.3482, allocations: 276.8 kB / 0.4992 GB, free: 4.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.3486, allocations: 195.1 kB / 0.4993 GB, free: 4.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3486, allocations: 0 / 0.4993 GB, free: 4.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001332/0.3499, allocations: 0.7054 MB / 0.5 GB, free: 3.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.35, allocations: 8 kB / 0.5 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.35, allocations: 0 / 0.5 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007967/0.3508, allocations: 329.4 kB / 0.5003 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.3511, allocations: 87.89 kB / 0.5004 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.3523, allocations: 1.374 MB / 0.5018 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.3529, allocations: 100.1 kB / 0.5019 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.3529, allocations: 16 kB / 0.5019 GB, free: 1.695 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.3532, allocations: 169.8 kB / 0.502 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3533, allocations: 51.42 kB / 0.5021 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.3534, allocations: 67.75 kB / 0.5022 GB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3534, allocations: 11.92 kB / 0.5022 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3535, allocations: 0 / 0.5022 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3535, allocations: 0 / 0.5022 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1787/0.5322, allocations: 1.459 MB / 0.5036 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5323, allocations: 1.469 kB / 0.5036 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.5328, allocations: 84.39 kB / 0.5037 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008732/0.5337, allocations: 302.6 kB / 0.504 GB, free: 93.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.5338, allocations: 21.09 kB / 0.504 GB, free: 93.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.535, allocations: 1.349 MB / 0.5053 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.535, allocations: 2.594 kB / 0.5053 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.5372, allocations: 1.136 MB / 0.5064 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.5375, allocations: 175.2 kB / 0.5066 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.5375, allocations: 18.95 kB / 0.5066 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.538, allocations: 82.7 kB / 0.5067 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.5382, allocations: 116.2 kB / 0.5068 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.5383, allocations: 25.56 kB / 0.5068 GB, free: 92.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.5385, allocations: 209.3 kB / 0.507 GB, free: 92.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5385, allocations: 3.969 kB / 0.507 GB, free: 92.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.539, allocations: 139.1 kB / 0.5072 GB, free: 92.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002754/0.5418, allocations: 2.288 MB / 0.5094 GB, free: 90.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.5432, allocations: 0.5764 MB / 0.5099 GB, free: 90.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5432, allocations: 0.5 kB / 0.5099 GB, free: 90.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.5439, allocations: 340.9 kB / 0.5103 GB, free: 90.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.5445, allocations: 85.23 kB / 0.5104 GB, free: 90.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006156/0.5506, allocations: 3.794 MB / 0.5141 GB, free: 89.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5509, allocations: 0.8419 MB / 0.5149 GB, free: 88.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.5511, allocations: 43.45 kB / 0.5149 GB, free: 88.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.5513, allocations: 148 kB / 0.5151 GB, free: 88.41 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5513, allocations: 0 / 0.5151 GB, free: 88.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.5756, allocations: 12.51 MB / 0.5273 GB, free: 81.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.5758, allocations: 247.7 kB / 0.5275 GB, free: 81.64 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction.c:7: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_records.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_records.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_01exo.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_01exo.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_02nls.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_02nls.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_03lsy.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_03lsy.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_04set.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_04set.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_04set.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_05evt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_05evt.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_06inz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_06inz.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_07dly.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_07dly.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_08bnd.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_08bnd.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_09alg.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_09alg.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_10asr.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_10asr.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_11mix.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_11mix.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_12jac.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_12jac.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_13opt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_13opt.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_14lnz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_14lnz.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_15syn.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_15syn.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_16dae.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_16dae.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_17inl.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_17inl.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_init_fmu.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_init_fmu.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_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:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_FMU.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_FMU.c In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168: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_Mechanics_Rotational_Examples_Friction.so Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_records.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_01exo.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_02nls.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_03lsy.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_04set.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_05evt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_06inz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_07dly.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_08bnd.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_09alg.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_10asr.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_11mix.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_12jac.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_13opt.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_14lnz.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_15syn.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_16dae.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_17inl.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_init_fmu.o Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/Rotational/Examples" -Wl,-Bstatic "-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" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -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: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaMatIO.a(ModelicaMatIO.o): in function `Mat_VarDelete': ModelicaMatIO.c:(.text+0x25a5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica_Mechanics_Rotational_Examples_Friction_functions.c:(.text+0x19f): undefined reference to `ModelicaStandardTables_CombiTable1D_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1