Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.469/4.469, allocations: 460.5 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.135e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2475, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.657/7.905, allocations: 2.19 GB / 2.862 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/7.905, allocations: 89.67 kB / 2.862 GB, free: 262 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2895/8.194, allocations: 77.88 MB / 2.939 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.966e-06/8.195, allocations: 0 / 2.939 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001111/8.195, allocations: 35.94 kB / 2.939 GB, free: 212.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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002908/8.198, allocations: 1.235 MB / 2.94 GB, free: 211 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/8.198, allocations: 12.03 kB / 2.94 GB, free: 211 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000424/8.198, allocations: 165.4 kB / 2.94 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/8.2, allocations: 229.7 kB / 2.94 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/8.202, allocations: 0.6968 MB / 2.941 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/8.202, allocations: 82.62 kB / 2.941 GB, free: 210 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/8.202, allocations: 108.6 kB / 2.941 GB, free: 210 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/8.205, allocations: 1.059 MB / 2.942 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/8.205, allocations: 0 / 2.942 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/8.205, allocations: 48.56 kB / 2.942 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/8.205, allocations: 24 kB / 2.942 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/8.208, allocations: 1.163 MB / 2.943 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/8.215, allocations: 3.01 MB / 2.946 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/8.216, allocations: 0.7392 MB / 2.947 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/8.217, allocations: 279.4 kB / 2.947 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/8.217, allocations: 28.56 kB / 2.947 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009664/8.218, allocations: 432.8 kB / 2.948 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 3.526e-06/8.218, allocations: 0 / 2.948 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.002663/8.221, allocations: 0.7257 MB / 2.948 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/8.221, allocations: 247.9 kB / 2.949 GB, free: 204 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/8.222, allocations: 0.6391 MB / 2.949 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/8.222, allocations: 42.2 kB / 2.949 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/8.223, allocations: 0.4891 MB / 2.95 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/8.223, allocations: 260.2 kB / 2.95 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/8.223, allocations: 13.44 kB / 2.95 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/8.223, allocations: 330.3 kB / 2.95 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/8.224, allocations: 223 kB / 2.95 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/8.225, allocations: 327.5 kB / 2.951 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/8.225, allocations: 262.2 kB / 2.951 GB, free: 202 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/8.225, allocations: 0 / 2.951 GB, free: 202 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002578/8.228, allocations: 0.7493 MB / 2.952 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/8.228, allocations: 8 kB / 2.952 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/8.228, allocations: 3.953 kB / 2.952 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009764/8.229, allocations: 85.95 kB / 2.952 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/8.23, allocations: 155.6 kB / 2.952 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/8.233, allocations: 1.507 MB / 2.953 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/8.234, allocations: 90.66 kB / 2.954 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/8.235, allocations: 27.98 kB / 2.954 GB, free: 199.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0003027/8.235, allocations: 148.8 kB / 2.954 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/8.235, allocations: 82.97 kB / 2.954 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/8.239, allocations: 1.002 MB / 2.955 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/8.239, allocations: 8 kB / 2.955 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/8.239, allocations: 0 / 2.955 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/8.239, allocations: 3.984 kB / 2.955 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/8.241, allocations: 1.005 MB / 2.956 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/8.241, allocations: 4 kB / 2.956 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/8.242, allocations: 151.8 kB / 2.956 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/8.243, allocations: 80.77 kB / 2.956 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/8.243, allocations: 31.92 kB / 2.956 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/8.245, allocations: 1.536 MB / 2.958 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/8.245, allocations: 4.062 kB / 2.958 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/8.248, allocations: 0.8479 MB / 2.958 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/8.249, allocations: 291.6 kB / 2.959 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/8.249, allocations: 16 kB / 2.959 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/8.25, allocations: 67.94 kB / 2.959 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/8.25, allocations: 60.7 kB / 2.959 GB, free: 194 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.827e-05/8.251, allocations: 39.92 kB / 2.959 GB, free: 193.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000993/8.252, allocations: 0.5148 MB / 2.959 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/8.252, allocations: 0 / 2.959 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001676/8.253, allocations: 378.8 kB / 2.96 GB, free: 193.1 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 (89): * Single equations (assignments): 86 * 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.005284/8.259, allocations: 2.311 MB / 2.962 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002408/8.261, allocations: 0.7097 MB / 2.963 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/8.261, allocations: 0 / 2.963 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/8.262, allocations: 476.7 kB / 2.963 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/8.264, allocations: 255.1 kB / 2.963 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/8.272, allocations: 1.766 MB / 2.965 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/8.273, allocations: 1.102 MB / 2.966 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001553/8.274, allocations: 258.7 kB / 2.966 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009256/8.275, allocations: 447.3 kB / 2.967 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/8.275, allocations: 0 / 2.967 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09332/8.369, allocations: 32.25 MB / 2.998 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/8.369, allocations: 246.9 kB / 2.999 GB, free: 153.4 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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_Examples_DiffuseIsotropic_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o] Error 1