Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Brake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, 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.478/1.478, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 84.8 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.107e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.4956, allocations: 80.45 MB / 482.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4959, allocations: 63.56 kB / 482.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01865/0.5145, allocations: 7.94 MB / 490.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5146, allocations: 0 / 490.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.5146, allocations: 11.5 kB / 490.6 MB, free: 2.266 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009391/0.5156, allocations: 0.636 MB / 491.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5156, allocations: 8.031 kB / 491.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.936e-05/0.5157, allocations: 66.36 kB / 491.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.5158, allocations: 39.61 kB / 491.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.5161, allocations: 278.3 kB / 491.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.5161, allocations: 24.09 kB / 491.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.5162, allocations: 38.88 kB / 491.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.5167, allocations: 357.8 kB / 492 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5168, allocations: 0 / 492 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.5168, allocations: 12.81 kB / 492 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5168, allocations: 8 kB / 492 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.5173, allocations: 350.2 kB / 492.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.5191, allocations: 1.16 MB / 493.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.5196, allocations: 316.1 kB / 493.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.5199, allocations: 177.6 kB / 494 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.52, allocations: 8.703 kB / 494 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.52, allocations: 34.56 kB / 494.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.52, allocations: 0 / 494.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002605/0.5226, allocations: 1.42 MB / 495.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5227, allocations: 55.84 kB / 495.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.5229, allocations: 225 kB / 495.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.523, allocations: 45.7 kB / 495.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.5231, allocations: 162.9 kB / 496 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.5233, allocations: 161.7 kB / 496.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.5233, allocations: 12 kB / 496.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5235, allocations: 346.8 kB / 496.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.5238, allocations: 169.1 kB / 496.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.5241, allocations: 252.9 kB / 496.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.5244, allocations: 137.6 kB / 497 MB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5244, allocations: 4 kB / 497 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009645/0.5254, allocations: 0.5676 MB / 497.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5254, allocations: 8 kB / 497.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5254, allocations: 0 / 497.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.526, allocations: 289.8 kB / 497.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.5263, allocations: 71.84 kB / 497.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.5275, allocations: 1.344 MB / 499.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.528, allocations: 100 kB / 499.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.528, allocations: 16 kB / 499.4 MB, free: 9.473 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * 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: 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.5282, allocations: 133 kB / 499.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.5283, allocations: 40.86 kB / 499.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.5284, allocations: 57.36 kB / 499.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5284, allocations: 4 kB / 499.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5285, allocations: 0 / 499.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5285, allocations: 0 / 499.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.531, allocations: 1.342 MB / 0.4892 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.531, allocations: 4 kB / 0.4892 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.5313, allocations: 59.92 kB / 0.4893 GB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.5319, allocations: 257.7 kB / 0.4895 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.5319, allocations: 23.97 kB / 0.4896 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.5331, allocations: 1.299 MB / 0.4908 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5331, allocations: 7.984 kB / 0.4908 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5347, allocations: 0.9133 MB / 0.4917 GB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.5349, allocations: 152.7 kB / 0.4919 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.535, allocations: 24.08 kB / 0.4919 GB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.5354, allocations: 43.97 kB / 0.4919 GB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.5356, allocations: 115.7 kB / 0.492 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.5356, allocations: 19.98 kB / 0.4921 GB, free: 4.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.5358, allocations: 174.5 kB / 0.4922 GB, free: 4.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5358, allocations: 0 / 0.4922 GB, free: 4.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.5363, allocations: 112 kB / 0.4923 GB, free: 4.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002556/0.5389, allocations: 2.043 MB / 0.4943 GB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009362/0.5398, allocations: 476.4 kB / 0.4948 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5398, allocations: 0 / 0.4948 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.5403, allocations: 271.7 kB / 0.495 GB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.5408, allocations: 53.72 kB / 0.4951 GB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.5432, allocations: 1.006 MB / 0.4961 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.5436, allocations: 0.792 MB / 0.4969 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.5438, allocations: 40.67 kB / 0.4969 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.544, allocations: 103.4 kB / 0.497 GB, free: 15.74 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.544, allocations: 0 / 0.497 GB, free: 15.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.5921, allocations: 10.4 MB / 0.5072 GB, free: 5.582 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/0.5924, allocations: 215.8 kB / 0.5074 GB, free: 5.355 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_Mechanics_Translational_Examples_Brake.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake.c:7: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_functions.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_functions.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_functions.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_records.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_records.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_01exo.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_01exo.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_02nls.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_02nls.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_03lsy.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_03lsy.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_04set.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_04set.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_04set.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_05evt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_05evt.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_06inz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_06inz.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_07dly.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_07dly.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_08bnd.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_08bnd.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_09alg.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_09alg.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_10asr.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_10asr.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_11mix.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_11mix.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_12jac.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_12jac.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_13opt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_13opt.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_14lnz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_14lnz.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_15syn.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_15syn.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_16dae.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_16dae.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_17inl.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_17inl.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_init_fmu.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_init_fmu.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_FMU.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_FMU.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake_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_Mechanics_Translational_Examples_Brake.so Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_functions.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_records.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_01exo.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_02nls.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_03lsy.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_04set.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_05evt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_06inz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_07dly.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_08bnd.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_09alg.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_10asr.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_11mix.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_12jac.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_13opt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_14lnz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_15syn.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_16dae.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_17inl.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_init_fmu.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/Translational/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+0x25f5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica_Mechanics_Translational_Examples_Brake_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:32: nozip] Error 1