Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.906e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2388, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.263/7.502, allocations: 2.242 GB / 2.92 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/7.502, allocations: 93.2 kB / 2.92 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.684/9.186, allocations: 238.8 MB / 3.153 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.394e-06/9.186, allocations: 0 / 3.153 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001248/9.187, allocations: 127.7 kB / 3.154 GB, free: 185.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: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.05229/9.24, allocations: 5.553 MB / 3.159 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/9.24, allocations: 8.594 kB / 3.159 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001497/9.241, allocations: 347.5 kB / 3.159 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09563/9.337, allocations: 5.207 MB / 3.164 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7246/10.06, allocations: 293.8 MB / 3.451 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/10.06, allocations: 224.8 kB / 3.451 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/10.06, allocations: 291.3 kB / 3.452 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/10.08, allocations: 4.242 MB / 3.456 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/10.08, allocations: 0 / 3.456 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/10.09, allocations: 102.7 kB / 3.456 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/10.09, allocations: 66.59 kB / 3.456 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/10.1, allocations: 3.985 MB / 3.46 GB, free: 7.602 MB / 0.9167 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 1.614/11.72, allocations: 271 MB / 3.725 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008954/11.73, allocations: 3.443 MB / 3.728 GB, free: 97.52 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005816/11.73, allocations: 2.536 MB / 3.73 GB, free: 95.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/11.73, allocations: 94.62 kB / 3.731 GB, free: 95.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00667/11.74, allocations: 2.737 MB / 3.733 GB, free: 93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=201): time 6.613e-06/11.74, allocations: 2.844 kB / 3.733 GB, free: 93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=201): time 0.05256/11.79, allocations: 6.98 MB / 3.74 GB, free: 86.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003223/11.79, allocations: 425.3 kB / 3.74 GB, free: 86.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.75/13.54, allocations: 322.6 MB / 4.055 GB, free: 91.42 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/13.54, allocations: 81.7 kB / 4.055 GB, free: 91.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005887/13.55, allocations: 2.886 MB / 4.058 GB, free: 88.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/13.55, allocations: 0.6641 MB / 4.059 GB, free: 88.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009717/13.55, allocations: 52 kB / 4.059 GB, free: 88.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003771/13.55, allocations: 419.5 kB / 4.059 GB, free: 87.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009102/13.56, allocations: 3.673 MB / 4.063 GB, free: 84.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00979/13.57, allocations: 4.2 MB / 4.067 GB, free: 80.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009319/13.58, allocations: 3.67 MB / 4.071 GB, free: 77.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/13.58, allocations: 4 kB / 4.071 GB, free: 77.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.06167/13.64, allocations: 10.27 MB / 4.081 GB, free: 68.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001053/13.64, allocations: 3.364 MB / 4.084 GB, free: 65.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08169/13.73, allocations: 11.63 MB / 4.095 GB, free: 55.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3503/14.08, allocations: 46.7 MB / 4.141 GB, free: 29.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/14.09, allocations: 1.212 MB / 4.142 GB, free: 28.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/14.11, allocations: 8.541 MB / 4.15 GB, free: 20.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04823/14.15, allocations: 1.618 MB / 4.152 GB, free: 19.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/14.16, allocations: 185.6 kB / 4.152 GB, free: 19.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/14.16, allocations: 4 kB / 4.152 GB, free: 19.09 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02844/14.18, allocations: 9.297 MB / 4.161 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02499/14.21, allocations: 8.468 MB / 4.17 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008607/14.22, allocations: 1.5 MB / 4.171 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/14.24, allocations: 1.471 MB / 4.173 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7137/14.95, allocations: 12.96 MB / 4.185 GB, free: 204.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04875/15, allocations: 1.571 MB / 4.187 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/15, allocations: 184.3 kB / 4.187 GB, free: 204.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (257): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001919/15, allocations: 401.3 kB / 4.187 GB, free: 204 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.034/15.04, allocations: 0.5996 MB / 4.188 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.027/15.06, allocations: 7.9 MB / 4.196 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/15.06, allocations: 24.5 kB / 4.196 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/15.06, allocations: 2.125 kB / 4.196 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.133e-05/15.06, allocations: 9.656 kB / 4.196 GB, free: 203.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.349/15.41, allocations: 135.6 MB / 4.328 GB, free: 173.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08688/15.5, allocations: 10.11 MB / 4.338 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007532/15.51, allocations: 0.633 MB / 4.338 GB, free: 171 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2948/15.8, allocations: 25.39 MB / 4.363 GB, free: 159 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009322/15.8, allocations: 84.86 kB / 4.363 GB, free: 158.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/15.82, allocations: 8.463 MB / 4.372 GB, free: 150 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/15.82, allocations: 0 / 4.372 GB, free: 150 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.123/15.94, allocations: 10.9 MB / 4.382 GB, free: 139.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.208/16.15, allocations: 64.62 MB / 4.445 GB, free: 74.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04256/16.19, allocations: 60 kB / 4.445 GB, free: 74.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04317/16.23, allocations: 1.091 MB / 4.447 GB, free: 73.39 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008949/16.23, allocations: 138.9 kB / 4.447 GB, free: 73.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007106/16.23, allocations: 136.9 kB / 4.447 GB, free: 73.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.237/17.47, allocations: 236.4 MB / 4.678 GB, free: 147.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.62e-07/17.47, allocations: 4 kB / 4.678 GB, free: 147.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.1071/17.58, allocations: 32.93 MB / 4.71 GB, free: 115.2 MB / 0.9167 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 (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.06083/17.64, allocations: 9.424 MB / 4.719 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03844/17.68, allocations: 14.45 MB / 4.733 GB, free: 94.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/17.68, allocations: 0 / 4.733 GB, free: 94.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0217/17.7, allocations: 3.663 MB / 4.737 GB, free: 91.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06536/17.76, allocations: 0.8946 MB / 4.738 GB, free: 90.86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07351/17.84, allocations: 13.99 MB / 4.751 GB, free: 78.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008123/17.85, allocations: 3.996 MB / 4.755 GB, free: 75.72 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.2576/18.1, allocations: 87.51 MB / 4.841 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01035/18.11, allocations: 2.566 MB / 4.843 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of SimCode: time 2.284e-06/18.11, allocations: 2.406 kB / 4.843 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.179/26.29, allocations: 1.644 GB / 6.487 GB, free: 122.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/26.29, allocations: 225 kB / 6.487 GB, free: 122.6 MB / 1.151 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_Window.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_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_Window_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_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_Window_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_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_Window_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Window_functions.o] Error 1