Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.902/1.902, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.0009739/0.0009738, allocations: 176.3 kB / 361.4 MB, free: 6.875 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.665/1.665, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008048/0.0008048, allocations: 100.5 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.157e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7346, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.9494, allocations: 142.9 MB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.9497, allocations: 77.69 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04165/0.9913, allocations: 13.99 MB / 1.118 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9914, allocations: 0 / 1.118 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.394e-05/0.9914, allocations: 16 kB / 1.118 GB, free: 14.84 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.0018/0.9933, allocations: 1.012 MB / 1.119 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.9933, allocations: 15.97 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.9935, allocations: 94.83 kB / 1.119 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009353/0.9945, allocations: 0.4909 MB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/0.9945, allocations: 20 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.9946, allocations: 44 kB / 1.119 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008655/0.9955, allocations: 462.6 kB / 1.12 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.9965, allocations: 479.9 kB / 1.12 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.9966, allocations: 0 / 1.12 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.9966, allocations: 3.984 kB / 1.12 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.9967, allocations: 19.95 kB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/1, allocations: 1.804 MB / 1.122 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.001, allocations: 472.9 kB / 1.123 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/1.001, allocations: 170.2 kB / 1.123 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-05/1.002, allocations: 20.41 kB / 1.123 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/1.002, allocations: 324.2 kB / 1.123 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 2.414e-06/1.002, allocations: 3.938 kB / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.0008275/1.003, allocations: 438.5 kB / 1.123 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.003, allocations: 243.9 kB / 1.124 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/1.004, allocations: 361.1 kB / 1.124 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/1.004, allocations: 29.7 kB / 1.124 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/1.004, allocations: 332.2 kB / 1.124 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/1.004, allocations: 173.5 kB / 1.125 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/1.004, allocations: 0 / 1.125 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.004, allocations: 366.7 kB / 1.125 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/1.005, allocations: 153.1 kB / 1.125 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/1.005, allocations: 324.3 kB / 1.125 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/1.005, allocations: 180.7 kB / 1.126 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.006, allocations: 8 kB / 1.126 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007808/1.006, allocations: 468.8 kB / 1.126 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002865/1.007, allocations: 454.8 kB / 1.126 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.007, allocations: 0 / 1.126 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/1.007, allocations: 4 kB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/1.007, allocations: 123.8 kB / 1.127 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.007, allocations: 4 kB / 1.127 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/1.008, allocations: 123.4 kB / 1.127 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/1.008, allocations: 17.75 kB / 1.127 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/1.008, allocations: 4 kB / 1.127 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000725/1.009, allocations: 379.3 kB / 1.127 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.009, allocations: 5.078 kB / 1.127 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/1.009, allocations: 8.094 kB / 1.127 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/1.009, allocations: 107.8 kB / 1.127 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/1.009, allocations: 4 kB / 1.127 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/1.01, allocations: 87.62 kB / 1.127 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/1.01, allocations: 16 kB / 1.127 GB, free: 4.742 MB / 0.7292 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.0001796/1.01, allocations: 120.8 kB / 1.127 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006989/1.011, allocations: 438.5 kB / 1.128 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/1.011, allocations: 63.2 kB / 1.128 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/1.012, allocations: 0.5084 MB / 1.128 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.012, allocations: 8 kB / 1.128 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.012, allocations: 0 / 1.128 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.012, allocations: 6.984 kB / 1.128 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/1.014, allocations: 1.56 MB / 1.13 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.014, allocations: 7.938 kB / 1.13 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/1.015, allocations: 115.8 kB / 1.13 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/1.015, allocations: 8 kB / 1.13 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/1.015, allocations: 13.56 kB / 1.13 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.015, allocations: 7.984 kB / 1.13 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.015, allocations: 11.94 kB / 1.13 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/1.016, allocations: 0.93 MB / 1.131 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/1.016, allocations: 200.2 kB / 1.131 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/1.016, allocations: 8 kB / 1.131 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/1.017, allocations: 67.94 kB / 1.131 GB, free: 356 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.017, allocations: 71.8 kB / 1.131 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/1.017, allocations: 24 kB / 1.131 GB, free: 260 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000359/1.017, allocations: 275 kB / 1.132 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/1.017, allocations: 0 / 1.132 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008852/1.018, allocations: 246.8 kB / 1.132 GB, free: 15.75 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.002282/1.021, allocations: 2.94 MB / 1.135 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001175/1.022, allocations: 0.636 MB / 1.135 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.022, allocations: 4 kB / 1.135 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/1.022, allocations: 257 kB / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/1.023, allocations: 98.69 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/1.025, allocations: 1.028 MB / 1.137 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/1.026, allocations: 0.9322 MB / 1.138 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005349/1.027, allocations: 118.6 kB / 1.138 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/1.027, allocations: 239.9 kB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/1.027, allocations: 0 / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/1.068, allocations: 11.98 MB / 1.15 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.068, allocations: 193.1 kB / 1.15 GB, free: 13.33 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.0.1-maint.8.0.x/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:226:82: error: expected expression Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:624:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:631:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:641:1: error: expected '}' ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1