Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Window,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.573/4.573, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.435e-05, allocations: 0 / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.195/7.436, allocations: 2.242 GB / 2.914 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/7.437, allocations: 89.52 kB / 2.914 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.684/9.121, allocations: 238.8 MB / 3.147 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.485e-06/9.121, allocations: 3.969 kB / 3.147 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001307/9.123, allocations: 125 kB / 3.147 GB, free: 196.2 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.05302/9.176, allocations: 5.549 MB / 3.153 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/9.176, allocations: 11.44 kB / 3.153 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001644/9.177, allocations: 353.4 kB / 3.153 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09434/9.272, allocations: 5.205 MB / 3.158 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7033/9.975, allocations: 293.5 MB / 3.445 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/9.976, allocations: 212.8 kB / 3.445 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/9.978, allocations: 290.4 kB / 3.445 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.688/10.67, allocations: 5.123 MB / 3.45 GB, free: 207.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.962e-05/10.67, allocations: 5.438 kB / 3.45 GB, free: 207.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007875/10.67, allocations: 104.2 kB / 3.45 GB, free: 207.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-05/10.67, allocations: 59.59 kB / 3.45 GB, free: 207.8 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/10.68, allocations: 3.986 MB / 3.454 GB, free: 207.8 MB / 0.9011 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 0.8284/11.51, allocations: 269.4 MB / 3.717 GB, free: 68.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008668/11.52, allocations: 3.433 MB / 3.721 GB, free: 65.35 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005543/11.52, allocations: 2.543 MB / 3.723 GB, free: 62.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/11.52, allocations: 93.33 kB / 3.723 GB, free: 62.72 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006425/11.53, allocations: 2.726 MB / 3.726 GB, free: 59.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=201): time 6.202e-06/11.53, allocations: 3.75 kB / 3.726 GB, free: 59.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=201): time 0.05169/11.58, allocations: 6.974 MB / 3.733 GB, free: 52.99 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003722/11.58, allocations: 432.6 kB / 3.733 GB, free: 52.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.823/13.4, allocations: 322.4 MB / 4.048 GB, free: 43.96 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001955/13.41, allocations: 81.27 kB / 4.048 GB, free: 43.88 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.007595/13.41, allocations: 2.884 MB / 4.051 GB, free: 41.54 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/13.42, allocations: 0.664 MB / 4.052 GB, free: 41.03 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/13.42, allocations: 52 kB / 4.052 GB, free: 40.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003514/13.42, allocations: 423.5 kB / 4.052 GB, free: 40.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0137/13.43, allocations: 3.669 MB / 4.056 GB, free: 37.35 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01442/13.45, allocations: 4.203 MB / 4.06 GB, free: 33.46 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/13.46, allocations: 3.676 MB / 4.063 GB, free: 30.29 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/13.46, allocations: 1.406 kB / 4.063 GB, free: 30.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.09309/13.55, allocations: 10.27 MB / 4.073 GB, free: 21.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/13.55, allocations: 3.361 MB / 4.077 GB, free: 17.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08186/13.64, allocations: 11.63 MB / 4.088 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072/14.71, allocations: 50.51 MB / 4.137 GB, free: 204.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/14.72, allocations: 1.216 MB / 4.138 GB, free: 204.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/14.74, allocations: 8.533 MB / 4.147 GB, free: 200.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08906/14.83, allocations: 1.62 MB / 4.148 GB, free: 200.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/14.83, allocations: 184.8 kB / 4.149 GB, free: 200.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/14.83, allocations: 3.781 kB / 4.149 GB, free: 200.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04239/14.87, allocations: 9.301 MB / 4.158 GB, free: 200.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02757/14.9, allocations: 8.472 MB / 4.166 GB, free: 199.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008497/14.91, allocations: 1.494 MB / 4.167 GB, free: 199.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01813/14.93, allocations: 1.465 MB / 4.169 GB, free: 199.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02554/14.95, allocations: 12.98 MB / 4.181 GB, free: 194.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0476/15, allocations: 1.566 MB / 4.183 GB, free: 194.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/15, allocations: 186 kB / 4.183 GB, free: 194.4 MB / 0.9011 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.001673/15, allocations: 400.6 kB / 4.184 GB, free: 194.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03284/15.04, allocations: 0.5991 MB / 4.184 GB, free: 194 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02343/15.06, allocations: 7.902 MB / 4.192 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/15.06, allocations: 18.53 kB / 4.192 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/15.06, allocations: 3.125 kB / 4.192 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.488e-05/15.06, allocations: 9.516 kB / 4.192 GB, free: 193.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3331/15.39, allocations: 135.6 MB / 4.324 GB, free: 131.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08712/15.48, allocations: 10.11 MB / 4.334 GB, free: 121.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007601/15.49, allocations: 0.6221 MB / 4.335 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2918/15.78, allocations: 25.4 MB / 4.36 GB, free: 96.08 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008768/15.78, allocations: 83.92 kB / 4.36 GB, free: 96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/15.79, allocations: 8.463 MB / 4.368 GB, free: 87.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/15.79, allocations: 4.156 kB / 4.368 GB, free: 87.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1215/15.91, allocations: 10.91 MB / 4.379 GB, free: 76.28 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1997/16.11, allocations: 64.61 MB / 4.442 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0432/16.16, allocations: 63.98 kB / 4.442 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04172/16.2, allocations: 1.093 MB / 4.443 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/16.2, allocations: 133.4 kB / 4.443 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005691/16.2, allocations: 139 kB / 4.443 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.103/17.3, allocations: 236.4 MB / 4.674 GB, free: 79.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.242e-06/17.3, allocations: 3.906 kB / 4.674 GB, free: 79.76 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.1033/17.41, allocations: 32.93 MB / 4.706 GB, free: 47.25 MB / 0.9011 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.05979/17.47, allocations: 9.42 MB / 4.715 GB, free: 39.81 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.03436/17.5, allocations: 14.45 MB / 4.729 GB, free: 26.86 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/17.5, allocations: 3.469 kB / 4.729 GB, free: 26.86 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.009715/17.51, allocations: 3.661 MB / 4.733 GB, free: 23.62 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03279/17.54, allocations: 0.8835 MB / 4.734 GB, free: 22.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08039/17.62, allocations: 14 MB / 4.748 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/17.64, allocations: 3.996 MB / 4.751 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.9931/18.63, allocations: 87.61 MB / 4.837 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006766/18.64, allocations: 2.568 MB / 4.84 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.004e-06/18.64, allocations: 0.8438 kB / 4.84 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.11/25.75, allocations: 1.644 GB / 6.483 GB, free: 15.79 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/25.75, allocations: 228.8 kB / 6.483 GB, free: 15.56 MB / 1.12 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_Window.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_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_Window_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_Examples_Window_functions.o] Error 1