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.867/0.867, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 183.8 kB / 182.2 MB, free: 9.469 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.612/1.612, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009684/0.0009684, allocations: 92.05 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 280.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.902e-05, allocations: 0 / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5588, allocations: 82.77 MB / 0.7574 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.7226, allocations: 108 MB / 0.863 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.723, allocations: 71.95 kB / 0.863 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006017/0.729, allocations: 2.021 MB / 0.865 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.464e-06/0.729, allocations: 3.938 kB / 0.865 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.7291, allocations: 4 kB / 0.865 GB, free: 1.656 MB / 0.5261 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.0004472/0.7295, allocations: 408 kB / 0.8654 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.7296, allocations: 8.031 kB / 0.8654 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005137/0.7301, allocations: 71.73 kB / 0.8655 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.7304, allocations: 203.3 kB / 0.8657 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.7305, allocations: 16 kB / 0.8657 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.7305, allocations: 0 / 0.8657 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002428/0.7307, allocations: 195.8 kB / 0.8659 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.731, allocations: 221.6 kB / 0.8661 GB, free: 472 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.731, allocations: 0 / 0.8661 GB, free: 472 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.731, allocations: 8 kB / 0.8661 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7311, allocations: 0 / 0.8661 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.7313, allocations: 166.2 kB / 0.8662 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.7315, allocations: 202.4 kB / 0.8664 GB, free: 48 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.7318, allocations: 192.7 kB / 0.8666 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.7318, allocations: 4 kB / 0.8666 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.7318, allocations: 42.55 kB / 0.8667 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7318, allocations: 0 / 0.8667 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0005101/0.7323, allocations: 349 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.7324, allocations: 93.09 kB / 0.8671 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.7326, allocations: 157.5 kB / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7326, allocations: 29.7 kB / 0.8673 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.7327, allocations: 104.1 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.7328, allocations: 19.66 kB / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.7328, allocations: 0 / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7329, allocations: 328.9 kB / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.7331, allocations: 187.9 kB / 0.8679 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.7333, allocations: 183.9 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.7334, allocations: 103.9 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7334, allocations: 0 / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003841/0.7338, allocations: 345.4 kB / 0.8685 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.7339, allocations: 57.61 kB / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7339, allocations: 0 / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.7339, allocations: 0 / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-06/0.7339, allocations: 0 / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.734, allocations: 4.062 kB / 0.8685 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.7341, allocations: 15.98 kB / 0.8685 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.7341, allocations: 8 kB / 0.8686 GB, free: 13.8 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.0001324/0.7342, allocations: 146.7 kB / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004267/0.7347, allocations: 385.4 kB / 0.8691 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.7347, allocations: 11.91 kB / 0.8691 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.7348, allocations: 17.77 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7348, allocations: 4.031 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7348, allocations: 4 kB / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7348, allocations: 0 / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.7349, allocations: 182.1 kB / 0.8693 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.735, allocations: 4 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.735, allocations: 0 / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.735, allocations: 3.953 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.735, allocations: 0 / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.735, allocations: 7.938 kB / 0.8693 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.735, allocations: 0 / 0.8693 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.7355, allocations: 408.8 kB / 0.8697 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.7356, allocations: 88.95 kB / 0.8698 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.7356, allocations: 3.953 kB / 0.8698 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.7358, allocations: 15.98 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.7358, allocations: 0 / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.7358, allocations: 7.984 kB / 0.8698 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001098/0.7359, allocations: 136.3 kB / 0.8699 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7359, allocations: 0 / 0.8699 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002235/0.7362, allocations: 24 kB / 0.8699 GB, free: 12.29 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/OMCompiler/build/lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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/OMCompiler/build/lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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.001291/0.7375, allocations: 1.032 MB / 0.871 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.738, allocations: 0.507 MB / 0.8714 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7381, allocations: 4.062 kB / 0.8715 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.7384, allocations: 319.2 kB / 0.8718 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.7385, allocations: 8.984 kB / 0.8718 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.7393, allocations: 441.6 kB / 0.8722 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.7397, allocations: 0.7119 MB / 0.8729 GB, free: 9.195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.7397, allocations: 4 kB / 0.8729 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.7398, allocations: 27.42 kB / 0.8729 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.7398, allocations: 0 / 0.8729 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.7661, allocations: 2.652 MB / 0.8755 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.7664, allocations: 194.6 kB / 0.8757 GB, free: 6.336 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c: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); ^~~~ include/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. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/Resources/Include" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader.so BuildingSystems_BuildingSystems_Utilities_NetCDF_DataReader_ExampleNcDataReader_FMU.o 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 -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Utilities/NetCDF_DataReader" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -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:44: nozip] Error 1