Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_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.0008511/0.000851, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009636/0.0009638, allocations: 168.7 kB / 15.95 MB, free: 204 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.422/1.422, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.542/2.542, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.8378 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7351, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001913/0.737, allocations: 1.127 MB / 0.9822 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.7405, allocations: 2.427 MB / 0.9846 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.7405, allocations: 0 / 0.9846 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.7423, allocations: 0.5157 MB / 0.9851 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.7424, allocations: 23.84 kB / 0.9851 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.7424, allocations: 0 / 0.9851 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.7427, allocations: 166.9 kB / 0.9853 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.7428, allocations: 32.41 kB / 0.9853 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.7429, allocations: 47.81 kB / 0.9854 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.7431, allocations: 83.58 kB / 0.9854 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.7431, allocations: 8 kB / 0.9855 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.7447, allocations: 427.3 kB / 0.9859 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.7448, allocations: 35.84 kB / 0.9859 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.7449, allocations: 61.58 kB / 0.986 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.7456, allocations: 309 kB / 0.9862 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.7456, allocations: 3.984 kB / 0.9862 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.975e-06/0.7456, allocations: 0 / 0.9862 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.7456, allocations: 0 / 0.9862 GB, free: 1.031 MB / 0.7325 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.001287/0.7469, allocations: 0.5216 MB / 0.9868 GB, free: 472 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/0.747, allocations: 12.03 kB / 0.9868 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.7471, allocations: 117.8 kB / 0.9869 GB, free: 332 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.7474, allocations: 103 kB / 0.987 GB, free: 228 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.748, allocations: 301.1 kB / 0.9873 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.7481, allocations: 154.6 kB / 0.9874 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7483, allocations: 150.6 kB / 0.9876 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.7484, allocations: 112.9 kB / 0.9877 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.7485, allocations: 83.28 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.7486, allocations: 150.6 kB / 0.9879 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.423e-05/0.7487, allocations: 150.6 kB / 0.988 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.902e-05/0.7488, allocations: 154.5 kB / 0.9882 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.7495, allocations: 0.5328 MB / 0.9887 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.7497, allocations: 169.1 kB / 0.9889 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.7497, allocations: 80.14 kB / 0.9889 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.7498, allocations: 75.28 kB / 0.989 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.925e-05/0.7499, allocations: 105.8 kB / 0.9891 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 3.296e-06/0.7499, allocations: 0 / 0.9891 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0002785/0.7502, allocations: 73.2 kB / 0.9892 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.7503, allocations: 126.7 kB / 0.9893 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.7509, allocations: 417.3 kB / 0.9897 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.7509, allocations: 33.7 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.7511, allocations: 128.5 kB / 0.9899 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/0.7511, allocations: 0 / 0.9899 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.7511, allocations: 3.938 kB / 0.9899 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003297/0.7514, allocations: 338.8 kB / 0.9902 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.7516, allocations: 104.5 kB / 0.9903 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.7518, allocations: 169.2 kB / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.7519, allocations: 115.8 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.752, allocations: 7.938 kB / 0.9906 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005736/0.7525, allocations: 321.1 kB / 0.9909 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.7526, allocations: 17.38 kB / 0.9909 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.7526, allocations: 0 / 0.9909 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.7526, allocations: 7.953 kB / 0.9909 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/0.7526, allocations: 0 / 0.9909 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.7527, allocations: 7.938 kB / 0.9909 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.7528, allocations: 43.36 kB / 0.9909 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.7528, allocations: 4 kB / 0.9909 GB, free: 11.96 MB / 0.7481 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.000264/0.7531, allocations: 241.1 kB / 0.9912 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.7532, allocations: 128.6 kB / 0.9913 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.7533, allocations: 114.9 kB / 0.9914 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001248/0.7534, allocations: 184.2 kB / 0.9916 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.38e-05/0.7535, allocations: 184.2 kB / 0.9918 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-05/0.7536, allocations: 176.3 kB / 0.9919 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.754, allocations: 481.2 kB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/0.7541, allocations: 104.9 kB / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.102e-05/0.7542, allocations: 109 kB / 0.9926 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.7543, allocations: 188.2 kB / 0.9928 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.7543, allocations: 180.3 kB / 0.9929 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.613e-05/0.7544, allocations: 180.2 kB / 0.9931 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.67e-05/0.7545, allocations: 184.3 kB / 0.9933 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.7547, allocations: 327.4 kB / 0.9936 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.7548, allocations: 197.8 kB / 0.9938 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.755, allocations: 180.2 kB / 0.994 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.7551, allocations: 109 kB / 0.9941 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7552, allocations: 180.3 kB / 0.9942 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.7553, allocations: 104.9 kB / 0.9943 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003394/0.7556, allocations: 279.1 kB / 0.9946 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7556, allocations: 0 / 0.9946 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004801/0.7561, allocations: 79.98 kB / 0.9947 GB, free: 7.91 MB / 0.7481 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.0008398/0.757, allocations: 0.9507 MB / 0.9956 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.7572, allocations: 167.8 kB / 0.9958 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7572, allocations: 3.938 kB / 0.9958 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.7573, allocations: 4 kB / 0.9958 GB, free: 6.762 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.7577, allocations: 0.5282 MB / 0.9963 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.7597, allocations: 1.541 MB / 0.9978 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.7601, allocations: 0.7746 MB / 0.9986 GB, free: 3.824 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.7601, allocations: 8 kB / 0.9986 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.7602, allocations: 59.42 kB / 0.9986 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.7602, allocations: 0 / 0.9986 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.7772, allocations: 5.865 MB / 1.004 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.7774, allocations: 215.3 kB / 1.005 GB, free: 13.85 MB / 0.7637 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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c:7: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c In file included from Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c In file included from Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.c In file included from Buildings_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c In file included from Buildings_latest_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_latest_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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.so Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__10_construct_p': Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0xb7): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__30_construct_p': Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x16a): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__40_construct_p': Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x21d): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__350_construct_p': Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x2d0): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__500_construct_p': Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x383): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o:Buildings_latest_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