Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_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.000822/0.0008222, allocations: 86.41 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.0008016/0.0008016, 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 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005518/0.0005519, allocations: 13.59 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3049, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001761/0.3067, allocations: 1.123 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.31, allocations: 2.435 MB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.3101, allocations: 0 / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.3114, allocations: 0.5208 MB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.3115, allocations: 15.91 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.767e-06/0.3115, allocations: 0 / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.3118, allocations: 174.9 kB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.3119, allocations: 28.41 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.312, allocations: 51.75 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3121, allocations: 83.64 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3121, allocations: 4 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3132, allocations: 431.3 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.3132, allocations: 31.84 kB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.3133, allocations: 61.58 kB / 0.7922 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.3137, allocations: 307 kB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3137, allocations: 0 / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3137, allocations: 0 / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3137, allocations: 0 / 0.7925 GB, free: 6.578 MB / 0.6075 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.0008493/0.3146, allocations: 0.5254 MB / 0.793 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3146, allocations: 16.03 kB / 0.793 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/0.3147, allocations: 105.8 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3149, allocations: 103 kB / 0.7932 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3152, allocations: 301 kB / 0.7935 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.3152, allocations: 154.6 kB / 0.7937 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.3153, allocations: 150.6 kB / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.053e-05/0.3154, allocations: 108.9 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.3154, allocations: 79.28 kB / 0.794 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.3155, allocations: 154.5 kB / 0.7942 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.3155, allocations: 154.6 kB / 0.7943 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.547e-05/0.3156, allocations: 150.6 kB / 0.7944 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.3161, allocations: 0.5366 MB / 0.795 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.3162, allocations: 177 kB / 0.7951 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.3162, allocations: 80.14 kB / 0.7952 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.3163, allocations: 75.28 kB / 0.7953 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.3163, allocations: 109.8 kB / 0.7954 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3164, allocations: 4 kB / 0.7954 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001825/0.3165, allocations: 49.42 kB / 0.7954 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3166, allocations: 138.6 kB / 0.7956 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.3171, allocations: 421.2 kB / 0.796 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3171, allocations: 25.7 kB / 0.796 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.3172, allocations: 136.5 kB / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.3172, allocations: 0 / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.3172, allocations: 0 / 0.7961 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3173, allocations: 342.8 kB / 0.7965 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3175, allocations: 100.5 kB / 0.7966 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3176, allocations: 157.3 kB / 0.7967 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3178, allocations: 123.8 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3178, allocations: 7.953 kB / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004887/0.3183, allocations: 328.9 kB / 0.7971 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3183, allocations: 8 kB / 0.7971 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3183, allocations: 0 / 0.7971 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3184, allocations: 4 kB / 0.7972 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.3184, allocations: 0 / 0.7972 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3184, allocations: 4 kB / 0.7972 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3185, allocations: 43.28 kB / 0.7972 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.3185, allocations: 7.984 kB / 0.7972 GB, free: 1.516 MB / 0.6075 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.0002305/0.3188, allocations: 256.1 kB / 0.7974 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.3189, allocations: 120.7 kB / 0.7976 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.3189, allocations: 115 kB / 0.7977 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-05/0.319, allocations: 188.2 kB / 0.7979 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.769e-05/0.3191, allocations: 180.2 kB / 0.798 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/0.3192, allocations: 180.2 kB / 0.7982 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3195, allocations: 477.2 kB / 0.7987 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-05/0.3195, allocations: 105 kB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3196, allocations: 108.9 kB / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-05/0.3196, allocations: 180.3 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.3197, allocations: 184.2 kB / 0.7992 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.109e-05/0.3198, allocations: 188.3 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.374e-05/0.3199, allocations: 184.2 kB / 0.7996 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.32, allocations: 319.5 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3201, allocations: 210 kB / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-05/0.3202, allocations: 180.2 kB / 0.8002 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3204, allocations: 113 kB / 0.8003 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.3204, allocations: 184.2 kB / 0.8005 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.3205, allocations: 101 kB / 0.8006 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002698/0.3208, allocations: 271.1 kB / 0.8009 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3208, allocations: 4 kB / 0.8009 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003942/0.3212, allocations: 79.98 kB / 0.801 GB, free: 13.45 MB / 0.6231 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.0009709/0.3221, allocations: 0.9604 MB / 0.8019 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.3224, allocations: 163.9 kB / 0.802 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3225, allocations: 0 / 0.802 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.3225, allocations: 4 kB / 0.8021 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.323, allocations: 0.5281 MB / 0.8026 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3251, allocations: 1.533 MB / 0.8041 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.3256, allocations: 0.7707 MB / 0.8048 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.3256, allocations: 11.98 kB / 0.8048 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.3257, allocations: 51.36 kB / 0.8049 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.3257, allocations: 4 kB / 0.8049 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.3435, allocations: 5.876 MB / 0.8106 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.3438, allocations: 211.4 kB / 0.8108 GB, free: 3.379 MB / 0.6231 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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.c:7: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c In file included from Buildings_8_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_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_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_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_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_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_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_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c In file included from Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.c:2: In file included from ./Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.c In file included from Buildings_8_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_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.c In file included from Buildings_8_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_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_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.so Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_functions.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_01exo.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_02nls.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_03lsy.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_04set.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_05evt.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_06inz.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_07dly.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_08bnd.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_09alg.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_10asr.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_11mix.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_12jac.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_13opt.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_14lnz.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_15syn.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_16dae.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_17inl.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_18spd.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_init_fmu.o Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/Functions/Validation" -Wl,-Bstatic -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__10_construct_p': Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0xb7): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__30_construct_p': Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x16a): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__40_construct_p': Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x21d): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__350_construct_p': Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x2d0): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o: in function `Buildings_Electrical_Transmission_MediumVoltageCables_Annealed__Al__500_construct_p': Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.c:(.text+0x383): undefined reference to `omc_Buildings_Electrical_Transmission_Functions_computeGMR' /usr/bin/ld: Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_records.o:Buildings_8_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