Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 172.9 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 93.73 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.84e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7727, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.956/7.728, allocations: 2.352 GB / 3.325 GB, free: 136.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/7.729, allocations: 95.95 kB / 3.326 GB, free: 136.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1425/7.871, allocations: 70.21 MB / 3.394 GB, free: 66.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.975e-06/7.871, allocations: 0 / 3.394 GB, free: 66.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001173/7.872, allocations: 43.88 kB / 3.394 GB, free: 66.33 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002369/7.874, allocations: 1.536 MB / 3.396 GB, free: 64.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/7.874, allocations: 8.031 kB / 3.396 GB, free: 64.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/7.874, allocations: 187.4 kB / 3.396 GB, free: 64.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/7.878, allocations: 1.661 MB / 3.397 GB, free: 62.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/7.878, allocations: 74.98 kB / 3.398 GB, free: 62.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/7.878, allocations: 47.91 kB / 3.398 GB, free: 62.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007459/7.879, allocations: 434.5 kB / 3.398 GB, free: 62.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008627/7.88, allocations: 0.591 MB / 3.399 GB, free: 61.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/7.88, allocations: 0 / 3.399 GB, free: 61.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/7.88, allocations: 0 / 3.399 GB, free: 61.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/7.88, allocations: 16 kB / 3.399 GB, free: 61.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/7.884, allocations: 3.476 MB / 3.402 GB, free: 57.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/7.885, allocations: 0.5015 MB / 3.402 GB, free: 57.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/7.885, allocations: 306.5 kB / 3.403 GB, free: 57.15 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/7.885, allocations: 16.53 kB / 3.403 GB, free: 57.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/7.886, allocations: 317.9 kB / 3.403 GB, free: 56.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=65): time 3.056e-06/7.886, allocations: 0 / 3.403 GB, free: 56.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=65): time 0.001602/7.887, allocations: 0.8543 MB / 3.404 GB, free: 55.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/7.887, allocations: 115.4 kB / 3.404 GB, free: 55.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/7.89, allocations: 1.863 MB / 3.406 GB, free: 53.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/7.89, allocations: 39.8 kB / 3.406 GB, free: 53.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/7.89, allocations: 0.691 MB / 3.407 GB, free: 53.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/7.891, allocations: 205 kB / 3.407 GB, free: 52.99 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/7.891, allocations: 4 kB / 3.407 GB, free: 52.99 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/7.891, allocations: 330 kB / 3.407 GB, free: 52.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/7.891, allocations: 205.5 kB / 3.407 GB, free: 52.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/7.891, allocations: 351.1 kB / 3.408 GB, free: 52.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/7.892, allocations: 236.7 kB / 3.408 GB, free: 51.83 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/7.892, allocations: 0 / 3.408 GB, free: 51.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001482/7.893, allocations: 0.9383 MB / 3.409 GB, free: 50.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/7.893, allocations: 4 kB / 3.409 GB, free: 50.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/7.893, allocations: 7.984 kB / 3.409 GB, free: 50.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/7.894, allocations: 233.1 kB / 3.409 GB, free: 50.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/7.894, allocations: 131.8 kB / 3.409 GB, free: 50.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/7.898, allocations: 3.156 MB / 3.412 GB, free: 47.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/7.899, allocations: 107.4 kB / 3.412 GB, free: 47.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/7.899, allocations: 24 kB / 3.412 GB, free: 47.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 1 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0001834/7.899, allocations: 127.1 kB / 3.412 GB, free: 46.98 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0014/7.9, allocations: 0.8576 MB / 3.413 GB, free: 46.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/7.901, allocations: 162 kB / 3.413 GB, free: 45.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/7.902, allocations: 0.9221 MB / 3.414 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/7.902, allocations: 8 kB / 3.414 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/7.902, allocations: 7.953 kB / 3.414 GB, free: 44.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/7.902, allocations: 7.078 kB / 3.414 GB, free: 44.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/7.906, allocations: 2.154 MB / 3.416 GB, free: 42.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/7.906, allocations: 0 / 3.416 GB, free: 42.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/7.906, allocations: 71.89 kB / 3.417 GB, free: 42.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006062/7.906, allocations: 258.2 kB / 3.417 GB, free: 42.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/7.907, allocations: 8 kB / 3.417 GB, free: 42.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/7.91, allocations: 4.293 MB / 3.421 GB, free: 37.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/7.91, allocations: 0 / 3.421 GB, free: 37.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/7.912, allocations: 1.261 MB / 3.422 GB, free: 36.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/7.913, allocations: 374.9 kB / 3.423 GB, free: 36.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/7.913, allocations: 16 kB / 3.423 GB, free: 36.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/7.914, allocations: 51.95 kB / 3.423 GB, free: 36.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/7.914, allocations: 88.19 kB / 3.423 GB, free: 36.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/7.914, allocations: 19.98 kB / 3.423 GB, free: 36.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00168/7.916, allocations: 1.459 MB / 3.424 GB, free: 34.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.916, allocations: 4 kB / 3.424 GB, free: 34.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001269/7.917, allocations: 371.3 kB / 3.425 GB, free: 34.26 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.003535/7.92, allocations: 2.693 MB / 3.427 GB, free: 31.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001375/7.922, allocations: 0.7522 MB / 3.428 GB, free: 30.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/7.922, allocations: 3.938 kB / 3.428 GB, free: 30.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/7.923, allocations: 0.6178 MB / 3.428 GB, free: 30.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/7.924, allocations: 241 kB / 3.429 GB, free: 29.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/7.929, allocations: 2.929 MB / 3.432 GB, free: 27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/7.929, allocations: 1.345 MB / 3.433 GB, free: 25.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004859/7.93, allocations: 180.8 kB / 3.433 GB, free: 25.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/7.931, allocations: 0.5696 MB / 3.434 GB, free: 24.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/7.931, allocations: 0 / 3.434 GB, free: 24.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7435/8.674, allocations: 32.51 MB / 3.465 GB, free: 289.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/8.675, allocations: 190.1 kB / 3.466 GB, free: 289.1 MB / 0.948 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=Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_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 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_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); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:577:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:577:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:578:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1128:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1142:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1158:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1168:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1179:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1215:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1252:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1266:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1281:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1290:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1297:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1307:1: error: expected '}' ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o] Error 1