Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.568e-05/5.59e-05, allocations: 8 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2455, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.232/7.477, allocations: 2.196 GB / 2.874 GB, free: 253.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/7.477, allocations: 93.5 kB / 2.874 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3258/7.803, allocations: 83.36 MB / 2.955 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.397e-06/7.803, allocations: 4 kB / 2.955 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000121/7.804, allocations: 24 kB / 2.955 GB, free: 181.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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.003602/7.807, allocations: 1.32 MB / 2.957 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/7.807, allocations: 12.03 kB / 2.957 GB, free: 180.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003731/7.808, allocations: 169.3 kB / 2.957 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1741/7.982, allocations: 14.25 MB / 2.971 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003537/7.985, allocations: 1.036 MB / 2.972 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/7.986, allocations: 94.58 kB / 2.972 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009429/7.987, allocations: 117.3 kB / 2.972 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009366/7.996, allocations: 2.812 MB / 2.975 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/7.996, allocations: 0 / 2.975 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009365/7.997, allocations: 48 kB / 2.975 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/7.997, allocations: 24 kB / 2.975 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/8.016, allocations: 4.095 MB / 2.979 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09106/8.107, allocations: 10.09 MB / 2.989 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009575/8.117, allocations: 2.366 MB / 2.991 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004695/8.122, allocations: 1.503 MB / 2.992 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/8.122, allocations: 0.5983 MB / 2.993 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005462/8.128, allocations: 1.97 MB / 2.995 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=101): time 4.739e-06/8.128, allocations: 4 kB / 2.995 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=101): time 0.009712/8.138, allocations: 2.781 MB / 2.998 GB, free: 139 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/8.138, allocations: 248.3 kB / 2.998 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/8.139, allocations: 0.6757 MB / 2.999 GB, free: 138 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004559/8.14, allocations: 45.7 kB / 2.999 GB, free: 138 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/8.14, allocations: 464.4 kB / 2.999 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/8.141, allocations: 343 kB / 2.999 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/8.141, allocations: 19.94 kB / 2.999 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001358/8.141, allocations: 394.7 kB / 3 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/8.145, allocations: 1.58 MB / 3.001 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/8.15, allocations: 1.706 MB / 3.003 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/8.153, allocations: 1.057 MB / 3.004 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/8.153, allocations: 4 kB / 3.004 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.009996/8.163, allocations: 3.054 MB / 3.007 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/8.163, allocations: 4 kB / 3.007 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/8.163, allocations: 8.062 kB / 3.007 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009862/8.164, allocations: 72.78 kB / 3.007 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0369/8.201, allocations: 3.332 MB / 3.01 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/8.204, allocations: 1.508 MB / 3.012 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03395/8.238, allocations: 3.124 MB / 3.015 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007959/8.239, allocations: 87.83 kB / 3.015 GB, free: 121 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.0009075/8.24, allocations: 166.2 kB / 3.015 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005981/8.241, allocations: 90.88 kB / 3.015 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01254/8.253, allocations: 3.553 MB / 3.019 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/8.253, allocations: 12 kB / 3.019 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/8.253, allocations: 3.953 kB / 3.019 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/8.253, allocations: 7.969 kB / 3.019 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/8.269, allocations: 5.496 MB / 3.024 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/8.269, allocations: 0 / 3.024 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03489/8.304, allocations: 3.32 MB / 3.027 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008933/8.304, allocations: 84.77 kB / 3.027 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006244/8.305, allocations: 87.81 kB / 3.027 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002326/8.307, allocations: 1.54 MB / 3.029 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/8.307, allocations: 0 / 3.029 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009945/8.317, allocations: 3.006 MB / 3.032 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/8.32, allocations: 0.6434 MB / 3.033 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007524/8.321, allocations: 20.09 kB / 3.033 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03412/8.355, allocations: 3.086 MB / 3.036 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/8.355, allocations: 84.84 kB / 3.036 GB, free: 99.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006297/8.356, allocations: 95.83 kB / 3.036 GB, free: 99.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001051/8.357, allocations: 0.5421 MB / 3.036 GB, free: 98.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.2e-07/8.357, allocations: 0 / 3.036 GB, free: 98.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003271/8.36, allocations: 0.6942 MB / 3.037 GB, free: 98.24 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.01262/8.373, allocations: 4.528 MB / 3.041 GB, free: 93.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01012/8.383, allocations: 3.392 MB / 3.045 GB, free: 90.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/8.383, allocations: 7.984 kB / 3.045 GB, free: 90.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/8.388, allocations: 1.778 MB / 3.046 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/8.391, allocations: 255.3 kB / 3.047 GB, free: 88.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/8.402, allocations: 3.115 MB / 3.05 GB, free: 85.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/8.403, allocations: 1.145 MB / 3.051 GB, free: 84.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006395/8.409, allocations: 0.6793 MB / 3.052 GB, free: 83.35 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003175/8.412, allocations: 0.5732 MB / 3.052 GB, free: 82.78 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/8.412, allocations: 0 / 3.052 GB, free: 82.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/8.535, allocations: 51.75 MB / 3.103 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/8.535, allocations: 244.4 kB / 3.103 GB, free: 30.84 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_BaseClasses_Examples_Overhang.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_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_BaseClasses_Examples_Overhang_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o] Error 1