Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.000999, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.693/2.693, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.8652, allocations: 142.3 MB / 0.9538 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001813/0.8671, allocations: 1.122 MB / 0.9549 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.8698, allocations: 2.424 MB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.8698, allocations: 1.062 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.8712, allocations: 0.5193 MB / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.8712, allocations: 21.19 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.8712, allocations: 0 / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.8715, allocations: 169.5 kB / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.8716, allocations: 34 kB / 0.958 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.8717, allocations: 58.02 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.8718, allocations: 76.72 kB / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.8718, allocations: 3.438 kB / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.873, allocations: 425.8 kB / 0.9586 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.873, allocations: 37.55 kB / 0.9586 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.8731, allocations: 70.83 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.8734, allocations: 298.4 kB / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8734, allocations: 0 / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8734, allocations: 1.375 kB / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8735, allocations: 0 / 0.959 GB, free: 4.375 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006192/0.8741, allocations: 0.5344 MB / 0.9595 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8741, allocations: 9.625 kB / 0.9595 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.8742, allocations: 105.8 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.8743, allocations: 107.3 kB / 0.9597 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.8745, allocations: 303.1 kB / 0.96 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.8745, allocations: 151.9 kB / 0.9601 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.8746, allocations: 157.3 kB / 0.9603 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.032e-05/0.8746, allocations: 104.9 kB / 0.9604 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.8746, allocations: 80.66 kB / 0.9604 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.8747, allocations: 154.6 kB / 0.9606 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.8747, allocations: 150.6 kB / 0.9607 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.8747, allocations: 155.9 kB / 0.9609 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.875, allocations: 0.5313 MB / 0.9614 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.875, allocations: 177.1 kB / 0.9616 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.875, allocations: 81.52 kB / 0.9617 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.8751, allocations: 75.28 kB / 0.9617 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.8751, allocations: 107.2 kB / 0.9618 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.8751, allocations: 3.938 kB / 0.9618 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001564/0.8753, allocations: 57.78 kB / 0.9619 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.8753, allocations: 130.7 kB / 0.962 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.8757, allocations: 432 kB / 0.9624 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.8757, allocations: 26.83 kB / 0.9624 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.8758, allocations: 130.2 kB / 0.9626 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.8758, allocations: 0 / 0.9626 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.8758, allocations: 1.031 kB / 0.9626 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.8759, allocations: 338.8 kB / 0.9629 GB, free: 472 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.876, allocations: 99.22 kB / 0.963 GB, free: 420 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.8762, allocations: 168 kB / 0.9632 GB, free: 292 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.8764, allocations: 127.6 kB / 0.9633 GB, free: 228 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8764, allocations: 0 / 0.9633 GB, free: 228 kB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005347/0.8769, allocations: 319.7 kB / 0.9636 GB, free: 52 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8769, allocations: 5.75 kB / 0.9636 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.877, allocations: 6.5 kB / 0.9636 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.877, allocations: 6.562 kB / 0.9636 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.877, allocations: 1 kB / 0.9636 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.877, allocations: 6.797 kB / 0.9636 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.8771, allocations: 48.28 kB / 0.9636 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.8772, allocations: 8.312 kB / 0.9637 GB, free: 15.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.8775, allocations: 243.5 kB / 0.9639 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.8776, allocations: 127.7 kB / 0.964 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.8777, allocations: 117.5 kB / 0.9641 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-05/0.8778, allocations: 182 kB / 0.9643 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/0.8778, allocations: 177.3 kB / 0.9645 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.002e-05/0.8779, allocations: 181.3 kB / 0.9646 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.8783, allocations: 477 kB / 0.9651 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/0.8783, allocations: 106 kB / 0.9652 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.8784, allocations: 112.9 kB / 0.9653 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.027e-05/0.8785, allocations: 177.3 kB / 0.9655 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.8785, allocations: 181.4 kB / 0.9656 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/0.8786, allocations: 181.1 kB / 0.9658 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.919e-05/0.8787, allocations: 181.5 kB / 0.966 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.8789, allocations: 333.1 kB / 0.9663 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.879, allocations: 201.1 kB / 0.9665 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.8791, allocations: 185.3 kB / 0.9667 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.8793, allocations: 102.1 kB / 0.9668 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.8794, allocations: 189.3 kB / 0.967 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/0.8794, allocations: 102.5 kB / 0.9671 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003164/0.8797, allocations: 269.7 kB / 0.9673 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8797, allocations: 0 / 0.9673 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004801/0.8802, allocations: 78.05 kB / 0.9674 GB, free: 12.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007554/0.881, allocations: 0.9629 MB / 0.9683 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.8813, allocations: 159.6 kB / 0.9685 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8813, allocations: 1.406 kB / 0.9685 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.8813, allocations: 0 / 0.9685 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.8817, allocations: 0.5393 MB / 0.969 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.8838, allocations: 1.533 MB / 0.9705 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8841, allocations: 0.7746 MB / 0.9713 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.8841, allocations: 5.906 kB / 0.9713 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.8842, allocations: 53.64 kB / 0.9713 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/0.8842, allocations: 5.312 kB / 0.9713 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.9019, allocations: 5.866 MB / 0.977 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.9022, allocations: 216.6 kB / 0.9773 GB, free: 5.883 MB / 0.7325 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c:7: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:87:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:145:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:203:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:261:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:319:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:377:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:435:15: warning: implicit declaration of function 'omc_Buildings_Electrical_Transmission_Functions_computeGMR' is invalid in C99 [-Wimplicit-function-declaration] ths->_GMR = omc_Buildings_Electrical_Transmission_Functions_computeGMR(threadData, ths->_d, ((modelica_integer) 1)); ^ 9 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c:2: In file included from ./Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:169: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); ^ 3 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.so Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/Functions/Validation" -Wl,-Bstatic -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: Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__10_construct_p': Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0xb7): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__30_construct_p': Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x16a): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__40_construct_p': Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x21d): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__350_construct_p': Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x2d0): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__500_construct_p': Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x383): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o:Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x436): more undefined references to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:61: nozip] Error 1