Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.217/4.217, allocations: 460.4 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.671e-05/4.674e-05, allocations: 12 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.312/7.548, allocations: 2.196 GB / 2.868 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/7.549, allocations: 87.52 kB / 2.868 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3222/7.871, allocations: 83.13 MB / 2.949 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.485e-06/7.871, allocations: 0 / 2.949 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001063/7.871, allocations: 35.94 kB / 2.949 GB, free: 202 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003782/7.875, allocations: 1.33 MB / 2.95 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/7.875, allocations: 12.03 kB / 2.95 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003395/7.875, allocations: 171.7 kB / 2.951 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1486/8.024, allocations: 14.25 MB / 2.964 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00365/8.028, allocations: 1.032 MB / 2.965 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004819/8.028, allocations: 178.8 kB / 2.966 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009117/8.029, allocations: 112.1 kB / 2.966 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00813/8.037, allocations: 2.819 MB / 2.969 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/8.037, allocations: 3.938 kB / 2.969 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005003/8.038, allocations: 49 kB / 2.969 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/8.038, allocations: 28 kB / 2.969 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/8.051, allocations: 4.098 MB / 2.973 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07269/8.123, allocations: 10.1 MB / 2.982 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009945/8.133, allocations: 2.378 MB / 2.985 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/8.138, allocations: 1.511 MB / 2.986 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/8.139, allocations: 0.5983 MB / 2.987 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00532/8.144, allocations: 1.97 MB / 2.989 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=101): time 4.658e-06/8.144, allocations: 0 / 2.989 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=101): time 0.01044/8.155, allocations: 2.789 MB / 2.992 GB, free: 160.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/8.155, allocations: 248.3 kB / 2.992 GB, free: 160 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/8.156, allocations: 0.6679 MB / 2.992 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006999/8.157, allocations: 49.7 kB / 2.992 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/8.157, allocations: 472.3 kB / 2.993 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007652/8.158, allocations: 339 kB / 2.993 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/8.159, allocations: 20 kB / 2.993 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001572/8.159, allocations: 398.6 kB / 2.994 GB, free: 158 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004496/8.163, allocations: 1.58 MB / 2.995 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005057/8.168, allocations: 1.714 MB / 2.997 GB, free: 154.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003406/8.172, allocations: 1.059 MB / 2.998 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/8.172, allocations: 0 / 2.998 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01078/8.183, allocations: 3.051 MB / 3.001 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/8.183, allocations: 4 kB / 3.001 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/8.183, allocations: 3.984 kB / 3.001 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/8.184, allocations: 84.84 kB / 3.001 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03513/8.219, allocations: 3.332 MB / 3.004 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/8.222, allocations: 1.52 MB / 3.006 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03381/8.255, allocations: 3.124 MB / 3.009 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008657/8.256, allocations: 91.83 kB / 3.009 GB, free: 142.3 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 (114): * Single equations (assignments): 113 * 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.0009068/8.257, allocations: 152.8 kB / 3.009 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00071/8.258, allocations: 102.8 kB / 3.009 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01857/8.277, allocations: 3.564 MB / 3.013 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/8.277, allocations: 12 kB / 3.013 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/8.277, allocations: 0 / 3.013 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.365e-05/8.277, allocations: 7.969 kB / 3.013 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0262/8.303, allocations: 5.492 MB / 3.018 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/8.303, allocations: 0 / 3.018 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04851/8.352, allocations: 3.328 MB / 3.021 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/8.353, allocations: 84.72 kB / 3.021 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009917/8.354, allocations: 83.83 kB / 3.021 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0035/8.357, allocations: 1.552 MB / 3.023 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/8.358, allocations: 0 / 3.023 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01578/8.373, allocations: 3.01 MB / 3.026 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/8.376, allocations: 0.6356 MB / 3.026 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009669/8.377, allocations: 24 kB / 3.026 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03345/8.411, allocations: 3.09 MB / 3.029 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/8.411, allocations: 92.75 kB / 3.03 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000647/8.412, allocations: 91.83 kB / 3.03 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001132/8.413, allocations: 0.5421 MB / 3.03 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.21e-07/8.413, allocations: 0 / 3.03 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003717/8.417, allocations: 0.6825 MB / 3.031 GB, free: 119.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 (121): * Single equations (assignments): 118 * 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.01361/8.43, allocations: 4.522 MB / 3.035 GB, free: 115 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01056/8.441, allocations: 3.407 MB / 3.039 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/8.441, allocations: 0 / 3.039 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00568/8.447, allocations: 1.778 MB / 3.04 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/8.449, allocations: 247.9 kB / 3.041 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/8.462, allocations: 3.119 MB / 3.044 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/8.462, allocations: 1.147 MB / 3.045 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006602/8.469, allocations: 0.6832 MB / 3.045 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00339/8.472, allocations: 0.5693 MB / 3.046 GB, free: 104 MB / 0.8855 GB Notification: Performance of SimCode: time 1.924e-06/8.472, allocations: 0 / 3.046 GB, free: 104 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/8.618, allocations: 51.82 MB / 3.097 GB, free: 52.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/8.618, allocations: 243.1 kB / 3.097 GB, free: 52 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_BaseClasses_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o] Error 1