Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.251/4.251, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.044e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2584, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.583/7.842, allocations: 2.192 GB / 2.864 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004014/7.842, allocations: 94.38 kB / 2.864 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.265/8.107, allocations: 67.7 MB / 2.93 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/8.107, allocations: 0 / 2.93 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.356e-05/8.107, allocations: 31.94 kB / 2.93 GB, free: 131.5 MB / 0.8698 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.003186/8.111, allocations: 1.195 MB / 2.931 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/8.111, allocations: 16.02 kB / 2.931 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003619/8.111, allocations: 154.9 kB / 2.931 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/8.119, allocations: 0.6617 MB / 2.932 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/8.121, allocations: 0.6728 MB / 2.932 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/8.121, allocations: 71.28 kB / 2.932 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/8.121, allocations: 99.95 kB / 2.933 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/8.124, allocations: 1.142 MB / 2.934 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/8.124, allocations: 3.938 kB / 2.934 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/8.124, allocations: 44 kB / 2.934 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/8.124, allocations: 24 kB / 2.934 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003514/8.128, allocations: 1.436 MB / 2.935 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009297/8.137, allocations: 3.135 MB / 2.938 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/8.14, allocations: 0.9527 MB / 2.939 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/8.141, allocations: 451.1 kB / 2.94 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/8.142, allocations: 474.4 kB / 2.94 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/8.144, allocations: 0.6039 MB / 2.941 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 4.639e-06/8.144, allocations: 4 kB / 2.941 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.003698/8.148, allocations: 0.9776 MB / 2.942 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/8.148, allocations: 240.3 kB / 2.942 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/8.149, allocations: 0.5815 MB / 2.942 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000338/8.15, allocations: 49.7 kB / 2.942 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/8.15, allocations: 408.4 kB / 2.943 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/8.151, allocations: 327.2 kB / 2.943 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/8.151, allocations: 20 kB / 2.943 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001392/8.151, allocations: 386.8 kB / 2.943 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/8.152, allocations: 325.9 kB / 2.944 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/8.153, allocations: 450.4 kB / 2.944 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009765/8.154, allocations: 368.8 kB / 2.945 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/8.154, allocations: 0 / 2.945 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003379/8.157, allocations: 0.9815 MB / 2.946 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/8.157, allocations: 8 kB / 2.946 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/8.157, allocations: 96 / 2.946 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/8.158, allocations: 84.77 kB / 2.946 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/8.161, allocations: 247.6 kB / 2.946 GB, free: 115 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/8.164, allocations: 1.513 MB / 2.947 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/8.166, allocations: 147.2 kB / 2.947 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/8.166, allocations: 35.97 kB / 2.948 GB, free: 113.1 MB / 0.8698 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.0003624/8.167, allocations: 148.9 kB / 2.948 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/8.167, allocations: 86.92 kB / 2.948 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/8.172, allocations: 1.339 MB / 2.949 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/8.172, allocations: 15.94 kB / 2.949 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/8.172, allocations: 0 / 2.949 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/8.172, allocations: 3.984 kB / 2.949 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/8.175, allocations: 1.112 MB / 2.95 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/8.175, allocations: 0 / 2.95 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002604/8.177, allocations: 247.6 kB / 2.95 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008903/8.178, allocations: 84.77 kB / 2.95 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003161/8.179, allocations: 35.92 kB / 2.95 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/8.181, allocations: 1.536 MB / 2.952 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/8.181, allocations: 0 / 2.952 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/8.185, allocations: 1.104 MB / 2.953 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/8.186, allocations: 331.5 kB / 2.953 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/8.186, allocations: 16 kB / 2.953 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/8.188, allocations: 123.9 kB / 2.954 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/8.188, allocations: 72.89 kB / 2.954 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/8.188, allocations: 39.97 kB / 2.954 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000865/8.189, allocations: 483.1 kB / 2.954 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.6e-07/8.189, allocations: 0 / 2.954 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001941/8.191, allocations: 402.9 kB / 2.954 GB, free: 105.7 MB / 0.8698 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.006531/8.198, allocations: 2.582 MB / 2.957 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003253/8.201, allocations: 0.9945 MB / 2.958 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/8.201, allocations: 0 / 2.958 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/8.203, allocations: 0.6302 MB / 2.959 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/8.205, allocations: 239.5 kB / 2.959 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/8.212, allocations: 1.826 MB / 2.961 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/8.213, allocations: 1.067 MB / 2.962 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002611/8.216, allocations: 339 kB / 2.962 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/8.217, allocations: 427.2 kB / 2.962 GB, free: 97.66 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/8.217, allocations: 0 / 2.962 GB, free: 97.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09493/8.312, allocations: 33.93 MB / 2.996 GB, free: 64.01 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/8.312, allocations: 270.6 kB / 2.996 GB, free: 63.67 MB / 0.8698 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_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1