Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.356/4.356, allocations: 464.6 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.583e-05/4.6e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2463, allocations: 107.1 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.142/7.388, allocations: 2.22 GB / 2.898 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/7.389, allocations: 88.02 kB / 2.898 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.949/9.337, allocations: 383.3 MB / 3.272 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.023e-06/9.337, allocations: 0 / 3.272 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001306/9.338, allocations: 34.66 kB / 3.272 GB, free: 203.1 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.004019/9.342, allocations: 1.497 MB / 3.273 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/9.342, allocations: 12.03 kB / 3.273 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000301/9.342, allocations: 165 kB / 3.274 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/9.345, allocations: 355.1 kB / 3.274 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/9.349, allocations: 1.111 MB / 3.275 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/9.349, allocations: 78.22 kB / 3.275 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/9.35, allocations: 112.3 kB / 3.275 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/9.352, allocations: 1.165 MB / 3.276 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/9.353, allocations: 4 kB / 3.276 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/9.353, allocations: 51.98 kB / 3.276 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/9.353, allocations: 28 kB / 3.276 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/9.356, allocations: 1.308 MB / 3.278 GB, free: 197.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.008872/9.365, allocations: 3.75 MB / 3.281 GB, free: 193.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/9.367, allocations: 1.086 MB / 3.282 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008879/9.368, allocations: 403.6 kB / 3.283 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009686/9.369, allocations: 423.5 kB / 3.283 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/9.371, allocations: 0.5621 MB / 3.284 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 3.706e-06/9.371, allocations: 0 / 3.284 GB, free: 190.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.003622/9.374, allocations: 0.9682 MB / 3.285 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/9.374, allocations: 244.1 kB / 3.285 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/9.376, allocations: 0.7789 MB / 3.286 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002561/9.376, allocations: 41.7 kB / 3.286 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/9.377, allocations: 0.5041 MB / 3.286 GB, free: 188 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/9.377, allocations: 330.9 kB / 3.287 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/9.377, allocations: 16 kB / 3.287 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/9.378, allocations: 338 kB / 3.287 GB, free: 187.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/9.378, allocations: 309.9 kB / 3.287 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009852/9.379, allocations: 453.8 kB / 3.288 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009661/9.38, allocations: 387.7 kB / 3.288 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/9.38, allocations: 3.172 kB / 3.288 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003419/9.384, allocations: 0.993 MB / 3.289 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/9.384, allocations: 4 kB / 3.289 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/9.384, allocations: 0 / 3.289 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/9.385, allocations: 88.83 kB / 3.289 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/9.387, allocations: 211.6 kB / 3.289 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/9.39, allocations: 1.524 MB / 3.291 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/9.392, allocations: 131 kB / 3.291 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/9.392, allocations: 35.98 kB / 3.291 GB, free: 183.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.0003622/9.392, allocations: 152.9 kB / 3.291 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/9.392, allocations: 110.6 kB / 3.291 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/9.397, allocations: 1.378 MB / 3.292 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/9.397, allocations: 12 kB / 3.292 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/9.397, allocations: 0 / 3.292 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/9.397, allocations: 3.984 kB / 3.292 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/9.404, allocations: 2.642 MB / 3.295 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/9.404, allocations: 0 / 3.295 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/9.406, allocations: 199.7 kB / 3.295 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008228/9.406, allocations: 84.97 kB / 3.295 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/9.407, allocations: 27.98 kB / 3.295 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/9.409, allocations: 1.563 MB / 3.297 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/9.409, allocations: 4 kB / 3.297 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/9.413, allocations: 1.741 MB / 3.299 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009387/9.414, allocations: 355.4 kB / 3.299 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/9.415, allocations: 27.98 kB / 3.299 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/9.416, allocations: 91.84 kB / 3.299 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/9.416, allocations: 80.78 kB / 3.299 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/9.416, allocations: 43.97 kB / 3.299 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001185/9.418, allocations: 0.625 MB / 3.3 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/9.418, allocations: 0 / 3.3 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002348/9.42, allocations: 0.5604 MB / 3.3 GB, free: 173 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.008231/9.428, allocations: 4.492 MB / 3.305 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002565/9.431, allocations: 0.9163 MB / 3.306 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/9.431, allocations: 3.281 kB / 3.306 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/9.432, allocations: 0.58 MB / 3.306 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/9.436, allocations: 467.7 kB / 3.307 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/9.444, allocations: 2.251 MB / 3.309 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/9.444, allocations: 1.163 MB / 3.31 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00214/9.447, allocations: 368.9 kB / 3.31 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/9.448, allocations: 491.2 kB / 3.311 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/9.448, allocations: 0 / 3.311 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/9.58, allocations: 55.76 MB / 3.365 GB, free: 107 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/9.581, allocations: 219.2 kB / 3.365 GB, free: 106.8 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_Outside.o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_functions.o Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_functions.c In file included from Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_Sources_Examples_Outside_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_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_Outside_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_functions.o] Error 1