Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.Translational.Examples.Friction,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Friction,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_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.001025/0.001025, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000917/0.000917, allocations: 109.1 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002707, allocations: 11.98 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2104, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3118, allocations: 84.06 MB / 493.5 MB, free: 6.535 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.3121, allocations: 83.94 kB / 493.6 MB, free: 6.453 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04491/0.357, allocations: 15.3 MB / 0.497 GB, free: 7.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.357, allocations: 0 / 0.497 GB, free: 7.121 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.884e-05/0.3571, allocations: 19.92 kB / 0.497 GB, free: 7.102 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002817/0.3599, allocations: 1.203 MB / 0.4982 GB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.36, allocations: 8.031 kB / 0.4982 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3601, allocations: 78.52 kB / 0.4983 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.3606, allocations: 103 kB / 0.4984 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.3613, allocations: 451 kB / 0.4988 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.3614, allocations: 29 kB / 0.4988 GB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.726e-05/0.3615, allocations: 39.91 kB / 0.4989 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.3629, allocations: 0.6341 MB / 0.4995 GB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.363, allocations: 11.98 kB / 0.4995 GB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.3631, allocations: 12 kB / 0.4995 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3631, allocations: 12 kB / 0.4995 GB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.3649, allocations: 0.7133 MB / 0.5002 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.3686, allocations: 1.772 MB / 0.502 GB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.3699, allocations: 0.5245 MB / 0.5025 GB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-05/0.37, allocations: 7.984 kB / 0.5025 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.3711, allocations: 0.4905 MB / 0.503 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.3711, allocations: 0 / 0.503 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.2229/0.5941, allocations: 3.033 MB / 0.5059 GB, free: 92.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.5941, allocations: 86.23 kB / 0.506 GB, free: 92.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.5954, allocations: 0.8107 MB / 0.5068 GB, free: 92.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/0.5955, allocations: 47.12 kB / 0.5068 GB, free: 92.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.5957, allocations: 295.1 kB / 0.5071 GB, free: 92.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.5959, allocations: 169.1 kB / 0.5073 GB, free: 92.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.596, allocations: 13.31 kB / 0.5073 GB, free: 92.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5961, allocations: 380.2 kB / 0.5077 GB, free: 92.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/0.597, allocations: 335.8 kB / 0.508 GB, free: 92.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.598, allocations: 424.7 kB / 0.5084 GB, free: 91.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.5987, allocations: 256.2 kB / 0.5086 GB, free: 91.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5987, allocations: 1.688 kB / 0.5086 GB, free: 91.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00326/0.602, allocations: 1.023 MB / 0.5096 GB, free: 91.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.602, allocations: 6.156 kB / 0.5096 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.6021, allocations: 2.5 kB / 0.5096 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.6032, allocations: 0.5323 MB / 0.5102 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.6037, allocations: 121.1 kB / 0.5103 GB, free: 91.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/0.6089, allocations: 4.499 MB / 0.5147 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6103, allocations: 294 kB / 0.5149 GB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.6104, allocations: 35.2 kB / 0.515 GB, free: 88.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,$whenCondition2,stop1.free,$PRE.stop1.startForward,stop1.startForward,$PRE.stop1.startBackward,stop1.startBackward,stop1.locked,$PRE.stop1.mode,stop1.mode,stop1.stopped,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,$whenCondition1,stop2.free,$PRE.stop2.startForward,stop2.startForward,$PRE.stop2.startBackward,stop2.startBackward,stop2.locked,$PRE.stop2.mode,stop2.mode,stop2.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004843/0.6109, allocations: 258.7 kB / 0.5152 GB, free: 87.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.611, allocations: 74.19 kB / 0.5153 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.6112, allocations: 103.8 kB / 0.5154 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6112, allocations: 3.875 kB / 0.5154 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6112, allocations: 1.594 kB / 0.5154 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6112, allocations: 0 / 0.5154 GB, free: 87.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.6142, allocations: 1.549 MB / 0.5169 GB, free: 87.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.6142, allocations: 3.875 kB / 0.5169 GB, free: 87.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.6147, allocations: 92.27 kB / 0.517 GB, free: 87.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000802/0.6155, allocations: 0.5023 MB / 0.5175 GB, free: 86.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/0.6156, allocations: 25.75 kB / 0.5175 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.6199, allocations: 4.212 MB / 0.5216 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6199, allocations: 0 / 0.5216 GB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.623, allocations: 1.351 MB / 0.523 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.6234, allocations: 247.3 kB / 0.5232 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6235, allocations: 29.31 kB / 0.5232 GB, free: 82.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.6249, allocations: 301 kB / 0.5235 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/0.6262, allocations: 0.6396 MB / 0.5241 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.6263, allocations: 28.95 kB / 0.5242 GB, free: 82.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000675/0.6269, allocations: 0.6522 MB / 0.5248 GB, free: 82.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6269, allocations: 0 / 0.5248 GB, free: 82.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007634/0.6277, allocations: 218.8 kB / 0.525 GB, free: 82.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 5,1 5,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004129/0.6319, allocations: 2.386 MB / 0.5273 GB, free: 80.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.6339, allocations: 0.9879 MB / 0.5283 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.634, allocations: 4.125 kB / 0.5283 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.6352, allocations: 0.6694 MB / 0.529 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.6357, allocations: 65.81 kB / 0.529 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009307/0.645, allocations: 6.69 MB / 0.5355 GB, free: 72.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.6454, allocations: 0.9411 MB / 0.5365 GB, free: 72.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.6457, allocations: 67.28 kB / 0.5365 GB, free: 71.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.646, allocations: 213.9 kB / 0.5367 GB, free: 71.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.646, allocations: 3.938 kB / 0.5367 GB, free: 71.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.6802, allocations: 20 MB / 0.5563 GB, free: 51.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.6804, allocations: 264.8 kB / 0.5565 GB, free: 51.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_Translational_Examples_Friction.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction.c:7: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_functions.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_functions.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_functions.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_records.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_records.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_01exo.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_01exo.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_01exo.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_02nls.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_02nls.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_02nls.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_03lsy.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_03lsy.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_03lsy.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_04set.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_04set.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_04set.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_05evt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_05evt.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_05evt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_06inz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_06inz.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_06inz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_07dly.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_07dly.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_07dly.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_08bnd.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_08bnd.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_08bnd.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_09alg.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_09alg.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_09alg.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_10asr.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_10asr.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_10asr.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_11mix.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_11mix.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_11mix.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_12jac.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_12jac.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_12jac.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_13opt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_13opt.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_13opt.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_14lnz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_14lnz.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_14lnz.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_15syn.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_15syn.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_15syn.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_16dae.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_16dae.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_16dae.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_17inl.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_17inl.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_17inl.c:2: In file included from ./Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_init_fmu.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_init_fmu.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_Examples_Friction_FMU.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_FMU.c In file included from Modelica_trunk_Modelica_Mechanics_Translational_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_Translational_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_Translational_Examples_Friction.so Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_functions.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_records.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_01exo.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_02nls.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_03lsy.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_04set.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_05evt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_06inz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_07dly.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_08bnd.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_09alg.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_10asr.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_11mix.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_12jac.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_13opt.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_14lnz.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_15syn.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_16dae.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_17inl.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_init_fmu.o Modelica_trunk_Modelica_Mechanics_Translational_Examples_Friction_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_Friction_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica_Mechanics_Translational_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