Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.375/4.375, allocations: 464.6 MB / 476.8 MB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.055e-05/4.061e-05, allocations: 8 kB / 0.5732 GB, free: 5.586 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 107.2 MB / 0.6778 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.396/7.633, allocations: 2.221 GB / 2.899 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/7.633, allocations: 96.81 kB / 2.899 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8098/8.443, allocations: 194.9 MB / 3.089 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.304e-06/8.443, allocations: 0 / 3.089 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001178/8.444, allocations: 91.92 kB / 3.09 GB, free: 43.57 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: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.04636/8.491, allocations: 3.968 MB / 3.093 GB, free: 39.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/8.491, allocations: 12.03 kB / 3.093 GB, free: 39.53 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008053/8.492, allocations: 198.6 kB / 3.094 GB, free: 39.32 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03422/8.526, allocations: 0.6066 MB / 3.094 GB, free: 38.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.297/9.823, allocations: 291.6 MB / 3.379 GB, free: 53.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/9.823, allocations: 126.2 kB / 3.379 GB, free: 53.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005858/9.824, allocations: 172 kB / 3.379 GB, free: 53.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/9.828, allocations: 1.725 MB / 3.381 GB, free: 52.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/9.828, allocations: 2.406 kB / 3.381 GB, free: 52.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/9.829, allocations: 56 kB / 3.381 GB, free: 52.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/9.829, allocations: 32 kB / 3.381 GB, free: 52.01 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/9.833, allocations: 1.771 MB / 3.383 GB, free: 50.53 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.589/11.42, allocations: 258.8 MB / 3.635 GB, free: 156 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005053/11.43, allocations: 1.407 MB / 3.637 GB, free: 154.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/11.43, allocations: 0.7932 MB / 3.638 GB, free: 154 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/11.43, allocations: 36.98 kB / 3.638 GB, free: 154 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002773/11.43, allocations: 0.9073 MB / 3.639 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.27e-06/11.43, allocations: 0 / 3.639 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=105): time 0.0542/11.49, allocations: 2.169 MB / 3.641 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002464/11.49, allocations: 401.2 kB / 3.641 GB, free: 150.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.898/13.39, allocations: 326.6 MB / 3.96 GB, free: 168.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007887/13.39, allocations: 68.11 kB / 3.96 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005671/13.39, allocations: 2.172 MB / 3.962 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/13.39, allocations: 349.8 kB / 3.963 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/13.39, allocations: 36 kB / 3.963 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001439/13.39, allocations: 384.4 kB / 3.963 GB, free: 166 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/13.4, allocations: 1.278 MB / 3.964 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/13.4, allocations: 1.59 MB / 3.966 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/13.4, allocations: 1.604 MB / 3.967 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/13.4, allocations: 4 kB / 3.967 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.04013/13.44, allocations: 3.77 MB / 3.971 GB, free: 158.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002396/13.44, allocations: 169.3 kB / 3.971 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/13.44, allocations: 4 kB / 3.971 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/13.44, allocations: 92.28 kB / 3.971 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/13.45, allocations: 371.9 kB / 3.972 GB, free: 157.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/13.45, allocations: 1.524 MB / 3.973 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03202/13.48, allocations: 0.556 MB / 3.974 GB, free: 155.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007726/13.48, allocations: 117.8 kB / 3.974 GB, free: 155.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * 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.0007195/13.48, allocations: 359.8 kB / 3.974 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03245/13.51, allocations: 466 kB / 3.974 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008628/13.52, allocations: 2.848 MB / 3.977 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/13.52, allocations: 11.75 kB / 3.977 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/13.52, allocations: 0 / 3.977 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/13.52, allocations: 7.797 kB / 3.977 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2978/13.82, allocations: 126.9 MB / 4.101 GB, free: 54.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/13.82, allocations: 3.734 kB / 4.101 GB, free: 54.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/13.82, allocations: 178.2 kB / 4.101 GB, free: 54.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/13.82, allocations: 83.7 kB / 4.102 GB, free: 54.47 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002965/13.83, allocations: 43.97 kB / 4.102 GB, free: 54.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003179/13.83, allocations: 1.535 MB / 4.103 GB, free: 52.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/13.83, allocations: 3.984 kB / 4.103 GB, free: 52.77 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05355/13.88, allocations: 2.577 MB / 4.106 GB, free: 50.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.859/14.74, allocations: 64 MB / 4.168 GB, free: 221.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04138/14.78, allocations: 41.44 kB / 4.168 GB, free: 221.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03155/14.81, allocations: 435.3 kB / 4.169 GB, free: 221.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/14.81, allocations: 81.41 kB / 4.169 GB, free: 221.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/14.81, allocations: 82.56 kB / 4.169 GB, free: 221.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.4871/15.3, allocations: 235.3 MB / 4.399 GB, free: 70.85 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.162e-06/15.3, allocations: 0 / 4.399 GB, free: 70.85 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0501/15.35, allocations: 16.34 MB / 4.414 GB, free: 54.75 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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.04409/15.4, allocations: 4.835 MB / 4.419 GB, free: 51.01 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007601/15.4, allocations: 3.802 MB / 4.423 GB, free: 47.47 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/15.4, allocations: 2.75 kB / 4.423 GB, free: 47.47 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005083/15.41, allocations: 1.662 MB / 4.425 GB, free: 45.93 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03176/15.44, allocations: 0.5455 MB / 4.425 GB, free: 45.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05777/15.5, allocations: 9.8 MB / 4.435 GB, free: 36.87 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005757/15.5, allocations: 3.047 MB / 4.438 GB, free: 34.54 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.06201/15.57, allocations: 32.74 MB / 4.47 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1943/15.76, allocations: 13.85 MB / 4.483 GB, free: 0 / 0.9011 GB Notification: Performance of SimCode: time 1.512e-06/15.76, allocations: 336 / 4.483 GB, free: 0 / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.691/23.45, allocations: 1.544 GB / 6.027 GB, free: 439.7 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/23.45, allocations: 243.8 kB / 6.027 GB, free: 439.4 MB / 1.135 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_WindowRadiation.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_WindowRadiation_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_WindowRadiation_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_WindowRadiation_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1