Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.342/4.342, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.965e-05/4.976e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.087/7.36, allocations: 2.219 GB / 2.891 GB, free: 221 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/7.36, allocations: 88.52 kB / 2.891 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2/9.36, allocations: 394.2 MB / 3.276 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.094e-06/9.36, allocations: 4 kB / 3.276 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001621/9.36, allocations: 36 kB / 3.276 GB, free: 186.4 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004859/9.365, allocations: 1.594 MB / 3.277 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/9.365, allocations: 15.97 kB / 3.277 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005028/9.366, allocations: 192.8 kB / 3.278 GB, free: 184.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/9.37, allocations: 401.6 kB / 3.278 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/9.374, allocations: 1.154 MB / 3.279 GB, free: 183 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/9.374, allocations: 98.61 kB / 3.279 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/9.374, allocations: 128 kB / 3.279 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/9.378, allocations: 1.382 MB / 3.281 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/9.378, allocations: 4 kB / 3.281 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/9.378, allocations: 55.98 kB / 3.281 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/9.378, allocations: 32 kB / 3.281 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/9.382, allocations: 1.426 MB / 3.282 GB, free: 179.8 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.01088/9.393, allocations: 4.963 MB / 3.287 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/9.396, allocations: 1.213 MB / 3.288 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009754/9.397, allocations: 435.5 kB / 3.289 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009822/9.398, allocations: 429.2 kB / 3.289 GB, free: 172.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/9.399, allocations: 0.6011 MB / 3.29 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=98): time 4.248e-06/9.399, allocations: 4 kB / 3.29 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=98): time 0.003762/9.403, allocations: 1.003 MB / 3.291 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.575e-05/9.403, allocations: 248.1 kB / 3.291 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/9.405, allocations: 0.7874 MB / 3.292 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/9.405, allocations: 45.7 kB / 3.292 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/9.405, allocations: 0.5661 MB / 3.292 GB, free: 169 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/9.406, allocations: 327.2 kB / 3.292 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/9.406, allocations: 20 kB / 3.292 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/9.406, allocations: 337.9 kB / 3.293 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008616/9.407, allocations: 325.9 kB / 3.293 GB, free: 168 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009931/9.408, allocations: 0.5162 MB / 3.294 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009554/9.409, allocations: 403.3 kB / 3.294 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/9.409, allocations: 0 / 3.294 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003369/9.412, allocations: 1.055 MB / 3.295 GB, free: 166 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/9.412, allocations: 4 kB / 3.295 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/9.412, allocations: 4 kB / 3.295 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009655/9.413, allocations: 93.12 kB / 3.295 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/9.415, allocations: 239.4 kB / 3.295 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/9.418, allocations: 1.533 MB / 3.297 GB, free: 164 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/9.42, allocations: 147 kB / 3.297 GB, free: 163.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/9.42, allocations: 39.98 kB / 3.297 GB, free: 163.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0003754/9.421, allocations: 157.4 kB / 3.297 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003589/9.421, allocations: 118.6 kB / 3.297 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/9.425, allocations: 1.314 MB / 3.299 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/9.425, allocations: 12 kB / 3.299 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/9.425, allocations: 4 kB / 3.299 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/9.425, allocations: 3.984 kB / 3.299 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006591/9.432, allocations: 2.611 MB / 3.301 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/9.432, allocations: 3.984 kB / 3.301 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/9.434, allocations: 219.7 kB / 3.301 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008353/9.435, allocations: 80.78 kB / 3.301 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/9.435, allocations: 31.97 kB / 3.301 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/9.437, allocations: 1.556 MB / 3.303 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/9.437, allocations: 0 / 3.303 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/9.441, allocations: 1.195 MB / 3.304 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/9.442, allocations: 375.2 kB / 3.304 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/9.442, allocations: 20 kB / 3.305 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/9.444, allocations: 111.8 kB / 3.305 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/9.444, allocations: 72.91 kB / 3.305 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/9.445, allocations: 51.45 kB / 3.305 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001191/9.446, allocations: 0.6219 MB / 3.305 GB, free: 155 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/9.446, allocations: 0 / 3.305 GB, free: 155 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002656/9.448, allocations: 0.5925 MB / 3.306 GB, free: 154.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (109): * Single equations (assignments): 106 * 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.007324/9.456, allocations: 3.542 MB / 3.309 GB, free: 150.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002826/9.459, allocations: 0.9717 MB / 3.31 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/9.459, allocations: 8 kB / 3.31 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/9.46, allocations: 0.6104 MB / 3.311 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/9.464, allocations: 458.2 kB / 3.311 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/9.473, allocations: 2.156 MB / 3.313 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/9.473, allocations: 1.213 MB / 3.315 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002572/9.476, allocations: 385.1 kB / 3.315 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/9.477, allocations: 0.5188 MB / 3.316 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/9.477, allocations: 4 kB / 3.316 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/9.605, allocations: 56.83 MB / 3.371 GB, free: 88.03 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/9.605, allocations: 249 kB / 3.371 GB, free: 87.71 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_MassFlowSource_WeatherData.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_MassFlowSource_WeatherData_functions.o Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_MassFlowSource_WeatherData_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_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_MassFlowSource_WeatherData_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o] Error 1