Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.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.TestCase12,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",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.798/1.798, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001354/0.001354, allocations: 192.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.27/2.27, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.001154/0.001154, allocations: 84.88 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.448e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8509, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.107/7.958, allocations: 2.352 GB / 3.325 GB, free: 89.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/7.958, allocations: 91.5 kB / 3.325 GB, free: 89.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.228/9.186, allocations: 188.1 MB / 3.509 GB, free: 276.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.73e-06/9.186, allocations: 0 / 3.509 GB, free: 276.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002761/9.186, allocations: 69.47 kB / 3.509 GB, free: 276.4 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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.007548/9.194, allocations: 2.293 MB / 3.511 GB, free: 274.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.764e-05/9.194, allocations: 14.64 kB / 3.511 GB, free: 274.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/9.195, allocations: 305.4 kB / 3.511 GB, free: 274.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007173/9.203, allocations: 2.439 MB / 3.514 GB, free: 273 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/9.203, allocations: 80.31 kB / 3.514 GB, free: 273 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/9.203, allocations: 66.75 kB / 3.514 GB, free: 273 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002003/9.205, allocations: 0.705 MB / 3.515 GB, free: 272.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/9.207, allocations: 0.8857 MB / 3.516 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/9.207, allocations: 0 / 3.516 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/9.208, allocations: 3.812 kB / 3.516 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/9.208, allocations: 21.62 kB / 3.516 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/9.218, allocations: 4.591 MB / 3.52 GB, free: 268.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/9.22, allocations: 0.7996 MB / 3.521 GB, free: 268.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007395/9.22, allocations: 441 kB / 3.521 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000441/9.221, allocations: 0.5093 MB / 3.522 GB, free: 267.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007791/9.222, allocations: 483.8 kB / 3.522 GB, free: 267.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.198e-06/9.222, allocations: 0 / 3.522 GB, free: 267.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=94): time 0.003295/9.225, allocations: 1.157 MB / 3.523 GB, free: 266.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/9.225, allocations: 71.95 kB / 3.523 GB, free: 266.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/9.236, allocations: 3.297 MB / 3.527 GB, free: 265.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/9.236, allocations: 33.62 kB / 3.527 GB, free: 265.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/9.238, allocations: 1.147 MB / 3.528 GB, free: 264.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/9.238, allocations: 301.5 kB / 3.528 GB, free: 263.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/9.238, allocations: 0 / 3.528 GB, free: 263.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001823/9.238, allocations: 349.4 kB / 3.528 GB, free: 263.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/9.239, allocations: 303.9 kB / 3.529 GB, free: 263.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/9.24, allocations: 493.4 kB / 3.529 GB, free: 263.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/9.241, allocations: 384.7 kB / 3.529 GB, free: 262.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/9.241, allocations: 0 / 3.529 GB, free: 262.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002934/9.244, allocations: 1.262 MB / 3.531 GB, free: 262.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/9.244, allocations: 9.594 kB / 3.531 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/9.244, allocations: 3.594 kB / 3.531 GB, free: 262.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/9.244, allocations: 222.3 kB / 3.531 GB, free: 262.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/9.245, allocations: 194 kB / 3.531 GB, free: 262.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/9.249, allocations: 4.089 MB / 3.535 GB, free: 258.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/9.251, allocations: 135.7 kB / 3.535 GB, free: 258.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/9.251, allocations: 40.2 kB / 3.535 GB, free: 258.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002707/9.251, allocations: 153 kB / 3.535 GB, free: 258.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002797/9.254, allocations: 1.158 MB / 3.537 GB, free: 257.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/9.255, allocations: 278.2 kB / 3.537 GB, free: 257.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/9.258, allocations: 1.344 MB / 3.538 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/9.258, allocations: 11.69 kB / 3.538 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/9.258, allocations: 3.938 kB / 3.538 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001713/9.259, allocations: 1.216 MB / 3.539 GB, free: 256 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/9.267, allocations: 3.351 MB / 3.543 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/9.267, allocations: 0 / 3.543 GB, free: 253.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/9.267, allocations: 127.9 kB / 3.543 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/9.268, allocations: 242.4 kB / 3.543 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/9.268, allocations: 15.98 kB / 3.543 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003893/9.272, allocations: 4.624 MB / 3.548 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/9.272, allocations: 3.25 kB / 3.548 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/9.275, allocations: 1.887 MB / 3.549 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/9.277, allocations: 0.5913 MB / 3.55 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007856/9.278, allocations: 19.98 kB / 3.55 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/9.279, allocations: 83.78 kB / 3.55 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/9.279, allocations: 97.06 kB / 3.55 GB, free: 245.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/9.279, allocations: 39.97 kB / 3.55 GB, free: 245.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005028/9.284, allocations: 2.584 MB / 3.553 GB, free: 242.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.285, allocations: 0 / 3.553 GB, free: 242.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002686/9.287, allocations: 0.6044 MB / 3.553 GB, free: 241.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00573/9.293, allocations: 3.658 MB / 3.557 GB, free: 238.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001905/9.295, allocations: 1.117 MB / 3.558 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/9.295, allocations: 4.125 kB / 3.558 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/9.296, allocations: 0.7423 MB / 3.559 GB, free: 236.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/9.299, allocations: 454.5 kB / 3.559 GB, free: 236 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/9.311, allocations: 5.063 MB / 3.564 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/9.313, allocations: 1.823 MB / 3.566 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001455/9.314, allocations: 351.2 kB / 3.566 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/9.316, allocations: 1.003 MB / 3.567 GB, free: 227.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/9.316, allocations: 0 / 3.567 GB, free: 227.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/9.419, allocations: 50.42 MB / 3.616 GB, free: 177.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/9.419, allocations: 183.1 kB / 3.617 GB, free: 177.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_TestCase12 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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_TestCase12_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_TestCase12_FMU.c:917: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_TestCase12_FMU.c:917:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:918:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1819:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1833: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_TestCase12_FMU.c:1849:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1859: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_TestCase12_FMU.c:1870:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1931: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_TestCase12_FMU.c:1993:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2011:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2030: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_TestCase12_FMU.c:2039:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2046:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2056:1: error: expected '}' ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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_TestCase12_FMU.o] Error 1