Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.978/3.978, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.228e-05, allocations: 3.281 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2282, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2503/0.4786, allocations: 129.7 MB / 0.7555 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4789, allocations: 75.95 kB / 0.7556 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0676/0.5466, allocations: 13.61 MB / 0.7689 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5466, allocations: 0 / 0.7689 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.787e-05/0.5467, allocations: 21.75 kB / 0.7689 GB, free: 9.5 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002577/0.5493, allocations: 0.9913 MB / 0.7699 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5493, allocations: 8.031 kB / 0.7699 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.5496, allocations: 90.91 kB / 0.77 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5509, allocations: 494.7 kB / 0.7704 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.551, allocations: 20 kB / 0.7705 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5511, allocations: 40 kB / 0.7705 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/0.5524, allocations: 446.6 kB / 0.7709 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5537, allocations: 455.9 kB / 0.7714 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5537, allocations: 0 / 0.7714 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.5538, allocations: 4 kB / 0.7714 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.5539, allocations: 12 kB / 0.7714 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005278/0.5591, allocations: 1.741 MB / 0.7731 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5605, allocations: 433.8 kB / 0.7735 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.561, allocations: 174.1 kB / 0.7737 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.266e-05/0.5611, allocations: 16.42 kB / 0.7737 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007463/0.5618, allocations: 320.2 kB / 0.774 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=54): time 3.206e-06/0.5619, allocations: 0 / 0.774 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54): time 0.00125/0.5631, allocations: 419.5 kB / 0.7744 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.5633, allocations: 251.8 kB / 0.7746 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.5639, allocations: 349.2 kB / 0.775 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.412e-05/0.564, allocations: 29.7 kB / 0.775 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.5644, allocations: 320.3 kB / 0.7753 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.5646, allocations: 157.7 kB / 0.7754 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.5646, allocations: 0 / 0.7754 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5648, allocations: 366.7 kB / 0.7758 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.5653, allocations: 149.1 kB / 0.7759 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/0.566, allocations: 320.2 kB / 0.7762 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.5665, allocations: 173.5 kB / 0.7764 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5665, allocations: 0 / 0.7764 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001281/0.5678, allocations: 466 kB / 0.7768 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.568, allocations: 458 kB / 0.7773 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.568, allocations: 0 / 0.7773 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.5681, allocations: 8 kB / 0.7773 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.5691, allocations: 119.8 kB / 0.7774 GB, free: 428 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.5691, allocations: 7.984 kB / 0.7774 GB, free: 420 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.5702, allocations: 115.5 kB / 0.7775 GB, free: 304 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.5703, allocations: 20 kB / 0.7775 GB, free: 284 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5703, allocations: 4 kB / 0.7775 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5642/1.135, allocations: 368.5 kB / 0.7779 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.135, allocations: 3.156 kB / 0.7779 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.135, allocations: 2.406 kB / 0.7779 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/1.136, allocations: 104.7 kB / 0.778 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.136, allocations: 7.125 kB / 0.778 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009467/1.137, allocations: 87.88 kB / 0.7781 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/1.137, allocations: 18.03 kB / 0.7781 GB, free: 138.4 MB / 0.6511 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 (63): * Single equations (assignments): 63 * 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.00021/1.137, allocations: 124.4 kB / 0.7782 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001063/1.138, allocations: 420.7 kB / 0.7786 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.138, allocations: 56.06 kB / 0.7787 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/1.139, allocations: 0.4943 MB / 0.7792 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.139, allocations: 11.62 kB / 0.7792 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.139, allocations: 0.8438 kB / 0.7792 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.139, allocations: 2.344 kB / 0.7792 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/1.143, allocations: 1.521 MB / 0.7807 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.143, allocations: 8.469 kB / 0.7807 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009397/1.144, allocations: 104.6 kB / 0.7808 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.481e-05/1.144, allocations: 10.53 kB / 0.7808 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/1.144, allocations: 8.984 kB / 0.7808 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/1.144, allocations: 11.89 kB / 0.7808 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.535e-05/1.144, allocations: 11.38 kB / 0.7808 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.146, allocations: 0.927 MB / 0.7817 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/1.146, allocations: 194.3 kB / 0.7819 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.146, allocations: 12.06 kB / 0.7819 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007981/1.147, allocations: 67.95 kB / 0.782 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.147, allocations: 57 kB / 0.782 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/1.147, allocations: 32.73 kB / 0.7821 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004453/1.148, allocations: 271.2 kB / 0.7823 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.31e-07/1.148, allocations: 0 / 0.7823 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001282/1.149, allocations: 246.1 kB / 0.7826 GB, free: 136.8 MB / 0.6511 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 (60): * Single equations (assignments): 57 * 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.002232/1.151, allocations: 2.935 MB / 0.7854 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.153, allocations: 0.6207 MB / 0.786 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.153, allocations: 1.375 kB / 0.786 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/1.154, allocations: 251 kB / 0.7863 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/1.155, allocations: 93.09 kB / 0.7864 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/1.158, allocations: 0.9854 MB / 0.7873 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/1.159, allocations: 0.9201 MB / 0.7882 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008649/1.16, allocations: 115.6 kB / 0.7883 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/1.16, allocations: 231.4 kB / 0.7886 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.16, allocations: 0 / 0.7886 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/1.225, allocations: 11.81 MB / 0.8001 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.225, allocations: 184.1 kB / 0.8003 GB, free: 132.2 MB / 0.6511 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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c In file included from Buildings_6_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_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:221: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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:221:82: error: expected expression Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:222:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:230: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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:231:42: warning: missing terminating '"' character [-Winvalid-pp-token] the cooling loop signal (from 0 to +1)."); ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:429:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:443:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:459:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:469:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:480:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:514:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:549:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:572:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:596:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:605:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:612:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.c:622:1: error: expected '}' ^ Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u_FMU.o] Error 1