Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.00142/0.001421, allocations: 176.2 kB / 7.649 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.8718/0.8718, 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.485/1.485, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009955/0.0009956, allocations: 96.64 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.877e-05/4.862e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6307, allocations: 82.3 MB / 0.634 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.7986, allocations: 114.2 MB / 0.7455 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.799, allocations: 107.9 kB / 0.7456 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02388/0.8229, allocations: 7.706 MB / 0.7531 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.625e-06/0.823, allocations: 4 kB / 0.7531 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.823, allocations: 0 / 0.7531 GB, free: 0.6641 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.0006234/0.8236, allocations: 432 kB / 0.7535 GB, free: 204 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.8237, allocations: 8.031 kB / 0.7535 GB, free: 196 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.824, allocations: 23.97 kB / 0.7535 GB, free: 172 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.8241, allocations: 170.9 kB / 0.7537 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.8242, allocations: 0 / 0.7537 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.8242, allocations: 8 kB / 0.7537 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.045e-05/0.8242, allocations: 19.92 kB / 0.7537 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.8244, allocations: 82.77 kB / 0.7538 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.8244, allocations: 3.984 kB / 0.7538 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.8244, allocations: 0 / 0.7538 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.8244, allocations: 4 kB / 0.7538 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.8277, allocations: 2.497 MB / 0.7563 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.497e-05/0.8277, allocations: 18.58 kB / 0.7563 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.8277, allocations: 4.859 kB / 0.7563 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.8278, allocations: 3.938 kB / 0.7563 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.8278, allocations: 34.56 kB / 0.7563 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 2.815e-06/0.8278, allocations: 64 / 0.7563 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.8279, allocations: 45.55 kB / 0.7564 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.828, allocations: 51.41 kB / 0.7564 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.8281, allocations: 124.9 kB / 0.7565 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.8281, allocations: 25.7 kB / 0.7565 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.8282, allocations: 99.94 kB / 0.7566 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.8282, allocations: 3.906 kB / 0.7566 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.8282, allocations: 0 / 0.7566 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8283, allocations: 318.8 kB / 0.7569 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.8284, allocations: 8 kB / 0.757 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.8284, allocations: 45.19 kB / 0.757 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.8285, allocations: 23.91 kB / 0.757 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8285, allocations: 0 / 0.757 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001839/0.8287, allocations: 85.61 kB / 0.7571 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8288, allocations: 4 kB / 0.7571 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8288, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8288, allocations: 4 kB / 0.7571 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.8289, allocations: 19.92 kB / 0.7571 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8289, allocations: 0 / 0.7571 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.829, allocations: 11.84 kB / 0.7571 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.829, allocations: 8.141 kB / 0.7571 GB, free: 11.98 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.766e-05/0.829, allocations: 105 kB / 0.7572 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.079e-05/0.8291, allocations: 37.81 kB / 0.7573 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.8292, allocations: 15.84 kB / 0.7573 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.8293, allocations: 41.66 kB / 0.7573 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.8293, allocations: 4 kB / 0.7573 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.8293, allocations: 3.953 kB / 0.7573 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8293, allocations: 0 / 0.7573 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.8294, allocations: 134.2 kB / 0.7575 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8295, allocations: 8.062 kB / 0.7575 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.8295, allocations: 0 / 0.7575 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8295, allocations: 3.938 kB / 0.7575 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.8295, allocations: 7.938 kB / 0.7575 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8295, allocations: 0 / 0.7575 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8295, allocations: 0 / 0.7575 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.8296, allocations: 139.4 kB / 0.7576 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.8297, allocations: 93.03 kB / 0.7577 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.8297, allocations: 0 / 0.7577 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.8298, allocations: 0 / 0.7577 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.8298, allocations: 0 / 0.7577 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8298, allocations: 4 kB / 0.7577 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.8299, allocations: 99.27 kB / 0.7578 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8299, allocations: 0 / 0.7578 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006151/0.8305, allocations: 147.7 kB / 0.758 GB, free: 11.06 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.0008806/0.8314, allocations: 0.8566 MB / 0.7588 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.619e-05/0.8315, allocations: 20 kB / 0.7588 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8315, allocations: 3.938 kB / 0.7588 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.8315, allocations: 4 kB / 0.7588 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.8317, allocations: 16.86 kB / 0.7588 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.8322, allocations: 193.7 kB / 0.759 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.8325, allocations: 0.6884 MB / 0.7597 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.629e-05/0.8326, allocations: 21.56 kB / 0.7597 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.8326, allocations: 15.44 kB / 0.7597 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.8326, allocations: 0 / 0.7597 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.8681, allocations: 3.059 MB / 0.7627 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/0.8685, allocations: 217.6 kB / 0.7629 GB, free: 5.848 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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_FMU.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_FMU.c In file included from IDEAS_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource.c:7: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_functions.c:1: In file included from ./IDEAS_dev_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_dev_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_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_records.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_records.c In file included from IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_01exo.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_01exo.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_01exo.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_02nls.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_02nls.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_02nls.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_03lsy.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_03lsy.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_03lsy.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_04set.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_04set.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_04set.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_05evt.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_05evt.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_05evt.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.o IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c In file included from IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_CylindricalHeatSource_06inz.o] Error 1