Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.31/2.31, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 180.6 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008708/0.0008708, allocations: 91.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.667e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3077, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.648/6.955, allocations: 2.188 GB / 3.394 GB, free: 135.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/6.956, allocations: 98.38 kB / 3.394 GB, free: 135.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1515/7.107, allocations: 67.4 MB / 3.46 GB, free: 67.81 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.334e-06/7.107, allocations: 0 / 3.46 GB, free: 67.81 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001034/7.108, allocations: 31.94 kB / 3.46 GB, free: 67.78 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002281/7.11, allocations: 1.373 MB / 3.461 GB, free: 66.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/7.11, allocations: 12.03 kB / 3.461 GB, free: 66.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/7.11, allocations: 162 kB / 3.461 GB, free: 66.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/7.114, allocations: 1.556 MB / 3.463 GB, free: 64.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/7.114, allocations: 70.98 kB / 3.463 GB, free: 64.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/7.114, allocations: 35.91 kB / 3.463 GB, free: 64.46 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006693/7.114, allocations: 342.5 kB / 3.463 GB, free: 64.13 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/7.115, allocations: 469 kB / 3.464 GB, free: 63.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/7.115, allocations: 4 kB / 3.464 GB, free: 63.66 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/7.115, allocations: 0 / 3.464 GB, free: 63.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/7.115, allocations: 12 kB / 3.464 GB, free: 63.64 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/7.119, allocations: 2.854 MB / 3.467 GB, free: 60.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/7.12, allocations: 403.9 kB / 3.467 GB, free: 60.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/7.12, allocations: 259 kB / 3.467 GB, free: 59.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/7.12, allocations: 8.375 kB / 3.467 GB, free: 59.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/7.121, allocations: 268.4 kB / 3.468 GB, free: 59.63 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 4.158e-06/7.121, allocations: 0 / 3.468 GB, free: 59.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.001196/7.122, allocations: 0.6714 MB / 3.468 GB, free: 58.94 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/7.122, allocations: 59.8 kB / 3.468 GB, free: 58.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/7.125, allocations: 1.768 MB / 3.47 GB, free: 57.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/7.125, allocations: 29.7 kB / 3.47 GB, free: 57.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/7.125, allocations: 0.6008 MB / 3.471 GB, free: 56.45 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/7.125, allocations: 165.6 kB / 3.471 GB, free: 56.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/7.125, allocations: 0 / 3.471 GB, free: 56.28 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/7.125, allocations: 330 kB / 3.471 GB, free: 55.95 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/7.126, allocations: 169.5 kB / 3.471 GB, free: 55.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/7.126, allocations: 261.7 kB / 3.471 GB, free: 55.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/7.126, allocations: 202.5 kB / 3.472 GB, free: 55.29 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/7.126, allocations: 0 / 3.472 GB, free: 55.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001126/7.127, allocations: 0.7266 MB / 3.472 GB, free: 54.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/7.127, allocations: 12.06 kB / 3.472 GB, free: 54.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/7.127, allocations: 0 / 3.472 GB, free: 54.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/7.128, allocations: 157.8 kB / 3.473 GB, free: 54.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/7.128, allocations: 115.9 kB / 3.473 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/7.131, allocations: 2.552 MB / 3.475 GB, free: 51.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/7.132, allocations: 83.55 kB / 3.475 GB, free: 51.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/7.132, allocations: 24 kB / 3.475 GB, free: 51.51 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($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_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/7.132, allocations: 131 kB / 3.475 GB, free: 51.38 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00108/7.133, allocations: 0.6637 MB / 3.476 GB, free: 50.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/7.133, allocations: 142.3 kB / 3.476 GB, free: 50.56 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/7.135, allocations: 0.7289 MB / 3.477 GB, free: 49.81 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/7.135, allocations: 8 kB / 3.477 GB, free: 49.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/7.135, allocations: 11.94 kB / 3.477 GB, free: 49.79 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/7.135, allocations: 3.984 kB / 3.477 GB, free: 49.79 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/7.137, allocations: 1.824 MB / 3.479 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/7.137, allocations: 3.984 kB / 3.479 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/7.138, allocations: 63.91 kB / 3.479 GB, free: 47.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/7.138, allocations: 179.9 kB / 3.479 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/7.138, allocations: 8 kB / 3.479 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/7.141, allocations: 3.867 MB / 3.483 GB, free: 43.56 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/7.141, allocations: 0 / 3.483 GB, free: 43.56 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/7.143, allocations: 1.013 MB / 3.484 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005009/7.143, allocations: 347.2 kB / 3.484 GB, free: 42.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/7.144, allocations: 12 kB / 3.484 GB, free: 42.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/7.144, allocations: 43.95 kB / 3.484 GB, free: 42.11 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/7.144, allocations: 60.47 kB / 3.484 GB, free: 42.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/7.144, allocations: 23.92 kB / 3.484 GB, free: 42.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001759/7.146, allocations: 1.388 MB / 3.486 GB, free: 40.64 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.146, allocations: 0 / 3.486 GB, free: 40.64 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001306/7.147, allocations: 327.4 kB / 3.486 GB, free: 40.32 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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_last) * 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 (37): * Single equations (assignments): 27 * 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: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003448/7.151, allocations: 2.437 MB / 3.488 GB, free: 37.96 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001256/7.152, allocations: 0.6293 MB / 3.489 GB, free: 37.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/7.152, allocations: 4.062 kB / 3.489 GB, free: 37.31 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007225/7.153, allocations: 0.509 MB / 3.489 GB, free: 36.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/7.154, allocations: 195.3 kB / 3.489 GB, free: 36.59 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/7.159, allocations: 2.681 MB / 3.492 GB, free: 33.86 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/7.16, allocations: 1.282 MB / 3.493 GB, free: 32.55 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005044/7.161, allocations: 160.9 kB / 3.494 GB, free: 32.39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005963/7.161, allocations: 499.3 kB / 3.494 GB, free: 31.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/7.161, allocations: 0 / 3.494 GB, free: 31.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/7.222, allocations: 27.68 MB / 3.521 GB, free: 4.355 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/7.222, allocations: 197.4 kB / 3.521 GB, free: 4.148 MB / 1.151 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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6 -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 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513: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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513:82: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:514:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:999:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1013:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1029:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1039:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1050:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1080:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1111:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1125:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1140:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1149:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1156:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1166:1: error: expected '}' ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o] Error 1