Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 1.835/1.835, allocations: 287.4 MB / 302.6 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001827/0.001827, allocations: 186.3 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008682/0.0008682, allocations: 93.56 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004478, allocations: 11.3 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2477, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001748/0.2495, allocations: 1.122 MB / 0.9798 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.2519, allocations: 2.428 MB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.2519, allocations: 0 / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.2533, allocations: 0.515 MB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.2533, allocations: 27.89 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.697e-06/0.2533, allocations: 3.938 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.2536, allocations: 159 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.2537, allocations: 32.41 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.2537, allocations: 51.8 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2538, allocations: 83.58 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2539, allocations: 4 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008279/0.2547, allocations: 427.3 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.2548, allocations: 43.77 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.2548, allocations: 61.58 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.2551, allocations: 303 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2551, allocations: 0 / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2552, allocations: 0 / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.2552, allocations: 0 / 0.9838 GB, free: 22.86 MB / 0.6198 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.0006815/0.2559, allocations: 0.5314 MB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.2559, allocations: 11.97 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.256, allocations: 110 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.2562, allocations: 95.94 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2564, allocations: 306.3 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.2564, allocations: 158.9 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.2565, allocations: 154.9 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.656e-05/0.2566, allocations: 101.5 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2566, allocations: 79.22 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2566, allocations: 150.6 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.2567, allocations: 154.6 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.166e-05/0.2567, allocations: 154.5 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.257, allocations: 0.5366 MB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.2571, allocations: 169.1 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.2571, allocations: 80.14 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2571, allocations: 79.28 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.2572, allocations: 113.8 kB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.2572, allocations: 0 / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001538/0.2573, allocations: 57.3 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2574, allocations: 126.7 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.2577, allocations: 425.2 kB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2577, allocations: 25.7 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.2578, allocations: 140.5 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2578, allocations: 4 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.2579, allocations: 0 / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.2579, allocations: 338.8 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.258, allocations: 96.5 kB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2582, allocations: 173.2 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.2584, allocations: 305.6 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2584, allocations: 0 / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004293/0.2589, allocations: 324.9 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2589, allocations: 7.938 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2589, allocations: 4 kB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.259, allocations: 0 / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-06/0.259, allocations: 4 kB / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.259, allocations: 0 / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2591, allocations: 55.5 kB / 0.9887 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2592, allocations: 7.938 kB / 0.9887 GB, free: 17.58 MB / 0.6198 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.000226/0.2594, allocations: 247.3 kB / 0.989 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.2595, allocations: 128.6 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.2595, allocations: 111 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.785e-05/0.2596, allocations: 180.2 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.199e-05/0.2597, allocations: 184.3 kB / 0.9895 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.647e-05/0.2597, allocations: 192.2 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.2601, allocations: 473.1 kB / 0.9902 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/0.2601, allocations: 101 kB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.2602, allocations: 108.9 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.518e-05/0.2602, allocations: 184.2 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.2603, allocations: 188.2 kB / 0.9907 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.611e-05/0.2604, allocations: 176.3 kB / 0.9909 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.108e-05/0.2604, allocations: 180.2 kB / 0.9911 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2606, allocations: 327.7 kB / 0.9914 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.2607, allocations: 209.7 kB / 0.9916 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.2608, allocations: 184.2 kB / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.2609, allocations: 101 kB / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.261, allocations: 184.2 kB / 0.992 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2611, allocations: 112.9 kB / 0.9921 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002314/0.2613, allocations: 271.1 kB / 0.9924 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2613, allocations: 0 / 0.9924 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004994/0.2618, allocations: 80 kB / 0.9925 GB, free: 13.52 MB / 0.6198 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.0006871/0.2625, allocations: 0.9489 MB / 0.9934 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.2627, allocations: 164.2 kB / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2628, allocations: 0 / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2628, allocations: 0 / 0.9935 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.2632, allocations: 0.5277 MB / 0.9941 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2649, allocations: 1.544 MB / 0.9956 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.2651, allocations: 0.7785 MB / 0.9963 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.487e-05/0.2652, allocations: 0 / 0.9963 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.2652, allocations: 55.41 kB / 0.9964 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2652, allocations: 0 / 0.9964 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.2815, allocations: 5.858 MB / 1.002 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.2817, allocations: 210.4 kB / 1.002 GB, free: 3.465 MB / 0.6198 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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c:7: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c In file included from Buildings_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c In file included from Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c:2: In file included from ./Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.c In file included from Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c In file included from Buildings_8_0_0_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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c:56: ./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_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.so Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/Functions/Validation" -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' -Wl,-Bstatic -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -Wl,-Bdynamic -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__10_construct_p': Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0xa3): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__30_construct_p': Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x142): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__40_construct_p': Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x1e1): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__350_construct_p': Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x280): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__500_construct_p': Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x31f): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o:Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x3be): 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