Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",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.282/2.282, 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.001416/0.001417, allocations: 176.6 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.734/1.734, allocations: 221.5 MB / 0.7824 GB, free: 0.8984 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.001326/0.001326, allocations: 99.91 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.306e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3257, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.789/7.115, allocations: 2.194 GB / 3.4 GB, free: 128.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/7.115, allocations: 84.58 kB / 3.4 GB, free: 128.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.77/9.885, allocations: 0.6379 GB / 4.038 GB, free: 281.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.545e-06/9.885, allocations: 0 / 4.038 GB, free: 281.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002053/9.885, allocations: 55.64 kB / 4.038 GB, free: 281.3 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005103/9.89, allocations: 2.65 MB / 4.041 GB, free: 280.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/9.89, allocations: 7.469 kB / 4.041 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/9.892, allocations: 474 kB / 4.041 GB, free: 280.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/9.898, allocations: 2.691 MB / 4.044 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/9.898, allocations: 96.61 kB / 4.044 GB, free: 279.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/9.898, allocations: 87.28 kB / 4.044 GB, free: 279.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/9.9, allocations: 1.043 MB / 4.045 GB, free: 279.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/9.902, allocations: 1.228 MB / 4.047 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/9.902, allocations: 0 / 4.047 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/9.902, allocations: 6.562 kB / 4.047 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/9.902, allocations: 40.62 kB / 4.047 GB, free: 279.5 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.009406/9.912, allocations: 6.436 MB / 4.053 GB, free: 277 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/9.913, allocations: 1.051 MB / 4.054 GB, free: 276.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/9.914, allocations: 0.5706 MB / 4.054 GB, free: 276.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/9.915, allocations: 300 kB / 4.055 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009084/9.916, allocations: 0.5697 MB / 4.055 GB, free: 276.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=112): time 4.669e-06/9.916, allocations: 0 / 4.055 GB, free: 276.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.003315/9.919, allocations: 1.409 MB / 4.057 GB, free: 276.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/9.919, allocations: 64.25 kB / 4.057 GB, free: 276.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/9.925, allocations: 3.379 MB / 4.06 GB, free: 275.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/9.925, allocations: 32.64 kB / 4.06 GB, free: 275.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/9.926, allocations: 1.323 MB / 4.061 GB, free: 275.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/9.926, allocations: 356.2 kB / 4.062 GB, free: 275.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/9.926, allocations: 0 / 4.062 GB, free: 275.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001129/9.926, allocations: 361.2 kB / 4.062 GB, free: 275.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/9.927, allocations: 401.7 kB / 4.062 GB, free: 275.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/9.928, allocations: 0.6651 MB / 4.063 GB, free: 274.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/9.929, allocations: 0.5206 MB / 4.064 GB, free: 274.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/9.929, allocations: 3.656 kB / 4.064 GB, free: 274.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002666/9.931, allocations: 1.552 MB / 4.065 GB, free: 274.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/9.931, allocations: 3.906 kB / 4.065 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/9.932, allocations: 7.812 kB / 4.065 GB, free: 274.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/9.932, allocations: 210.9 kB / 4.065 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008982/9.933, allocations: 257.2 kB / 4.066 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/9.937, allocations: 4.043 MB / 4.069 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/9.938, allocations: 187.7 kB / 4.07 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/9.938, allocations: 50.69 kB / 4.07 GB, free: 271.9 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.0002778/9.939, allocations: 152.3 kB / 4.07 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00241/9.941, allocations: 1.37 MB / 4.071 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/9.941, allocations: 284.2 kB / 4.071 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/9.945, allocations: 1.514 MB / 4.073 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/9.945, allocations: 11 kB / 4.073 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/9.945, allocations: 7.828 kB / 4.073 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001914/9.947, allocations: 1.299 MB / 4.074 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/9.953, allocations: 3.83 MB / 4.078 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/9.953, allocations: 0 / 4.078 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/9.954, allocations: 179.3 kB / 4.078 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/9.954, allocations: 207.1 kB / 4.078 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/9.954, allocations: 13.61 kB / 4.078 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/9.958, allocations: 4.018 MB / 4.082 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/9.958, allocations: 3.891 kB / 4.082 GB, free: 267.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/9.961, allocations: 2.244 MB / 4.084 GB, free: 267.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/9.963, allocations: 0.6238 MB / 4.085 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/9.963, allocations: 24.12 kB / 4.085 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/9.964, allocations: 95.3 kB / 4.085 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/9.964, allocations: 107.2 kB / 4.085 GB, free: 267.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/9.964, allocations: 43.16 kB / 4.085 GB, free: 267.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003385/9.968, allocations: 2.639 MB / 4.088 GB, free: 267 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.91e-07/9.968, allocations: 0 / 4.088 GB, free: 267 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002461/9.97, allocations: 0.7198 MB / 4.089 GB, free: 266.9 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 (100): * Single equations (assignments): 86 * 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.006143/9.976, allocations: 4.834 MB / 4.093 GB, free: 265.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002128/9.978, allocations: 1.316 MB / 4.095 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/9.978, allocations: 6.031 kB / 4.095 GB, free: 265 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/9.979, allocations: 0.8327 MB / 4.095 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/9.982, allocations: 0.5065 MB / 4.096 GB, free: 264.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009091/9.992, allocations: 5.606 MB / 4.101 GB, free: 263.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/9.993, allocations: 1.985 MB / 4.103 GB, free: 263 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001291/9.994, allocations: 431.2 kB / 4.104 GB, free: 262.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/9.996, allocations: 1.104 MB / 4.105 GB, free: 262.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.12e-07/9.996, allocations: 0 / 4.105 GB, free: 262.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/10.1, allocations: 59.79 MB / 4.163 GB, free: 242.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/10.11, allocations: 188.9 kB / 4.163 GB, free: 242.3 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_RoomWithoutLatentGain -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_RoomWithoutLatentGain_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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_RoomWithoutLatentGain_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_RoomWithoutLatentGain_FMU.c:964: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_RoomWithoutLatentGain_FMU.c:964:82: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:965:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1921:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1935:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1951:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1961:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1972:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2038:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2105:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2126:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2148:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2157:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2164:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2174:1: error: expected '}' ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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_RoomWithoutLatentGain_FMU.o] Error 1