Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.5 MB / 257 MB, free: 6.879 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.001198/0.001198, allocations: 168.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008327/0.0008326, allocations: 99.86 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.683e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7101/0.8938, allocations: 138 MB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.8941, allocations: 70.97 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03611/0.9302, allocations: 13.87 MB / 1.034 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9303, allocations: 7.938 kB / 1.034 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.885e-05/0.9303, allocations: 16 kB / 1.034 GB, free: 3.832 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.001548/0.9319, allocations: 1.002 MB / 1.035 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.9319, allocations: 12.03 kB / 1.035 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.9321, allocations: 90.92 kB / 1.035 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.9329, allocations: 0.4883 MB / 1.035 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.9329, allocations: 20 kB / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.726e-05/0.933, allocations: 48 kB / 1.035 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007498/0.9338, allocations: 460.1 kB / 1.036 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/0.9346, allocations: 470.9 kB / 1.036 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.9346, allocations: 0 / 1.036 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.9346, allocations: 3.953 kB / 1.036 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.9347, allocations: 16 kB / 1.036 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.9376, allocations: 1.781 MB / 1.038 GB, free: 188 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.9384, allocations: 443 kB / 1.038 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.9387, allocations: 166.4 kB / 1.039 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.9387, allocations: 8.438 kB / 1.039 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/0.9392, allocations: 339 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=55): time 1.924e-06/0.9392, allocations: 0 / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55): time 0.0007708/0.94, allocations: 430.1 kB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.9401, allocations: 243.6 kB / 1.04 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.9405, allocations: 353.7 kB / 1.04 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.9406, allocations: 29.7 kB / 1.04 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.9408, allocations: 331.3 kB / 1.04 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.9409, allocations: 158.9 kB / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.9409, allocations: 0 / 1.04 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9411, allocations: 374.6 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.9414, allocations: 148.7 kB / 1.041 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.9418, allocations: 314.8 kB / 1.041 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.942, allocations: 188 kB / 1.041 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.942, allocations: 0 / 1.041 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006861/0.9427, allocations: 477.1 kB / 1.042 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.9429, allocations: 453.2 kB / 1.042 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9429, allocations: 3.938 kB / 1.042 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.943, allocations: 4 kB / 1.042 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005101/0.9435, allocations: 117.8 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9435, allocations: 8 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.944, allocations: 111.5 kB / 1.042 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.9441, allocations: 19 kB / 1.042 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.9441, allocations: 5.875 kB / 1.043 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005538/0.9447, allocations: 376.3 kB / 1.043 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.9447, allocations: 4 kB / 1.043 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.9447, allocations: 7.953 kB / 1.043 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.9451, allocations: 103.5 kB / 1.043 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.9451, allocations: 0 / 1.043 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.9456, allocations: 95.25 kB / 1.043 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.9456, allocations: 19.61 kB / 1.043 GB, free: 11.89 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.0001346/0.9458, allocations: 120.8 kB / 1.043 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006036/0.9464, allocations: 432.6 kB / 1.044 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.9465, allocations: 59.3 kB / 1.044 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/0.9473, allocations: 0.5027 MB / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.9473, allocations: 8 kB / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.9473, allocations: 0 / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.9473, allocations: 3.984 kB / 1.044 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.9495, allocations: 1.542 MB / 1.046 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.9495, allocations: 12.09 kB / 1.046 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.95, allocations: 115 kB / 1.046 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.95, allocations: 8 kB / 1.046 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.95, allocations: 11.38 kB / 1.046 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.95, allocations: 4 kB / 1.046 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.9501, allocations: 11.94 kB / 1.046 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.951, allocations: 0.9323 MB / 1.047 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.9513, allocations: 194.2 kB / 1.047 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.9513, allocations: 11.98 kB / 1.047 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.9518, allocations: 59.95 kB / 1.047 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.9519, allocations: 70 kB / 1.047 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.952, allocations: 34.72 kB / 1.047 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000289/0.9523, allocations: 266.5 kB / 1.047 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9523, allocations: 4 kB / 1.047 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00087/0.9532, allocations: 246.7 kB / 1.048 GB, free: 7.883 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.001939/0.9551, allocations: 2.934 MB / 1.05 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009802/0.9561, allocations: 0.6307 MB / 1.051 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9561, allocations: 0 / 1.051 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.9565, allocations: 256.7 kB / 1.051 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.9571, allocations: 93.61 kB / 1.051 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.9589, allocations: 1.005 MB / 1.052 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.9594, allocations: 0.936 MB / 1.053 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000438/0.9599, allocations: 102.7 kB / 1.053 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.9601, allocations: 243.4 kB / 1.054 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of SimCode: time 2.8e-07/0.9601, allocations: 0 / 1.054 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.9933, allocations: 11.88 MB / 1.065 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.9935, allocations: 191.7 kB / 1.065 GB, free: 6.207 MB / 0.6823 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 7.0.3-maint.7.0.x/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_maint_7_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_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_maint_7_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_7_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_7_0_x_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_maint_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:224:82: error: expected expression Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:619:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:626:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:636:1: error: expected '}' ^ Buildings_maint_7_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_7_0_x_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1