Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",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.49/2.49, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001257/0.001258, allocations: 192.4 kB / 487.4 MB, free: 5.047 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.828/1.828, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.001186/0.001186, allocations: 95.73 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.878e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2996, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.794/6.094, allocations: 2.194 GB / 3.4 GB, free: 129.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/6.094, allocations: 80.89 kB / 3.4 GB, free: 129 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.023/9.118, allocations: 0.6379 GB / 4.038 GB, free: 281.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.756e-06/9.118, allocations: 0 / 4.038 GB, free: 281.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002537/9.118, allocations: 62.56 kB / 4.038 GB, free: 281.1 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006989/9.125, allocations: 2.65 MB / 4.041 GB, free: 280 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/9.125, allocations: 11 kB / 4.041 GB, free: 280 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/9.127, allocations: 465.5 kB / 4.041 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006821/9.134, allocations: 2.69 MB / 4.044 GB, free: 279.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/9.134, allocations: 101.4 kB / 4.044 GB, free: 279.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/9.135, allocations: 75.91 kB / 4.044 GB, free: 279.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001932/9.137, allocations: 1.052 MB / 4.045 GB, free: 279.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/9.139, allocations: 1.222 MB / 4.046 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/9.139, allocations: 1.5 kB / 4.046 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/9.139, allocations: 3.688 kB / 4.046 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/9.139, allocations: 46.73 kB / 4.046 GB, free: 279.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009779/9.149, allocations: 6.434 MB / 4.053 GB, free: 276.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/9.15, allocations: 1.046 MB / 4.054 GB, free: 276.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/9.151, allocations: 0.5693 MB / 4.054 GB, free: 276.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/9.151, allocations: 304.8 kB / 4.055 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009062/9.152, allocations: 0.5783 MB / 4.055 GB, free: 276.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 4.448e-06/9.152, allocations: 0 / 4.055 GB, free: 276.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.00326/9.156, allocations: 1.41 MB / 4.057 GB, free: 276 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/9.156, allocations: 67.28 kB / 4.057 GB, free: 275.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005794/9.162, allocations: 3.367 MB / 4.06 GB, free: 275.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/9.162, allocations: 36.3 kB / 4.06 GB, free: 275.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/9.163, allocations: 1.297 MB / 4.061 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/9.163, allocations: 356 kB / 4.062 GB, free: 275.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/9.163, allocations: 0 / 4.062 GB, free: 275.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000115/9.164, allocations: 356.6 kB / 4.062 GB, free: 274.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/9.164, allocations: 409.8 kB / 4.062 GB, free: 274.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/9.165, allocations: 0.6581 MB / 4.063 GB, free: 274.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/9.166, allocations: 0.5322 MB / 4.063 GB, free: 274.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/9.166, allocations: 3.312 kB / 4.063 GB, free: 274.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00311/9.169, allocations: 1.56 MB / 4.065 GB, free: 274.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/9.169, allocations: 6.906 kB / 4.065 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/9.169, allocations: 7.094 kB / 4.065 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/9.17, allocations: 212.5 kB / 4.065 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/9.171, allocations: 249.7 kB / 4.065 GB, free: 274.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/9.174, allocations: 4.036 MB / 4.069 GB, free: 271.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/9.177, allocations: 178.9 kB / 4.07 GB, free: 271.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/9.177, allocations: 56.92 kB / 4.07 GB, free: 271.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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_last,mean.y_last,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 (137): * Single equations (assignments): 135 * 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.0003217/9.177, allocations: 148.3 kB / 4.07 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002771/9.18, allocations: 1.381 MB / 4.071 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/9.18, allocations: 279.5 kB / 4.071 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/9.183, allocations: 1.521 MB / 4.073 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/9.183, allocations: 11.03 kB / 4.073 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/9.183, allocations: 10.89 kB / 4.073 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001891/9.185, allocations: 1.299 MB / 4.074 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/9.192, allocations: 3.853 MB / 4.078 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/9.192, allocations: 3.688 kB / 4.078 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/9.193, allocations: 179.5 kB / 4.078 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/9.194, allocations: 201.2 kB / 4.078 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/9.194, allocations: 20.42 kB / 4.078 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/9.197, allocations: 4.039 MB / 4.082 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/9.197, allocations: 0 / 4.082 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/9.201, allocations: 2.258 MB / 4.084 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/9.202, allocations: 0.629 MB / 4.085 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003044/9.203, allocations: 21.84 kB / 4.085 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/9.204, allocations: 106.7 kB / 4.085 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/9.204, allocations: 100.8 kB / 4.085 GB, free: 266.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/9.204, allocations: 41.28 kB / 4.085 GB, free: 266.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003784/9.208, allocations: 2.632 MB / 4.088 GB, free: 266.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.42e-07/9.208, allocations: 0 / 4.088 GB, free: 266.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003012/9.211, allocations: 0.7178 MB / 4.089 GB, free: 266.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.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_last) * 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 (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 Backend phase and start with SimCode phase: time 0.007566/9.218, allocations: 4.854 MB / 4.093 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002684/9.221, allocations: 1.337 MB / 4.095 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/9.221, allocations: 3.969 kB / 4.095 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/9.223, allocations: 0.8337 MB / 4.095 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/9.227, allocations: 0.5089 MB / 4.096 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/9.241, allocations: 5.594 MB / 4.101 GB, free: 263.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002685/9.243, allocations: 1.98 MB / 4.103 GB, free: 262.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001951/9.245, allocations: 425 kB / 4.104 GB, free: 262.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/9.247, allocations: 1.106 MB / 4.105 GB, free: 262.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.663e-06/9.248, allocations: 3.094 kB / 4.105 GB, free: 262.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/9.378, allocations: 59.76 MB / 4.163 GB, free: 243.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/9.379, allocations: 189.2 kB / 4.163 GB, free: 242.9 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_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_RoomWithLatentGain_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_RoomWithLatentGain_FMU.c:963: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_RoomWithLatentGain_FMU.c:963:82: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:964:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1933:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1949:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1959:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1970:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2036:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2103:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2124:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2146:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2155:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2162:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2172:1: error: expected '}' ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_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_RoomWithLatentGain_FMU.o] Error 1