Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7497/0.7497, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009003/0.0009001, allocations: 103.6 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.041e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4552, allocations: 82.3 MB / 0.634 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.6055, allocations: 114.2 MB / 0.7455 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.6058, allocations: 107.9 kB / 0.7456 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02311/0.6289, allocations: 7.714 MB / 0.7531 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.629, allocations: 0 / 0.7531 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.629, allocations: 4 kB / 0.7531 GB, free: 0.7617 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004619/0.6295, allocations: 426.1 kB / 0.7535 GB, free: 308 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6295, allocations: 12.03 kB / 0.7535 GB, free: 296 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.6298, allocations: 23.97 kB / 0.7535 GB, free: 272 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.63, allocations: 170.9 kB / 0.7537 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.63, allocations: 0 / 0.7537 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.63, allocations: 7.938 kB / 0.7537 GB, free: 52 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.593e-05/0.6301, allocations: 15.98 kB / 0.7537 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.6302, allocations: 78.92 kB / 0.7538 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.6302, allocations: 3.938 kB / 0.7538 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.6302, allocations: 0 / 0.7538 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6302, allocations: 0 / 0.7538 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.6335, allocations: 2.493 MB / 0.7562 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.6335, allocations: 22.52 kB / 0.7563 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.6336, allocations: 16.78 kB / 0.7563 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.6336, allocations: 3.938 kB / 0.7563 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6336, allocations: 34.56 kB / 0.7563 GB, free: 13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6336, allocations: 0 / 0.7563 GB, free: 13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.6338, allocations: 37.67 kB / 0.7564 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.6338, allocations: 51.41 kB / 0.7564 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.6339, allocations: 120.9 kB / 0.7565 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.6339, allocations: 29.73 kB / 0.7565 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.634, allocations: 95.94 kB / 0.7566 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.634, allocations: 7.906 kB / 0.7566 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.634, allocations: 0 / 0.7566 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6342, allocations: 310.8 kB / 0.7569 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.6342, allocations: 15.98 kB / 0.757 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.6342, allocations: 45.09 kB / 0.757 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.6343, allocations: 23.97 kB / 0.757 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6344, allocations: 0 / 0.757 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001826/0.6345, allocations: 77.55 kB / 0.7571 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6346, allocations: 12.19 kB / 0.7571 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6346, allocations: 0 / 0.7571 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6346, allocations: 4 kB / 0.7571 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.6347, allocations: 19.98 kB / 0.7571 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.6347, allocations: 0 / 0.7571 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.6348, allocations: 11.97 kB / 0.7571 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.6348, allocations: 11.95 kB / 0.7572 GB, free: 12.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/0.6349, allocations: 101 kB / 0.7572 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.092e-05/0.6349, allocations: 37.64 kB / 0.7573 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.635, allocations: 11.92 kB / 0.7573 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.29e-05/0.635, allocations: 41.67 kB / 0.7573 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6351, allocations: 0 / 0.7573 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6351, allocations: 7.953 kB / 0.7573 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6351, allocations: 3.984 kB / 0.7573 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.6352, allocations: 134.2 kB / 0.7575 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6352, allocations: 0 / 0.7575 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.6352, allocations: 7.938 kB / 0.7575 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.6353, allocations: 3.984 kB / 0.7575 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.6353, allocations: 3.938 kB / 0.7575 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6353, allocations: 4.031 kB / 0.7575 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6353, allocations: 4 kB / 0.7575 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.6354, allocations: 135.5 kB / 0.7576 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.6355, allocations: 85.02 kB / 0.7577 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.6355, allocations: 3.984 kB / 0.7577 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.6355, allocations: 0 / 0.7577 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.6356, allocations: 0 / 0.7577 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.6356, allocations: 7.969 kB / 0.7577 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.6356, allocations: 103.3 kB / 0.7578 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6356, allocations: 0 / 0.7578 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004897/0.6361, allocations: 143.7 kB / 0.758 GB, free: 11.16 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008685/0.637, allocations: 0.8488 MB / 0.7588 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.6371, allocations: 27.92 kB / 0.7588 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6371, allocations: 4.375 kB / 0.7588 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.6371, allocations: 4 kB / 0.7588 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.6373, allocations: 23.08 kB / 0.7588 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.6378, allocations: 193.1 kB / 0.759 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6381, allocations: 0.69 MB / 0.7597 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.6382, allocations: 24.22 kB / 0.7597 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.6383, allocations: 15.44 kB / 0.7597 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6383, allocations: 0 / 0.7597 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.663, allocations: 3.052 MB / 0.7627 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.6633, allocations: 208.2 kB / 0.7629 GB, free: 5.953 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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_FMU.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_FMU.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.c:7: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c:1: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c:572:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_is == 0.0)) ~~~~^~~~~~ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c:572:11: note: remove extraneous parentheses around the comparison to silence this warning if((_is == 0.0)) ~ ^ ~ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c:572:11: note: use '=' to turn this equality comparison into an assignment if((_is == 0.0)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_records.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_records.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_01exo.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_01exo.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_01exo.c:2: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_02nls.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_02nls.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_02nls.c:2: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_03lsy.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_03lsy.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_03lsy.c:2: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_04set.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_04set.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_04set.c:2: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_05evt.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_05evt.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_05evt.c:2: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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. -DOMC_MODEL_PREFIX=IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource -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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.o IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c In file included from IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:2: In file included from ./IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_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); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:27:43: error: use of undeclared identifier '$PFo' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:27:62: error: use of undeclared identifier '$Pp' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:48:43: error: use of undeclared identifier '$PFo' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:48:62: error: use of undeclared identifier '$Pp' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:69:43: error: use of undeclared identifier '$PFo' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:69:62: error: use of undeclared identifier '$Pp' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:90:43: error: use of undeclared identifier '$PFo' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:90:62: error: use of undeclared identifier '$Pp' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:111:43: error: use of undeclared identifier '$PFo' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:111:62: error: use of undeclared identifier '$Pp' tmpMeta[0] = mmc_mk_box2(0, mmc_mk_real($PFo), mmc_mk_real($Pp)); ^ 2 warnings and 10 errors generated. make: *** [: IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.o] Error 1