Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.891/1.891, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.0017/0.0017, allocations: 176.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008754/0.0008753, allocations: 97.62 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.331e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6885, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.8819, allocations: 143.9 MB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.8821, allocations: 72.45 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03878/0.9209, allocations: 14 MB / 1.128 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.374e-06/0.921, allocations: 0 / 1.128 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.985e-05/0.9211, allocations: 20 kB / 1.128 GB, free: 8.156 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002332/0.9234, allocations: 1.012 MB / 1.129 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9235, allocations: 11.97 kB / 1.129 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.9239, allocations: 102.8 kB / 1.129 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.925, allocations: 494.7 kB / 1.129 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.9251, allocations: 24 kB / 1.129 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.9252, allocations: 40 kB / 1.129 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000974/0.9262, allocations: 466.6 kB / 1.13 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/0.9272, allocations: 482.5 kB / 1.13 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.9272, allocations: 4 kB / 1.13 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.9272, allocations: 0 / 1.13 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.9273, allocations: 19.95 kB / 1.13 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.9312, allocations: 1.804 MB / 1.132 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.9323, allocations: 465 kB / 1.132 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.9327, allocations: 174.2 kB / 1.133 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.9327, allocations: 12.41 kB / 1.133 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005255/0.9333, allocations: 341.8 kB / 1.133 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 2.424e-06/0.9333, allocations: 0 / 1.133 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.0008405/0.9341, allocations: 430.5 kB / 1.133 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.9343, allocations: 247.9 kB / 1.134 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.9348, allocations: 361 kB / 1.134 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.9349, allocations: 33.64 kB / 1.134 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.9352, allocations: 332.2 kB / 1.134 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.9354, allocations: 169.6 kB / 1.134 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.9355, allocations: 0 / 1.134 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.9357, allocations: 366.7 kB / 1.135 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.936, allocations: 153.1 kB / 1.135 GB, free: 444 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.9365, allocations: 316.3 kB / 1.135 GB, free: 72 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.9368, allocations: 187.3 kB / 1.135 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9369, allocations: 4 kB / 1.135 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007926/0.9377, allocations: 471.4 kB / 1.136 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.9379, allocations: 462.7 kB / 1.136 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.9379, allocations: 0 / 1.136 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.938, allocations: 4 kB / 1.136 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.9385, allocations: 115.9 kB / 1.136 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.9385, allocations: 12.5 kB / 1.136 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.9391, allocations: 115.4 kB / 1.136 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.9392, allocations: 20 kB / 1.137 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.9392, allocations: 4 kB / 1.137 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000681/0.9399, allocations: 378.3 kB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9399, allocations: 5.328 kB / 1.137 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.9399, allocations: 8.094 kB / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.9404, allocations: 107.8 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.9404, allocations: 4 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.9409, allocations: 87.62 kB / 1.137 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.9409, allocations: 16 kB / 1.137 GB, free: 14.08 MB / 0.7448 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 (65): * Single equations (assignments): 65 * 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.0001656/0.9411, allocations: 124.8 kB / 1.137 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006864/0.9418, allocations: 430.5 kB / 1.138 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.9419, allocations: 63.2 kB / 1.138 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.9428, allocations: 0.5157 MB / 1.138 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.9428, allocations: 4 kB / 1.138 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9428, allocations: 0 / 1.138 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.9429, allocations: 5.734 kB / 1.138 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.9454, allocations: 1.554 MB / 1.14 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.9454, allocations: 11.94 kB / 1.14 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.9459, allocations: 111.8 kB / 1.14 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.9459, allocations: 8 kB / 1.14 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.946, allocations: 11.98 kB / 1.14 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.946, allocations: 11.94 kB / 1.14 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.946, allocations: 4.125 kB / 1.14 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.9471, allocations: 0.9416 MB / 1.141 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.9474, allocations: 196.2 kB / 1.141 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.9474, allocations: 8 kB / 1.141 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.9479, allocations: 67.94 kB / 1.141 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.9481, allocations: 67.59 kB / 1.141 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.9481, allocations: 24.94 kB / 1.141 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002983/0.9484, allocations: 275 kB / 1.141 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9484, allocations: 0 / 1.141 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008172/0.9492, allocations: 258.7 kB / 1.142 GB, free: 9.074 MB / 0.7448 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 (62): * Single equations (assignments): 59 * 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.0023/0.9516, allocations: 2.926 MB / 1.145 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.9528, allocations: 0.6431 MB / 1.145 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9528, allocations: 0 / 1.145 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.9533, allocations: 260.6 kB / 1.145 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.9539, allocations: 103.9 kB / 1.145 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.956, allocations: 1.019 MB / 1.146 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.9566, allocations: 0.9283 MB / 1.147 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005042/0.9571, allocations: 114.7 kB / 1.147 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.9575, allocations: 247.3 kB / 1.148 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.9575, allocations: 0 / 1.148 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.9949, allocations: 11.99 MB / 1.159 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.9953, allocations: 181.1 kB / 1.16 GB, free: 6.645 MB / 0.7605 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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_8_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_8_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_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:226: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_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:226:82: error: expected expression Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:227:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:235: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_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:236:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:440:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:454:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:470:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:480:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:491:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:529:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:568:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:591:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:615:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:624:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:631:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:641:1: error: expected '}' ^ Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 8 warnings and 13 errors generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1