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.001056/0.001057, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.2 MB / 245 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008514, allocations: 94.58 kB / 297.2 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002448/0.0002447, allocations: 4 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2201, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09511/0.3153, allocations: 80.52 MB / 490 MB, free: 10.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.3156, allocations: 71.95 kB / 490.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02059/0.3362, allocations: 7.954 MB / 498 MB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3363, allocations: 0 / 498 MB, free: 2.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.3363, allocations: 8 kB / 498 MB, free: 2.02 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001115/0.3374, allocations: 0.6626 MB / 498.7 MB, free: 1.305 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3375, allocations: 8.031 kB / 498.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.093e-05/0.3375, allocations: 70.47 kB / 498.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.93e-05/0.3376, allocations: 39.53 kB / 498.8 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.338, allocations: 282.4 kB / 499.1 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.3381, allocations: 24.61 kB / 499.1 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.3382, allocations: 32 kB / 499.2 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.3388, allocations: 365.8 kB / 499.5 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3389, allocations: 11.91 kB / 499.5 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3389, allocations: 8 kB / 499.5 MB, free: 440 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.3389, allocations: 8 kB / 499.5 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.3396, allocations: 378.4 kB / 499.9 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.3415, allocations: 1.17 MB / 0.4893 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.3421, allocations: 324.9 kB / 0.4896 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3421, allocations: 4 kB / 0.4896 GB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3421, allocations: 38.5 kB / 0.4897 GB, free: 14.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.482e-06/0.3421, allocations: 0 / 0.4897 GB, free: 14.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.004225/0.3464, allocations: 2.043 MB / 0.4917 GB, free: 12.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3464, allocations: 59.84 kB / 0.4917 GB, free: 12.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3467, allocations: 220.2 kB / 0.4919 GB, free: 11.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.3467, allocations: 45.62 kB / 0.492 GB, free: 11.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3468, allocations: 156.8 kB / 0.4921 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.347, allocations: 165.8 kB / 0.4923 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.347, allocations: 8 kB / 0.4923 GB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3471, allocations: 342.8 kB / 0.4926 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.3475, allocations: 189 kB / 0.4928 GB, free: 11.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.3479, allocations: 260.8 kB / 0.4931 GB, free: 10.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3482, allocations: 152.8 kB / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3482, allocations: 0 / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001067/0.3493, allocations: 0.5871 MB / 0.4938 GB, free: 10.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3493, allocations: 8 kB / 0.4938 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3493, allocations: 4.156 kB / 0.4938 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.3499, allocations: 297.5 kB / 0.4941 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.3502, allocations: 75.84 kB / 0.4941 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.3513, allocations: 1.354 MB / 0.4955 GB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.3518, allocations: 92.03 kB / 0.4956 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.3518, allocations: 20 kB / 0.4956 GB, free: 8.113 MB / 378.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 () * Number of clocked 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.0002214/0.352, allocations: 165.7 kB / 0.4957 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.3521, allocations: 35.58 kB / 0.4958 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3522, allocations: 55.61 kB / 0.4958 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3522, allocations: 4.188 kB / 0.4958 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3523, allocations: 0 / 0.4958 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3523, allocations: 7.922 kB / 0.4958 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.3548, allocations: 1.366 MB / 0.4972 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3548, allocations: 4.156 kB / 0.4972 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.3551, allocations: 59.91 kB / 0.4972 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/0.3556, allocations: 265.5 kB / 0.4975 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.3556, allocations: 24.05 kB / 0.4975 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.3567, allocations: 1.304 MB / 0.4988 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3567, allocations: 0 / 0.4988 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3583, allocations: 0.9483 MB / 0.4997 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.3586, allocations: 156.7 kB / 0.4999 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.3586, allocations: 20 kB / 0.4999 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.359, allocations: 55.89 kB / 0.4999 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.3592, allocations: 107.7 kB / 0.5 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.3592, allocations: 15.98 kB / 0.5 GB, free: 3.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.3594, allocations: 180.5 kB / 0.5002 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3594, allocations: 4 kB / 0.5002 GB, free: 3.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.3599, allocations: 104 kB / 0.5003 GB, free: 3.027 MB / 378.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) * Number of clocked states: 0 () * 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.002768/0.3627, allocations: 2.116 MB / 0.5024 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3638, allocations: 473.3 kB / 0.5028 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3638, allocations: 0 / 0.5028 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.3643, allocations: 296.3 kB / 0.5031 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.3648, allocations: 51.12 kB / 0.5032 GB, free: 172 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1783/0.5431, allocations: 3.695 MB / 0.5068 GB, free: 94.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.5435, allocations: 0.8026 MB / 0.5076 GB, free: 94.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001795/0.5437, allocations: 41.69 kB / 0.5076 GB, free: 94.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.5438, allocations: 104.2 kB / 0.5077 GB, free: 94.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5438, allocations: 0 / 0.5077 GB, free: 94.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.5662, allocations: 10.38 MB / 0.5178 GB, free: 91.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/0.5664, allocations: 239.9 kB / 0.5181 GB, free: 91.1 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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_Translational_Examples_Brake_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_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+0x25a5): 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:58: nozip] Error 1