Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.221/4.221, allocations: 460.5 MB / 472.6 MB, free: 5.352 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.581e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.238, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.173/7.411, allocations: 2.219 GB / 2.891 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/7.412, allocations: 90.06 kB / 2.891 GB, free: 252 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.918/9.329, allocations: 383.3 MB / 3.266 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/9.329, allocations: 7.906 kB / 3.266 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001409/9.329, allocations: 31.22 kB / 3.266 GB, free: 219.7 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004504/9.334, allocations: 1.498 MB / 3.267 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/9.334, allocations: 9.562 kB / 3.267 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003967/9.334, allocations: 168.5 kB / 3.267 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/9.338, allocations: 353.8 kB / 3.268 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/9.342, allocations: 1.114 MB / 3.269 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/9.342, allocations: 83.16 kB / 3.269 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/9.342, allocations: 114.5 kB / 3.269 GB, free: 218 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/9.345, allocations: 1.159 MB / 3.27 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/9.345, allocations: 0 / 3.27 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/9.346, allocations: 47.28 kB / 3.27 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/9.346, allocations: 28.12 kB / 3.27 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/9.349, allocations: 1.316 MB / 3.271 GB, free: 217.1 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.009458/9.358, allocations: 3.738 MB / 3.275 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/9.361, allocations: 1.096 MB / 3.276 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009436/9.362, allocations: 407.7 kB / 3.277 GB, free: 214 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000989/9.363, allocations: 420.9 kB / 3.277 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/9.365, allocations: 0.5542 MB / 3.277 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 5.992e-06/9.365, allocations: 3.703 kB / 3.277 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.00359/9.368, allocations: 0.9736 MB / 3.278 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/9.369, allocations: 244.1 kB / 3.279 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/9.37, allocations: 0.7788 MB / 3.279 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/9.37, allocations: 45.7 kB / 3.279 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/9.371, allocations: 0.4958 MB / 3.28 GB, free: 211 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/9.371, allocations: 324.2 kB / 3.28 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/9.371, allocations: 16 kB / 3.28 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/9.372, allocations: 341.9 kB / 3.281 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008186/9.372, allocations: 305.9 kB / 3.281 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009933/9.373, allocations: 461.7 kB / 3.281 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/9.374, allocations: 379.3 kB / 3.282 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/9.374, allocations: 8 kB / 3.282 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003286/9.378, allocations: 0.9889 MB / 3.283 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/9.378, allocations: 8.125 kB / 3.283 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/9.378, allocations: 7.062 kB / 3.283 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/9.379, allocations: 82.5 kB / 3.283 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/9.381, allocations: 207.7 kB / 3.283 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/9.383, allocations: 1.532 MB / 3.284 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/9.385, allocations: 115.1 kB / 3.285 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/9.385, allocations: 47.97 kB / 3.285 GB, free: 206.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003475/9.386, allocations: 160.8 kB / 3.285 GB, free: 205.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/9.386, allocations: 122.4 kB / 3.285 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/9.39, allocations: 1.37 MB / 3.286 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/9.39, allocations: 8 kB / 3.286 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/9.39, allocations: 3.953 kB / 3.286 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/9.39, allocations: 11.92 kB / 3.286 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/9.398, allocations: 2.62 MB / 3.289 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/9.398, allocations: 4 kB / 3.289 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/9.4, allocations: 195.7 kB / 3.289 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008656/9.401, allocations: 88.95 kB / 3.289 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/9.401, allocations: 27.98 kB / 3.289 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/9.404, allocations: 1.559 MB / 3.291 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/9.404, allocations: 7.953 kB / 3.291 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004739/9.409, allocations: 1.744 MB / 3.292 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/9.41, allocations: 367.2 kB / 3.293 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/9.41, allocations: 20 kB / 3.293 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/9.412, allocations: 91.83 kB / 3.293 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/9.412, allocations: 76.91 kB / 3.293 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/9.412, allocations: 39.97 kB / 3.293 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001215/9.413, allocations: 0.6328 MB / 3.293 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/9.413, allocations: 0 / 3.293 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002563/9.416, allocations: 0.5511 MB / 3.294 GB, free: 196 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008747/9.425, allocations: 4.494 MB / 3.298 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002711/9.428, allocations: 0.928 MB / 3.299 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/9.428, allocations: 0 / 3.299 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/9.429, allocations: 0.5722 MB / 3.3 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/9.433, allocations: 463.6 kB / 3.3 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/9.441, allocations: 2.248 MB / 3.303 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/9.442, allocations: 1.165 MB / 3.304 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002284/9.444, allocations: 368.3 kB / 3.304 GB, free: 186 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/9.445, allocations: 495.2 kB / 3.304 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.252e-06/9.445, allocations: 0 / 3.304 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/9.576, allocations: 55.76 MB / 3.359 GB, free: 130.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/9.576, allocations: 213.3 kB / 3.359 GB, free: 130 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' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_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' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_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); ^ In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_functions.o] Error 1