Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.363/4.363, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.794e-05, allocations: 0 / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.492/8.741, allocations: 2.472 GB / 3.15 GB, free: 263 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/8.741, allocations: 85.31 kB / 3.15 GB, free: 263 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.89/11.63, allocations: 0.6149 GB / 3.765 GB, free: 40.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/11.63, allocations: 4 kB / 3.765 GB, free: 40.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004032/11.63, allocations: 63.92 kB / 3.765 GB, free: 39.98 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.008355/11.64, allocations: 2.604 MB / 3.768 GB, free: 37.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/11.64, allocations: 12.03 kB / 3.768 GB, free: 37.29 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000657/11.64, allocations: 193.8 kB / 3.768 GB, free: 37.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/11.64, allocations: 460.4 kB / 3.768 GB, free: 36.63 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/11.65, allocations: 2.664 MB / 3.771 GB, free: 33.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/11.66, allocations: 156.3 kB / 3.771 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/11.66, allocations: 124 kB / 3.771 GB, free: 33.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/11.66, allocations: 1.39 MB / 3.773 GB, free: 32.19 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/11.66, allocations: 0 / 3.773 GB, free: 32.19 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/11.66, allocations: 52 kB / 3.773 GB, free: 32.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/11.66, allocations: 46.44 kB / 3.773 GB, free: 32.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/11.66, allocations: 1.102 MB / 3.774 GB, free: 30.99 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/11.68, allocations: 6.552 MB / 3.78 GB, free: 24.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/11.68, allocations: 1.156 MB / 3.781 GB, free: 22.84 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/11.68, allocations: 0.5818 MB / 3.782 GB, free: 22.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/11.68, allocations: 300.2 kB / 3.782 GB, free: 21.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/11.68, allocations: 0.6043 MB / 3.783 GB, free: 21.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.278e-06/11.68, allocations: 0 / 3.783 GB, free: 21.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.004403/11.69, allocations: 1.413 MB / 3.784 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/11.69, allocations: 64.41 kB / 3.784 GB, free: 19.78 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008982/11.7, allocations: 3.565 MB / 3.788 GB, free: 16.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003926/11.7, allocations: 53.7 kB / 3.788 GB, free: 16.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/11.7, allocations: 1.291 MB / 3.789 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/11.7, allocations: 358.9 kB / 3.789 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/11.7, allocations: 24 kB / 3.789 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001133/11.7, allocations: 353.9 kB / 3.79 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/11.7, allocations: 422.5 kB / 3.79 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/11.7, allocations: 0.6693 MB / 3.791 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/11.7, allocations: 0.5226 MB / 3.791 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/11.7, allocations: 0 / 3.791 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004275/11.71, allocations: 1.6 MB / 3.793 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/11.71, allocations: 4 kB / 3.793 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/11.71, allocations: 8 kB / 3.793 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009454/11.71, allocations: 221.4 kB / 3.793 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/11.71, allocations: 235.7 kB / 3.793 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/11.72, allocations: 4.191 MB / 3.797 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/11.72, allocations: 194.8 kB / 3.797 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/11.72, allocations: 52 kB / 3.798 GB, free: 5.629 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 132 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003865/11.72, allocations: 196.7 kB / 3.798 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006699/11.72, allocations: 288.5 kB / 3.798 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/11.72, allocations: 1.55 MB / 3.799 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/11.72, allocations: 12 kB / 3.799 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/11.72, allocations: 4 kB / 3.799 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002932/11.73, allocations: 1.319 MB / 3.801 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.696/12.42, allocations: 3.987 MB / 3.805 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/12.42, allocations: 4.312 kB / 3.805 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/12.42, allocations: 173 kB / 3.805 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/12.43, allocations: 215.2 kB / 3.805 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003325/12.43, allocations: 32.53 kB / 3.805 GB, free: 168 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006848/12.43, allocations: 4.194 MB / 3.809 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/12.43, allocations: 1.688 kB / 3.809 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006686/12.44, allocations: 2.328 MB / 3.811 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/12.44, allocations: 0.6321 MB / 3.812 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009044/12.44, allocations: 33.31 kB / 3.812 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/12.45, allocations: 120.9 kB / 3.812 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/12.45, allocations: 106.4 kB / 3.812 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/12.45, allocations: 46.89 kB / 3.812 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008619/12.46, allocations: 2.817 MB / 3.815 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.92e-07/12.46, allocations: 1.312 kB / 3.815 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005298/12.46, allocations: 0.7812 MB / 3.816 GB, free: 164.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/12.47, allocations: 4.832 MB / 3.821 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004059/12.48, allocations: 1.34 MB / 3.822 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/12.48, allocations: 1.062 kB / 3.822 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002425/12.48, allocations: 0.8453 MB / 3.823 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/12.49, allocations: 0.5476 MB / 3.823 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/12.51, allocations: 5.662 MB / 3.829 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/12.51, allocations: 1.982 MB / 3.831 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002792/12.51, allocations: 445.8 kB / 3.831 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/12.52, allocations: 1.09 MB / 3.832 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of SimCode: time 2.064e-06/12.52, allocations: 5.297 kB / 3.832 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/12.7, allocations: 76.58 MB / 3.907 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/12.7, allocations: 242.7 kB / 3.907 GB, free: 157.9 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain.c:7: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_functions.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_functions.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_functions.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_records.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_records.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_01exo.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_01exo.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_01exo.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_02nls.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_02nls.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_02nls.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_03lsy.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_03lsy.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_03lsy.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_04set.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_04set.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_04set.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_05evt.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_05evt.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_05evt.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_06inz.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_06inz.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_06inz.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_07dly.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_07dly.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_07dly.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_08bnd.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_08bnd.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_08bnd.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_09alg.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_09alg.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_09alg.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_10asr.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_10asr.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_10asr.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_11mix.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_11mix.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_11mix.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_12jac.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_12jac.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_12jac.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_13opt.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_13opt.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_13opt.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_14lnz.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_14lnz.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_14lnz.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_15syn.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_15syn.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_15syn.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_16dae.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_16dae.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_16dae.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_17inl.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_17inl.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_17inl.c:2: In file included from ./Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_init_fmu.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_init_fmu.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:976: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_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:976:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:977:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1944:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1958:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1974:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1984:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1995:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2058:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2122:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2143:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2165:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2174:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2181:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2191:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o' failed make: *** [Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o] Error 1