Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 182.2 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 89.78 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.439e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2145, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9624/1.177, allocations: 137.8 MB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/1.177, allocations: 78.84 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07765/1.255, allocations: 13.87 MB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.445e-06/1.255, allocations: 4 kB / 1.032 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.897e-05/1.255, allocations: 16 kB / 1.032 GB, free: 5.699 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003306/1.259, allocations: 1.018 MB / 1.033 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.449e-05/1.259, allocations: 12.03 kB / 1.033 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/1.259, allocations: 86.97 kB / 1.033 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.261, allocations: 490 kB / 1.034 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/1.261, allocations: 20 kB / 1.034 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/1.261, allocations: 51.94 kB / 1.034 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001562/1.263, allocations: 456.6 kB / 1.034 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/1.264, allocations: 478.9 kB / 1.035 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.265, allocations: 0 / 1.035 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/1.265, allocations: 3.984 kB / 1.035 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/1.265, allocations: 16 kB / 1.035 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/1.271, allocations: 1.775 MB / 1.037 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.273, allocations: 448.8 kB / 1.037 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/1.273, allocations: 169.9 kB / 1.037 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/1.273, allocations: 8.438 kB / 1.037 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008344/1.274, allocations: 330.1 kB / 1.037 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 4.288e-06/1.274, allocations: 0 / 1.037 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.001493/1.276, allocations: 440.5 kB / 1.038 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/1.276, allocations: 239.9 kB / 1.038 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/1.277, allocations: 359.2 kB / 1.038 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/1.277, allocations: 29.7 kB / 1.038 GB, free: 476 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/1.277, allocations: 334.4 kB / 1.039 GB, free: 224 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.278, allocations: 159 kB / 1.039 GB, free: 84 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/1.278, allocations: 0 / 1.039 GB, free: 84 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002323/1.278, allocations: 369.8 kB / 1.039 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/1.278, allocations: 147.2 kB / 1.039 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/1.279, allocations: 322 kB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/1.28, allocations: 178.2 kB / 1.04 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.28, allocations: 0 / 1.04 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00146/1.281, allocations: 475.6 kB / 1.04 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000274/1.282, allocations: 462.4 kB / 1.041 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.282, allocations: 0 / 1.041 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.282, allocations: 4 kB / 1.041 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.283, allocations: 115.7 kB / 1.041 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.283, allocations: 8 kB / 1.041 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.284, allocations: 111.5 kB / 1.041 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.284, allocations: 14.81 kB / 1.041 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.284, allocations: 4 kB / 1.041 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/1.286, allocations: 375.7 kB / 1.041 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.286, allocations: 4 kB / 1.041 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/1.286, allocations: 4 kB / 1.041 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.287, allocations: 111.5 kB / 1.042 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.287, allocations: 7.969 kB / 1.042 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.288, allocations: 87.62 kB / 1.042 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/1.288, allocations: 15.38 kB / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002905/1.288, allocations: 116.9 kB / 1.042 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001265/1.289, allocations: 436.2 kB / 1.042 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.29, allocations: 59.3 kB / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/1.291, allocations: 0.5068 MB / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.291, allocations: 8 kB / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/1.291, allocations: 0 / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/1.291, allocations: 3.984 kB / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/1.296, allocations: 1.543 MB / 1.044 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.296, allocations: 12.09 kB / 1.044 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009717/1.297, allocations: 115.2 kB / 1.044 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-05/1.297, allocations: 8 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/1.297, allocations: 8 kB / 1.044 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/1.297, allocations: 7.938 kB / 1.044 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/1.297, allocations: 8 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.299, allocations: 0.9389 MB / 1.045 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/1.299, allocations: 193.4 kB / 1.046 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.299, allocations: 11.98 kB / 1.046 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/1.3, allocations: 67.88 kB / 1.046 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.301, allocations: 62.27 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/1.301, allocations: 31.8 kB / 1.046 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000504/1.301, allocations: 266.5 kB / 1.046 GB, free: 9.984 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/1.301, allocations: 4 kB / 1.046 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001413/1.303, allocations: 246.8 kB / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/1.306, allocations: 2.926 MB / 1.049 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002086/1.308, allocations: 0.6405 MB / 1.05 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.308, allocations: 0 / 1.05 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009081/1.309, allocations: 252.3 kB / 1.05 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.31, allocations: 90.84 kB / 1.05 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/1.314, allocations: 1.008 MB / 1.051 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/1.315, allocations: 0.9243 MB / 1.052 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009735/1.316, allocations: 118.6 kB / 1.052 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.317, allocations: 241.4 kB / 1.052 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of SimCode: time 1.613e-06/1.317, allocations: 0 / 1.052 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07853/1.395, allocations: 11.88 MB / 1.064 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/1.396, allocations: 180.5 kB / 1.064 GB, free: 8.039 MB / 0.6823 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_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_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_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_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:224:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[3].attribute.start = mmc_mk_scon("Set point temperatures as a function of the heating loop signal (from -1 to 0) and ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:224:82: error: expected expression Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:225:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:233:83: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[11].attribute.start = mmc_mk_scon("Fan speed as a function of the heating loop signal (from -1 to 0) and ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:234:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:435:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:449:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:465:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:475:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:486:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:524:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:563:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:586:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:610:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:619:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:626:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:636:1: error: expected '}' ^ Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 8 warnings and 13 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1