Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 180.7 kB / 487.4 MB, free: 5.07 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008819, allocations: 98.14 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.046e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2804, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.881/1.161, allocations: 154.5 MB / 1.357 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.162, allocations: 80.27 kB / 1.357 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03305/1.195, allocations: 13.94 MB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/1.195, allocations: 3.938 kB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.353e-05/1.195, allocations: 15.06 kB / 1.371 GB, free: 33.29 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001585/1.196, allocations: 0.9957 MB / 1.372 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.197, allocations: 7.719 kB / 1.372 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/1.197, allocations: 97.27 kB / 1.372 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/1.197, allocations: 490.5 kB / 1.372 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/1.198, allocations: 23.44 kB / 1.372 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/1.198, allocations: 44.44 kB / 1.372 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007058/1.198, allocations: 464.8 kB / 1.373 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/1.199, allocations: 496.2 kB / 1.373 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/1.199, allocations: 0 / 1.373 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/1.199, allocations: 6.672 kB / 1.373 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/1.199, allocations: 15 kB / 1.373 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/1.202, allocations: 1.809 MB / 1.375 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008693/1.203, allocations: 484.4 kB / 1.375 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/1.203, allocations: 221.5 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/1.203, allocations: 20.17 kB / 1.376 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/1.204, allocations: 330.4 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.184e-06/1.204, allocations: 0 / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0006328/1.204, allocations: 441.7 kB / 1.376 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/1.204, allocations: 250.6 kB / 1.377 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/1.205, allocations: 322.6 kB / 1.377 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/1.205, allocations: 29.08 kB / 1.377 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/1.205, allocations: 322.6 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/1.205, allocations: 173.2 kB / 1.377 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/1.205, allocations: 0 / 1.377 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.205, allocations: 361.1 kB / 1.378 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/1.205, allocations: 145.5 kB / 1.378 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/1.206, allocations: 317.2 kB / 1.378 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/1.206, allocations: 179.8 kB / 1.378 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.206, allocations: 0 / 1.378 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006415/1.207, allocations: 483.9 kB / 1.379 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/1.207, allocations: 450 kB / 1.379 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.207, allocations: 0 / 1.379 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/1.207, allocations: 7.781 kB / 1.379 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/1.207, allocations: 130.3 kB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.207, allocations: 11.73 kB / 1.379 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/1.208, allocations: 112.9 kB / 1.38 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/1.208, allocations: 22.86 kB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/1.208, allocations: 5.719 kB / 1.38 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005245/1.208, allocations: 383 kB / 1.38 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/1.208, allocations: 0 / 1.38 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/1.209, allocations: 3.812 kB / 1.38 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.209, allocations: 115.3 kB / 1.38 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/1.209, allocations: 96 / 1.38 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/1.209, allocations: 89.72 kB / 1.38 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/1.209, allocations: 22.72 kB / 1.38 GB, free: 29.25 MB / 0.8386 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 (69): * Single equations (assignments): 69 * 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.0001417/1.21, allocations: 121.6 kB / 1.38 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005316/1.21, allocations: 442.8 kB / 1.381 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/1.21, allocations: 50.34 kB / 1.381 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/1.211, allocations: 0.5066 MB / 1.381 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.211, allocations: 7.781 kB / 1.381 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.211, allocations: 4 kB / 1.381 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.211, allocations: 3.984 kB / 1.381 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.213, allocations: 1.57 MB / 1.383 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.213, allocations: 4.562 kB / 1.383 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/1.213, allocations: 127.4 kB / 1.383 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.213, allocations: 7.688 kB / 1.383 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/1.213, allocations: 11.69 kB / 1.383 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.213, allocations: 11.62 kB / 1.383 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.213, allocations: 7.797 kB / 1.383 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/1.214, allocations: 0.982 MB / 1.384 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/1.214, allocations: 194.3 kB / 1.384 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/1.214, allocations: 7.688 kB / 1.384 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/1.215, allocations: 70.38 kB / 1.384 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.215, allocations: 72.53 kB / 1.384 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/1.215, allocations: 30.48 kB / 1.384 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002139/1.215, allocations: 247.5 kB / 1.384 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.215, allocations: 0 / 1.384 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00067/1.216, allocations: 254.6 kB / 1.385 GB, free: 26.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 63 * 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.001847/1.218, allocations: 3.115 MB / 1.388 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008904/1.218, allocations: 0.6465 MB / 1.388 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.218, allocations: 0 / 1.388 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/1.219, allocations: 267.4 kB / 1.389 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/1.219, allocations: 92.19 kB / 1.389 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/1.221, allocations: 1.006 MB / 1.39 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/1.222, allocations: 0.9224 MB / 1.391 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003934/1.222, allocations: 107.9 kB / 1.391 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/1.222, allocations: 224.7 kB / 1.391 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.222, allocations: 0 / 1.391 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/1.253, allocations: 11.52 MB / 1.402 GB, free: 17.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/1.254, allocations: 175 kB / 1.402 GB, free: 16.92 MB / 0.8386 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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_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_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_9_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_9_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_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:211: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_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:211:82: error: expected expression Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:212:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:220: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_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:221:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:410:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:424:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:440:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:450:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:461:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:499:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:538:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:561:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:585:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:594:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:601:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:611:1: error: expected '}' ^ Buildings_9_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_9_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1