Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.618/2.618, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001492/0.001492, allocations: 192.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.383/2.383, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001045/0.001044, allocations: 100.5 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.473e-05, allocations: 0 / 0.8508 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.7997, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/1.048, allocations: 142.8 MB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.049, allocations: 76.64 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0626/1.111, allocations: 13.99 MB / 1.117 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.843e-06/1.111, allocations: 0 / 1.117 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.983e-05/1.112, allocations: 16 kB / 1.117 GB, free: 15.67 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.00289/1.114, allocations: 1.016 MB / 1.118 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/1.114, allocations: 8.031 kB / 1.118 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/1.115, allocations: 98.83 kB / 1.118 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.116, allocations: 498.6 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/1.116, allocations: 27.98 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/1.117, allocations: 47 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001478/1.118, allocations: 462.6 kB / 1.119 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/1.12, allocations: 479.9 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.12, allocations: 0 / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/1.12, allocations: 7.953 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.12, allocations: 16 kB / 1.119 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005947/1.126, allocations: 1.804 MB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.127, allocations: 472.9 kB / 1.121 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/1.128, allocations: 170.2 kB / 1.121 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/1.128, allocations: 8.422 kB / 1.122 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007792/1.129, allocations: 337.8 kB / 1.122 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=56): time 3.327e-06/1.129, allocations: 0 / 1.122 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56): time 0.001349/1.13, allocations: 430.5 kB / 1.122 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/1.13, allocations: 251.8 kB / 1.122 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/1.131, allocations: 357.1 kB / 1.123 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/1.131, allocations: 37.69 kB / 1.123 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/1.132, allocations: 340.1 kB / 1.123 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/1.132, allocations: 157.6 kB / 1.123 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/1.132, allocations: 0 / 1.123 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.132, allocations: 366.8 kB / 1.124 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/1.132, allocations: 149.1 kB / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/1.133, allocations: 321.5 kB / 1.124 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/1.134, allocations: 193.6 kB / 1.124 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.134, allocations: 0 / 1.124 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001393/1.135, allocations: 472.6 kB / 1.125 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/1.135, allocations: 455.6 kB / 1.125 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.135, allocations: 0 / 1.125 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/1.136, allocations: 4 kB / 1.125 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.137, allocations: 119.8 kB / 1.125 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/1.137, allocations: 7.984 kB / 1.125 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.138, allocations: 115.5 kB / 1.125 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/1.138, allocations: 21.22 kB / 1.125 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.138, allocations: 7.953 kB / 1.125 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/1.139, allocations: 382.8 kB / 1.126 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.139, allocations: 0 / 1.126 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.139, allocations: 11.92 kB / 1.126 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/1.14, allocations: 103.9 kB / 1.126 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.14, allocations: 4 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/1.141, allocations: 83.72 kB / 1.126 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/1.141, allocations: 20 kB / 1.126 GB, free: 5.578 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.0002362/1.141, allocations: 128.6 kB / 1.126 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001172/1.142, allocations: 434.4 kB / 1.127 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.142, allocations: 59.25 kB / 1.127 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/1.144, allocations: 0.5098 MB / 1.127 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.144, allocations: 11 kB / 1.127 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.144, allocations: 0 / 1.127 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.144, allocations: 3.984 kB / 1.127 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/1.148, allocations: 1.559 MB / 1.129 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.148, allocations: 8 kB / 1.129 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/1.149, allocations: 112.4 kB / 1.129 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/1.149, allocations: 15.94 kB / 1.129 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/1.149, allocations: 11.98 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/1.149, allocations: 8 kB / 1.129 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/1.149, allocations: 10.94 kB / 1.129 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.151, allocations: 0.9338 MB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/1.151, allocations: 192.2 kB / 1.13 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.151, allocations: 8 kB / 1.13 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/1.152, allocations: 67.94 kB / 1.13 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.152, allocations: 63.81 kB / 1.13 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/1.152, allocations: 24 kB / 1.13 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004974/1.153, allocations: 275 kB / 1.13 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.81e-07/1.153, allocations: 0 / 1.13 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001294/1.154, allocations: 266.7 kB / 1.131 GB, free: 0.5742 MB / 0.7292 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.00307/1.157, allocations: 2.928 MB / 1.133 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.159, allocations: 0.6382 MB / 1.134 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/1.159, allocations: 8 kB / 1.134 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/1.16, allocations: 264.2 kB / 1.134 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/1.161, allocations: 90.39 kB / 1.134 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/1.165, allocations: 1.019 MB / 1.135 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/1.166, allocations: 0.9361 MB / 1.136 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009682/1.167, allocations: 115.3 kB / 1.136 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/1.167, allocations: 239.3 kB / 1.137 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of SimCode: time 3.677e-06/1.167, allocations: 0 / 1.137 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07021/1.238, allocations: 11.98 MB / 1.148 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003313/1.238, allocations: 187.2 kB / 1.149 GB, free: 14.17 MB / 0.7605 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 8.0.0/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_8_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_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_8_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_8_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_8_0_0_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_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:226:82: error: expected expression Buildings_8_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_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_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:624:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:631:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:641:1: error: expected '}' ^ Buildings_8_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_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1