Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.579/4.579, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.486e-05/4.506e-05, allocations: 6.344 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.193/7.435, allocations: 2.197 GB / 2.875 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/7.435, allocations: 81.02 kB / 2.875 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.312/7.747, allocations: 78.59 MB / 2.952 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.033e-06/7.747, allocations: 0 / 2.952 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001074/7.747, allocations: 43.86 kB / 2.952 GB, free: 185.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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00359/7.751, allocations: 1.313 MB / 2.953 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/7.751, allocations: 12.03 kB / 2.953 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003846/7.751, allocations: 167.8 kB / 2.954 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1734/7.925, allocations: 14.26 MB / 2.968 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/7.929, allocations: 1.176 MB / 2.969 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/7.929, allocations: 86.75 kB / 2.969 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007349/7.93, allocations: 110.3 kB / 2.969 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008316/7.938, allocations: 3.028 MB / 2.972 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/7.938, allocations: 3.984 kB / 2.972 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005313/7.939, allocations: 52 kB / 2.972 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/7.939, allocations: 28 kB / 2.972 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/7.952, allocations: 4.544 MB / 2.976 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07719/8.029, allocations: 11.18 MB / 2.987 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/8.04, allocations: 2.712 MB / 2.99 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005134/8.045, allocations: 1.787 MB / 2.992 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00068/8.046, allocations: 0.5983 MB / 2.992 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006085/8.052, allocations: 2.243 MB / 2.994 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 5.3e-06/8.052, allocations: 0 / 2.994 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.01178/8.064, allocations: 3.207 MB / 2.998 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/8.064, allocations: 256.3 kB / 2.998 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/8.065, allocations: 0.6916 MB / 2.998 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007086/8.066, allocations: 49.7 kB / 2.999 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/8.066, allocations: 476.4 kB / 2.999 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/8.067, allocations: 342.9 kB / 2.999 GB, free: 138 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/8.068, allocations: 23.94 kB / 2.999 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001058/8.068, allocations: 341.9 kB / 3 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/8.073, allocations: 1.802 MB / 3.001 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005444/8.078, allocations: 1.944 MB / 3.003 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003607/8.082, allocations: 1.201 MB / 3.005 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/8.082, allocations: 0 / 3.005 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01113/8.093, allocations: 3.406 MB / 3.008 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/8.093, allocations: 8.156 kB / 3.008 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/8.093, allocations: 7.891 kB / 3.008 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009517/8.094, allocations: 88.77 kB / 3.008 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03542/8.13, allocations: 3.32 MB / 3.011 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/8.133, allocations: 1.528 MB / 3.013 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.034/8.167, allocations: 3.124 MB / 3.016 GB, free: 121 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007943/8.168, allocations: 91.83 kB / 3.016 GB, free: 120.9 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.0009878/8.169, allocations: 156.7 kB / 3.016 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/8.169, allocations: 98.78 kB / 3.016 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/8.183, allocations: 3.995 MB / 3.02 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/8.183, allocations: 12 kB / 3.02 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/8.183, allocations: 0 / 3.02 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/8.183, allocations: 11.97 kB / 3.02 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/8.2, allocations: 6.637 MB / 3.026 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/8.2, allocations: 0 / 3.026 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03517/8.236, allocations: 3.32 MB / 3.03 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008813/8.237, allocations: 96.72 kB / 3.03 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007044/8.237, allocations: 79.84 kB / 3.03 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/8.24, allocations: 1.556 MB / 3.031 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/8.24, allocations: 4.031 kB / 3.031 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/8.251, allocations: 3.428 MB / 3.035 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/8.253, allocations: 0.7567 MB / 3.035 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007706/8.254, allocations: 20.06 kB / 3.035 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03375/8.288, allocations: 3.094 MB / 3.039 GB, free: 97.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/8.288, allocations: 80.88 kB / 3.039 GB, free: 97.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006026/8.289, allocations: 91.83 kB / 3.039 GB, free: 97.17 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001134/8.29, allocations: 0.5655 MB / 3.039 GB, free: 96.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.8e-07/8.29, allocations: 0 / 3.039 GB, free: 96.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003457/8.293, allocations: 0.6981 MB / 3.04 GB, free: 95.91 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.01357/8.307, allocations: 4.938 MB / 3.045 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0108/8.318, allocations: 3.904 MB / 3.049 GB, free: 87.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/8.318, allocations: 3.938 kB / 3.049 GB, free: 87.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005605/8.323, allocations: 2.047 MB / 3.051 GB, free: 85.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/8.326, allocations: 265 kB / 3.051 GB, free: 84.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/8.338, allocations: 3.424 MB / 3.054 GB, free: 81.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/8.338, allocations: 1.147 MB / 3.055 GB, free: 80.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006362/8.345, allocations: 0.6914 MB / 3.056 GB, free: 79.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003151/8.348, allocations: 0.5849 MB / 3.057 GB, free: 78.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.263e-06/8.348, allocations: 0 / 3.057 GB, free: 78.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/8.491, allocations: 54.73 MB / 3.11 GB, free: 24.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/8.492, allocations: 223.3 kB / 3.11 GB, free: 24.05 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_HeatTransfer_Windows_Examples_Overhang.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_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_HeatTransfer_Windows_Examples_Overhang_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_functions.o] Error 1