Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.44/4.44, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.739e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.193/7.441, allocations: 2.219 GB / 2.897 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/7.441, allocations: 90.14 kB / 2.897 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/9.406, allocations: 394.2 MB / 3.282 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/9.406, allocations: 0 / 3.282 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001473/9.406, allocations: 43.44 kB / 3.282 GB, free: 191.6 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.004496/9.411, allocations: 1.595 MB / 3.284 GB, free: 190 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/9.411, allocations: 12.02 kB / 3.284 GB, free: 190 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004469/9.411, allocations: 190.3 kB / 3.284 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004196/9.415, allocations: 408.3 kB / 3.284 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/9.42, allocations: 1.155 MB / 3.285 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/9.42, allocations: 98.61 kB / 3.285 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/9.42, allocations: 128.3 kB / 3.286 GB, free: 188 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003544/9.424, allocations: 1.373 MB / 3.287 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/9.424, allocations: 7.922 kB / 3.287 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/9.424, allocations: 60 kB / 3.287 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/9.424, allocations: 32 kB / 3.287 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/9.428, allocations: 1.426 MB / 3.288 GB, free: 185 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.01073/9.438, allocations: 4.959 MB / 3.293 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/9.441, allocations: 1.213 MB / 3.294 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009673/9.442, allocations: 436.1 kB / 3.295 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009823/9.443, allocations: 421.2 kB / 3.295 GB, free: 177.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/9.445, allocations: 0.605 MB / 3.296 GB, free: 177 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=98): time 4.158e-06/9.445, allocations: 0 / 3.296 GB, free: 177 MB / 0.8855 GB Notification: Performance of matching and sorting (n=98): time 0.003649/9.448, allocations: 1.011 MB / 3.297 GB, free: 176 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/9.448, allocations: 248.1 kB / 3.297 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/9.45, allocations: 0.7797 MB / 3.298 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/9.45, allocations: 53.7 kB / 3.298 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/9.451, allocations: 0.5661 MB / 3.298 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/9.451, allocations: 331.2 kB / 3.299 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/9.451, allocations: 16 kB / 3.299 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/9.451, allocations: 341.9 kB / 3.299 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008376/9.452, allocations: 321.9 kB / 3.299 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009723/9.453, allocations: 0.516 MB / 3.3 GB, free: 172.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/9.454, allocations: 407.7 kB / 3.3 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/9.454, allocations: 96 / 3.3 GB, free: 172.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003402/9.458, allocations: 1.063 MB / 3.301 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/9.458, allocations: 8 kB / 3.301 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/9.458, allocations: 4 kB / 3.301 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/9.459, allocations: 89.12 kB / 3.301 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/9.461, allocations: 231.7 kB / 3.302 GB, free: 170.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/9.463, allocations: 1.533 MB / 3.303 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/9.465, allocations: 143 kB / 3.303 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/9.466, allocations: 31.98 kB / 3.303 GB, free: 169 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.0003686/9.466, allocations: 179.5 kB / 3.303 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/9.466, allocations: 118.6 kB / 3.304 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/9.47, allocations: 1.306 MB / 3.305 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/9.471, allocations: 15.95 kB / 3.305 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/9.471, allocations: 0 / 3.305 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/9.471, allocations: 3.984 kB / 3.305 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/9.477, allocations: 2.611 MB / 3.307 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/9.477, allocations: 0 / 3.307 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/9.479, allocations: 223.6 kB / 3.308 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008419/9.48, allocations: 84.78 kB / 3.308 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/9.48, allocations: 27.97 kB / 3.308 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/9.482, allocations: 1.556 MB / 3.309 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.482, allocations: 4.062 kB / 3.309 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/9.486, allocations: 1.187 MB / 3.31 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/9.487, allocations: 379.2 kB / 3.311 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/9.487, allocations: 23.95 kB / 3.311 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/9.489, allocations: 107.8 kB / 3.311 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/9.489, allocations: 72.89 kB / 3.311 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/9.489, allocations: 47.97 kB / 3.311 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001185/9.49, allocations: 0.6238 MB / 3.312 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/9.491, allocations: 0 / 3.312 GB, free: 160.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00254/9.493, allocations: 0.5918 MB / 3.312 GB, free: 159.6 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.007446/9.501, allocations: 3.545 MB / 3.316 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002808/9.503, allocations: 0.9748 MB / 3.317 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/9.503, allocations: 0.75 kB / 3.317 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/9.505, allocations: 0.6067 MB / 3.317 GB, free: 154.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/9.509, allocations: 454.7 kB / 3.318 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008758/9.517, allocations: 2.164 MB / 3.32 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008322/9.518, allocations: 1.21 MB / 3.321 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002673/9.521, allocations: 389.1 kB / 3.321 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/9.522, allocations: 0.5188 MB / 3.322 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.884e-06/9.522, allocations: 3.938 kB / 3.322 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/9.659, allocations: 56.83 MB / 3.377 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/9.659, allocations: 233.6 kB / 3.378 GB, free: 92.96 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.o Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o] Error 1