Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.36/4.36, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.751e-05/4.776e-05, allocations: 8 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2676, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.568/7.836, allocations: 2.192 GB / 2.87 GB, free: 255.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/7.836, allocations: 92.31 kB / 2.87 GB, free: 255.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2618/8.098, allocations: 67.71 MB / 2.936 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/8.098, allocations: 0 / 2.936 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001176/8.099, allocations: 28 kB / 2.936 GB, free: 198.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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00392/8.102, allocations: 1.203 MB / 2.937 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/8.103, allocations: 11.97 kB / 2.937 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004492/8.103, allocations: 165.5 kB / 2.937 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007371/8.11, allocations: 0.6577 MB / 2.938 GB, free: 196.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/8.112, allocations: 0.6621 MB / 2.939 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/8.113, allocations: 74.41 kB / 2.939 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/8.113, allocations: 100.8 kB / 2.939 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/8.116, allocations: 1.129 MB / 2.94 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/8.116, allocations: 0 / 2.94 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/8.116, allocations: 47.02 kB / 2.94 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/8.117, allocations: 31.98 kB / 2.94 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/8.121, allocations: 1.435 MB / 2.941 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/8.131, allocations: 3.121 MB / 2.944 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/8.134, allocations: 0.9609 MB / 2.945 GB, free: 191 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/8.135, allocations: 450.7 kB / 2.946 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009778/8.136, allocations: 486 kB / 2.946 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/8.138, allocations: 0.5947 MB / 2.947 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=99): time 5.099e-06/8.138, allocations: 0 / 2.947 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99): time 0.003731/8.142, allocations: 0.9707 MB / 2.948 GB, free: 189.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/8.142, allocations: 254.6 kB / 2.948 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/8.143, allocations: 0.5826 MB / 2.949 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003424/8.143, allocations: 42.45 kB / 2.949 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/8.144, allocations: 415.8 kB / 2.949 GB, free: 188 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/8.144, allocations: 326.4 kB / 2.949 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/8.144, allocations: 15.69 kB / 2.949 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001585/8.144, allocations: 386.1 kB / 2.95 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/8.145, allocations: 329.1 kB / 2.95 GB, free: 187 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/8.147, allocations: 454.3 kB / 2.951 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/8.148, allocations: 368.8 kB / 2.951 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/8.148, allocations: 0 / 2.951 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003529/8.151, allocations: 0.9777 MB / 2.952 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/8.151, allocations: 4 kB / 2.952 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/8.151, allocations: 0 / 2.952 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009886/8.152, allocations: 96.75 kB / 2.952 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/8.155, allocations: 239.6 kB / 2.952 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/8.158, allocations: 1.521 MB / 2.954 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/8.16, allocations: 139.3 kB / 2.954 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/8.16, allocations: 43.97 kB / 2.954 GB, free: 183 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0003835/8.161, allocations: 148.9 kB / 2.954 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/8.161, allocations: 86.91 kB / 2.954 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/8.166, allocations: 1.335 MB / 2.955 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/8.166, allocations: 8 kB / 2.955 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/8.166, allocations: 0 / 2.955 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/8.166, allocations: 7.984 kB / 2.955 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/8.168, allocations: 1.12 MB / 2.956 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/8.168, allocations: 0 / 2.956 GB, free: 180.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/8.172, allocations: 239.6 kB / 2.957 GB, free: 180 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/8.173, allocations: 92.77 kB / 2.957 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003372/8.173, allocations: 23.98 kB / 2.957 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/8.177, allocations: 1.548 MB / 2.958 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/8.177, allocations: 3.953 kB / 2.958 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/8.182, allocations: 1.096 MB / 2.959 GB, free: 177.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/8.184, allocations: 319.5 kB / 2.96 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/8.184, allocations: 27.94 kB / 2.96 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/8.187, allocations: 119.9 kB / 2.96 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004217/8.188, allocations: 72.89 kB / 2.96 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002542/8.188, allocations: 43.97 kB / 2.96 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001372/8.189, allocations: 471.2 kB / 2.96 GB, free: 176 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.02e-07/8.189, allocations: 4 kB / 2.96 GB, free: 176 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002746/8.192, allocations: 410.9 kB / 2.961 GB, free: 175.6 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.00946/8.202, allocations: 2.584 MB / 2.963 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004523/8.206, allocations: 0.9908 MB / 2.964 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/8.206, allocations: 4 kB / 2.964 GB, free: 172.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/8.209, allocations: 0.6263 MB / 2.965 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/8.212, allocations: 245.3 kB / 2.965 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/8.222, allocations: 1.822 MB / 2.967 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/8.223, allocations: 1.075 MB / 2.968 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003681/8.227, allocations: 334.9 kB / 2.968 GB, free: 168 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/8.229, allocations: 419.2 kB / 2.969 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/8.229, allocations: 0 / 2.969 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/8.359, allocations: 33.95 MB / 3.002 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/8.36, allocations: 267.4 kB / 3.002 GB, free: 133.6 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_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1