Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.NetCDF_DataReader.ExampleNcDataReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.811/0.811, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 187 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 441.4 MB, free: 4.578 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 92.97 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001988, allocations: 280.8 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.709e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.562, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.6896, allocations: 108.7 MB / 0.8705 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6899, allocations: 67.97 kB / 0.8706 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008144/0.6981, allocations: 2.132 MB / 0.8727 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6981, allocations: 0 / 0.8727 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.6982, allocations: 4 kB / 0.8727 GB, free: 13.64 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003497/0.6985, allocations: 408 kB / 0.8731 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.6986, allocations: 8.031 kB / 0.8731 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.6986, allocations: 30.56 kB / 0.8731 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005081/0.6991, allocations: 71.73 kB / 0.8732 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.6994, allocations: 215.3 kB / 0.8734 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.6994, allocations: 11.98 kB / 0.8734 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6995, allocations: 0 / 0.8734 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.6997, allocations: 229.5 kB / 0.8736 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6998, allocations: 0 / 0.8736 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6998, allocations: 4 kB / 0.8736 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.6998, allocations: 0 / 0.8736 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.7, allocations: 187.8 kB / 0.8738 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.7002, allocations: 201.6 kB / 0.874 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.7004, allocations: 208.5 kB / 0.8742 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.7006, allocations: 188.9 kB / 0.8743 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.7006, allocations: 4 kB / 0.8743 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.7006, allocations: 30.56 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.7006, allocations: 0 / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.000492/0.7011, allocations: 391.1 kB / 0.8748 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.7012, allocations: 101 kB / 0.8748 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.7014, allocations: 166.5 kB / 0.875 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.7014, allocations: 25.7 kB / 0.875 GB, free: 11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.7015, allocations: 104.1 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.7015, allocations: 23.56 kB / 0.8752 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.7015, allocations: 0 / 0.8752 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7017, allocations: 326.8 kB / 0.8755 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.7018, allocations: 187.9 kB / 0.8756 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.702, allocations: 187.9 kB / 0.8758 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.7022, allocations: 145.6 kB / 0.876 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7022, allocations: 3.953 kB / 0.876 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003953/0.7026, allocations: 383.1 kB / 0.8763 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.7027, allocations: 49.69 kB / 0.8764 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7027, allocations: 3.984 kB / 0.8764 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7027, allocations: 0 / 0.8764 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.7027, allocations: 0 / 0.8764 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.7027, allocations: 2.578 kB / 0.8764 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.7029, allocations: 23.98 kB / 0.8764 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.7029, allocations: 3.984 kB / 0.8764 GB, free: 9.547 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0001157/0.703, allocations: 150.7 kB / 0.8766 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.703, allocations: 19.77 kB / 0.8766 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.7031, allocations: 17.52 kB / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7031, allocations: 0 / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7031, allocations: 0 / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7031, allocations: 0 / 0.8766 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.7033, allocations: 209.6 kB / 0.8768 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7033, allocations: 0 / 0.8768 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/0.7033, allocations: 3.953 kB / 0.8768 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.7033, allocations: 3.938 kB / 0.8768 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.7033, allocations: 4 kB / 0.8768 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.7033, allocations: 7.922 kB / 0.8768 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7033, allocations: 0 / 0.8768 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.7038, allocations: 474.5 kB / 0.8773 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.7039, allocations: 96.89 kB / 0.8774 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.7039, allocations: 3.953 kB / 0.8774 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.704, allocations: 15.98 kB / 0.8774 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.7041, allocations: 7.938 kB / 0.8774 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.7041, allocations: 7.984 kB / 0.8774 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001139/0.7042, allocations: 136.2 kB / 0.8775 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7042, allocations: 0 / 0.8775 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000204/0.7044, allocations: 24 kB / 0.8775 GB, free: 8.281 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Functions/ncEasyGet1D.mo:3:1-10:16:writable] Warning: Could not find library netcdf in either of: /usr/lib/x86_64-linux-gnu/libnetcdf.a /usr/lib/x86_64-linux-gnu/libnetcdf.so /lib/x86_64-linux-gnu/libnetcdf.a /lib/x86_64-linux-gnu/libnetcdf.so /usr/lib//libnetcdf.a /usr/lib//libnetcdf.so /lib//libnetcdf.a /lib//libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/x86_64-linux/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/x86_64-linux/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/linux64/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/linux64/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/libnetcdf.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Functions/ncEasyGetAttributeDouble.mo:3:1-10:29:writable] Warning: Could not find library netcdf in either of: /usr/lib/x86_64-linux-gnu/libnetcdf.a /usr/lib/x86_64-linux-gnu/libnetcdf.so /lib/x86_64-linux-gnu/libnetcdf.a /lib/x86_64-linux-gnu/libnetcdf.so /usr/lib//libnetcdf.a /usr/lib//libnetcdf.so /lib//libnetcdf.a /lib//libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/x86_64-linux/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/x86_64-linux/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/linux64/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/linux64/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/libnetcdf.so Notification: Performance of Backend phase and start with SimCode phase: time 0.003129/0.7076, allocations: 1.09 MB / 0.8786 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.7082, allocations: 0.5186 MB / 0.8791 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7082, allocations: 0 / 0.8791 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.7085, allocations: 323.2 kB / 0.8794 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.7087, allocations: 9.672 kB / 0.8794 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.7094, allocations: 440.8 kB / 0.8799 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.7096, allocations: 0.716 MB / 0.8805 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.7097, allocations: 4 kB / 0.8806 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.7097, allocations: 27.42 kB / 0.8806 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.7097, allocations: 0 / 0.8806 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.7285, allocations: 3.07 MB / 0.8836 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.7288, allocations: 210.2 kB / 0.8838 GB, free: 1.977 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader.c:7: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_functions.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_functions.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_functions.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_records.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_records.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_01exo.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_01exo.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_02nls.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_02nls.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_03lsy.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_03lsy.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_04set.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_04set.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_05evt.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_05evt.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_06inz.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_06inz.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_07dly.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_07dly.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_07dly.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_08bnd.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_08bnd.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_08bnd.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_09alg.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_09alg.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_09alg.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_10asr.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_10asr.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_10asr.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_11mix.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_11mix.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_11mix.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_12jac.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_12jac.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_12jac.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_13opt.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_13opt.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_13opt.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_14lnz.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_14lnz.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_14lnz.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_15syn.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_15syn.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_15syn.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_16dae.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_16dae.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_16dae.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_17inl.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_17inl.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_17inl.c:2: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_init_fmu.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_init_fmu.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -c -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_FMU.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_FMU.c In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader.so BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_functions.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_records.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_01exo.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_02nls.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_03lsy.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_04set.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_05evt.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_06inz.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_07dly.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_08bnd.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_09alg.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_10asr.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_11mix.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_12jac.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_13opt.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_14lnz.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_15syn.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_16dae.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_17inl.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_init_fmu.o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Utilities/NetCDF_DataReader" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Library" -lncDataReader2 -lnetcdf -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: cannot find -lnetcdf clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1