Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7266/0.7266, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 164.9 kB / 164.6 MB, free: 6.543 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.2 MB / 399.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009673/0.0009672, allocations: 101.7 kB / 476.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.667e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1834, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.451/1.634, allocations: 411.9 MB / 1.024 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.635, allocations: 96.62 kB / 1.024 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07518/1.71, allocations: 36.96 MB / 1.06 GB, free: 75.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.71, allocations: 3.938 kB / 1.06 GB, free: 75.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.205e-05/1.71, allocations: 19.94 kB / 1.06 GB, free: 75.09 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001582/1.712, allocations: 1.172 MB / 1.061 GB, free: 73.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.712, allocations: 8.031 kB / 1.061 GB, free: 73.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/1.712, allocations: 134.4 kB / 1.061 GB, free: 73.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/1.715, allocations: 1.44 MB / 1.063 GB, free: 72.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/1.715, allocations: 62.94 kB / 1.063 GB, free: 72.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/1.715, allocations: 24 kB / 1.063 GB, free: 72.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005214/1.715, allocations: 310.5 kB / 1.063 GB, free: 71.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/1.716, allocations: 412.2 kB / 1.064 GB, free: 71.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.716, allocations: 4 kB / 1.064 GB, free: 71.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/1.716, allocations: 0 / 1.064 GB, free: 71.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.716, allocations: 12 kB / 1.064 GB, free: 71.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/1.719, allocations: 2.354 MB / 1.066 GB, free: 68.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/1.719, allocations: 406.8 kB / 1.066 GB, free: 68.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/1.72, allocations: 248.8 kB / 1.066 GB, free: 68.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/1.72, allocations: 4.859 kB / 1.066 GB, free: 68.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/1.72, allocations: 230.8 kB / 1.067 GB, free: 67.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/1.72, allocations: 0 / 1.067 GB, free: 67.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.0009198/1.721, allocations: 0.5557 MB / 1.067 GB, free: 67.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/1.721, allocations: 55.41 kB / 1.067 GB, free: 67.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/1.723, allocations: 1.458 MB / 1.069 GB, free: 65.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/1.723, allocations: 25.7 kB / 1.069 GB, free: 65.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/1.723, allocations: 0.5135 MB / 1.069 GB, free: 65.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/1.723, allocations: 134 kB / 1.069 GB, free: 65.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/1.723, allocations: 0 / 1.069 GB, free: 65.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/1.723, allocations: 334 kB / 1.07 GB, free: 64.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/1.724, allocations: 133.1 kB / 1.07 GB, free: 64.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/1.724, allocations: 257.3 kB / 1.07 GB, free: 64.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/1.724, allocations: 168.5 kB / 1.07 GB, free: 64.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.724, allocations: 7.953 kB / 1.07 GB, free: 64.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008553/1.725, allocations: 0.6168 MB / 1.071 GB, free: 63.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.725, allocations: 4 kB / 1.071 GB, free: 63.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.725, allocations: 4 kB / 1.071 GB, free: 63.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/1.725, allocations: 140.9 kB / 1.071 GB, free: 63.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/1.726, allocations: 87.81 kB / 1.071 GB, free: 63.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/1.728, allocations: 2.254 MB / 1.073 GB, free: 61.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/1.728, allocations: 67.56 kB / 1.073 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/1.728, allocations: 23.98 kB / 1.073 GB, free: 60.95 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.728, allocations: 118.6 kB / 1.073 GB, free: 60.83 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008056/1.729, allocations: 0.5561 MB / 1.074 GB, free: 60.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.729, allocations: 118.6 kB / 1.074 GB, free: 60.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/1.73, allocations: 0.5998 MB / 1.075 GB, free: 59.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/1.73, allocations: 4 kB / 1.075 GB, free: 59.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.73, allocations: 4 kB / 1.075 GB, free: 59.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.73, allocations: 3.984 kB / 1.075 GB, free: 59.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.732, allocations: 1.452 MB / 1.076 GB, free: 58.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/1.732, allocations: 0 / 1.076 GB, free: 58.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.732, allocations: 47.91 kB / 1.076 GB, free: 57.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/1.732, allocations: 157.6 kB / 1.076 GB, free: 57.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/1.732, allocations: 15.94 kB / 1.076 GB, free: 57.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/1.735, allocations: 3.52 MB / 1.08 GB, free: 54.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.735, allocations: 3.938 kB / 1.08 GB, free: 54.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/1.736, allocations: 0.8423 MB / 1.081 GB, free: 53.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/1.736, allocations: 259.6 kB / 1.081 GB, free: 52.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/1.736, allocations: 15.94 kB / 1.081 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/1.737, allocations: 39.91 kB / 1.081 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.737, allocations: 56.03 kB / 1.081 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/1.737, allocations: 12 kB / 1.081 GB, free: 52.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001231/1.738, allocations: 1.143 MB / 1.082 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/1.738, allocations: 0 / 1.082 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009112/1.739, allocations: 259.5 kB / 1.082 GB, free: 51.37 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00234/1.742, allocations: 1.753 MB / 1.084 GB, free: 49.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009468/1.742, allocations: 0.5416 MB / 1.085 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.742, allocations: 192 / 1.085 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/1.743, allocations: 475 kB / 1.085 GB, free: 48.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/1.744, allocations: 164.3 kB / 1.085 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/1.747, allocations: 2.218 MB / 1.087 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/1.748, allocations: 1.169 MB / 1.089 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000317/1.748, allocations: 148.4 kB / 1.089 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/1.748, allocations: 403.2 kB / 1.089 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/1.748, allocations: 0 / 1.089 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04205/1.79, allocations: 19.75 MB / 1.108 GB, free: 24.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.791, allocations: 191 kB / 1.109 GB, free: 24.54 MB / 0.6355 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=BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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 BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:432:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:432:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:433:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:833:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:847:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:863:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:873:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:884:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:907:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:931:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:943:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:956:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:965:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:972:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:982:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.o] Error 1