Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.552/4.552, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.509e-05, allocations: 6.969 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.234/7.469, allocations: 2.197 GB / 2.869 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/7.469, allocations: 86.27 kB / 2.869 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2999/7.769, allocations: 78.37 MB / 2.946 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.774e-06/7.769, allocations: 7.938 kB / 2.946 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001009/7.769, allocations: 28 kB / 2.946 GB, free: 205.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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003799/7.773, allocations: 1.344 MB / 2.947 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/7.773, allocations: 8.031 kB / 2.947 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003513/7.774, allocations: 169.9 kB / 2.947 GB, free: 204 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.216/7.99, allocations: 14.26 MB / 2.961 GB, free: 190 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/7.995, allocations: 1.171 MB / 2.962 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005631/7.995, allocations: 183.2 kB / 2.963 GB, free: 189 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/7.997, allocations: 108.9 kB / 2.963 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/8.01, allocations: 3.037 MB / 2.966 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/8.01, allocations: 3.938 kB / 2.966 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008681/8.011, allocations: 51.31 kB / 2.966 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/8.011, allocations: 28 kB / 2.966 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/8.031, allocations: 4.538 MB / 2.97 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/8.133, allocations: 11.21 MB / 2.981 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/8.143, allocations: 2.716 MB / 2.984 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005147/8.148, allocations: 1.781 MB / 2.985 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/8.149, allocations: 0.5944 MB / 2.986 GB, free: 166 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005891/8.155, allocations: 2.251 MB / 2.988 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 6.002e-06/8.155, allocations: 3.984 kB / 2.988 GB, free: 163.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.01102/8.166, allocations: 3.218 MB / 2.991 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/8.166, allocations: 248.3 kB / 2.992 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/8.168, allocations: 0.6916 MB / 2.992 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007479/8.168, allocations: 45.7 kB / 2.992 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/8.169, allocations: 484.3 kB / 2.993 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008468/8.17, allocations: 335 kB / 2.993 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004709/8.17, allocations: 20 kB / 2.993 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/8.17, allocations: 341.9 kB / 2.993 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004829/8.175, allocations: 1.814 MB / 2.995 GB, free: 156.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/8.18, allocations: 1.94 MB / 2.997 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003608/8.184, allocations: 1.196 MB / 2.998 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/8.184, allocations: 0 / 2.998 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01122/8.195, allocations: 3.426 MB / 3.002 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/8.195, allocations: 11.06 kB / 3.002 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/8.195, allocations: 3.938 kB / 3.002 GB, free: 149.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009511/8.196, allocations: 88.78 kB / 3.002 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04037/8.237, allocations: 3.328 MB / 3.005 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/8.239, allocations: 1.524 MB / 3.006 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03397/8.273, allocations: 3.124 MB / 3.01 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008444/8.274, allocations: 91.83 kB / 3.01 GB, free: 141.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (116): * Single equations (assignments): 115 * 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.001139/8.276, allocations: 168.8 kB / 3.01 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007804/8.276, allocations: 94.78 kB / 3.01 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/8.291, allocations: 4.002 MB / 3.014 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/8.291, allocations: 12 kB / 3.014 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/8.291, allocations: 0 / 3.014 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/8.291, allocations: 11.94 kB / 3.014 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/8.31, allocations: 6.641 MB / 3.02 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/8.31, allocations: 0 / 3.02 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03519/8.345, allocations: 3.332 MB / 3.024 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000879/8.346, allocations: 88.77 kB / 3.024 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000787/8.347, allocations: 87.83 kB / 3.024 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/8.349, allocations: 1.548 MB / 3.025 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/8.349, allocations: 0 / 3.025 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/8.36, allocations: 3.432 MB / 3.029 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/8.363, allocations: 0.7645 MB / 3.029 GB, free: 121 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008941/8.364, allocations: 27.94 kB / 3.029 GB, free: 121 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03387/8.398, allocations: 3.094 MB / 3.032 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/8.398, allocations: 96.81 kB / 3.032 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006345/8.399, allocations: 91.83 kB / 3.033 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001087/8.4, allocations: 0.5655 MB / 3.033 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/8.4, allocations: 0 / 3.033 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003284/8.403, allocations: 0.6709 MB / 3.034 GB, free: 116.5 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 (123): * Single equations (assignments): 120 * 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.01366/8.417, allocations: 4.958 MB / 3.039 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.011/8.428, allocations: 3.9 MB / 3.042 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/8.428, allocations: 4.125 kB / 3.042 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005668/8.434, allocations: 2.051 MB / 3.044 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/8.436, allocations: 265.4 kB / 3.045 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/8.448, allocations: 3.424 MB / 3.048 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/8.448, allocations: 1.147 MB / 3.049 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005985/8.454, allocations: 0.6914 MB / 3.05 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003191/8.458, allocations: 0.5849 MB / 3.05 GB, free: 99.48 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/8.458, allocations: 0 / 3.05 GB, free: 99.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1767/8.634, allocations: 54.82 MB / 3.104 GB, free: 44.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/8.635, allocations: 225.9 kB / 3.104 GB, free: 44.5 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_HeatTransfer_Windows_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_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_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_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_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_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_HeatTransfer_Windows_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1