Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001347/0.001348, allocations: 182.8 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001501/0.001501, allocations: 91.34 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.096e-05/6.106e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.048/8.379, allocations: 2.349 GB / 3.329 GB, free: 252.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/8.38, allocations: 92.5 kB / 3.329 GB, free: 252.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1557/8.536, allocations: 64.36 MB / 3.391 GB, free: 188.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/8.536, allocations: 0 / 3.391 GB, free: 188.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001451/8.536, allocations: 28 kB / 3.391 GB, free: 188.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002659/8.538, allocations: 1.225 MB / 3.393 GB, free: 186.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/8.539, allocations: 12.02 kB / 3.393 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/8.539, allocations: 82.53 kB / 3.393 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/8.539, allocations: 138.3 kB / 3.393 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/8.542, allocations: 1.443 MB / 3.394 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/8.543, allocations: 74.69 kB / 3.394 GB, free: 185 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/8.543, allocations: 51.98 kB / 3.394 GB, free: 184.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/8.543, allocations: 479 kB / 3.395 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/8.544, allocations: 7.906 kB / 3.395 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/8.544, allocations: 20 kB / 3.395 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/8.544, allocations: 9.125 kB / 3.395 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/8.544, allocations: 339.8 kB / 3.395 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/8.548, allocations: 2.646 MB / 3.398 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/8.548, allocations: 376.4 kB / 3.398 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/8.549, allocations: 278.2 kB / 3.398 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/8.549, allocations: 4.328 kB / 3.398 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003714/8.549, allocations: 247.1 kB / 3.399 GB, free: 180.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 3.347e-06/8.549, allocations: 0 / 3.399 GB, free: 180.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.001152/8.55, allocations: 0.6074 MB / 3.399 GB, free: 179.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/8.551, allocations: 59.41 kB / 3.399 GB, free: 179.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/8.553, allocations: 1.548 MB / 3.401 GB, free: 178.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/8.553, allocations: 38.64 kB / 3.401 GB, free: 178 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000334/8.553, allocations: 0.5171 MB / 3.401 GB, free: 177.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/8.553, allocations: 150 kB / 3.402 GB, free: 177.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/8.553, allocations: 12 kB / 3.402 GB, free: 177.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/8.553, allocations: 322 kB / 3.402 GB, free: 177 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/8.554, allocations: 161.1 kB / 3.402 GB, free: 176.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/8.554, allocations: 279.3 kB / 3.402 GB, free: 176.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/8.554, allocations: 203 kB / 3.402 GB, free: 176.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/8.554, allocations: 0 / 3.402 GB, free: 176.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001116/8.555, allocations: 0.7036 MB / 3.403 GB, free: 175.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/8.556, allocations: 9.781 kB / 3.403 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/8.556, allocations: 7.953 kB / 3.403 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/8.556, allocations: 134.4 kB / 3.403 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/8.556, allocations: 107.8 kB / 3.403 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/8.559, allocations: 2.352 MB / 3.406 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/8.559, allocations: 91.55 kB / 3.406 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/8.559, allocations: 20 kB / 3.406 GB, free: 172.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/8.559, allocations: 152.2 kB / 3.406 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/8.56, allocations: 122.5 kB / 3.406 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/8.561, allocations: 0.6422 MB / 3.407 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/8.561, allocations: 8 kB / 3.407 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/8.561, allocations: 4 kB / 3.407 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/8.561, allocations: 3.984 kB / 3.407 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/8.563, allocations: 1.663 MB / 3.408 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/8.563, allocations: 7.953 kB / 3.408 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/8.563, allocations: 55.84 kB / 3.408 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003413/8.564, allocations: 161.6 kB / 3.409 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/8.564, allocations: 19.92 kB / 3.409 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002648/8.566, allocations: 3.673 MB / 3.412 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/8.566, allocations: 0 / 3.412 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/8.568, allocations: 0.9011 MB / 3.413 GB, free: 165 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/8.568, allocations: 307.5 kB / 3.413 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/8.568, allocations: 12 kB / 3.413 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/8.569, allocations: 47.91 kB / 3.413 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/8.569, allocations: 59.84 kB / 3.413 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/8.569, allocations: 15.98 kB / 3.413 GB, free: 164.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001378/8.57, allocations: 1.228 MB / 3.415 GB, free: 163.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.57, allocations: 0 / 3.415 GB, free: 163.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001048/8.571, allocations: 303.7 kB / 3.415 GB, free: 163 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/8.574, allocations: 2.274 MB / 3.417 GB, free: 160.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009839/8.575, allocations: 0.5839 MB / 3.418 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/8.575, allocations: 0.875 kB / 3.418 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/8.576, allocations: 0.4963 MB / 3.418 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/8.577, allocations: 181.5 kB / 3.418 GB, free: 159.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/8.58, allocations: 2.283 MB / 3.421 GB, free: 157.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006006/8.581, allocations: 1.173 MB / 3.422 GB, free: 156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000321/8.581, allocations: 148.7 kB / 3.422 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/8.581, allocations: 423.3 kB / 3.422 GB, free: 155.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/8.581, allocations: 4 kB / 3.422 GB, free: 155.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/8.631, allocations: 32.51 MB / 3.454 GB, free: 123.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/8.632, allocations: 224.9 kB / 3.454 GB, free: 122.9 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.c:7: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc: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); ^~~~ ./gc/../meta/../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_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:449:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:449:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:450:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:866:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:880:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:896:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:906:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:917:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:942:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:968:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:980:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:993:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1002:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1009:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1019:1: error: expected '}' ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o] Error 1