Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.306/4.306, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.752e-05/4.754e-05, allocations: 4 kB / 0.5732 GB, free: 5.586 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 107.2 MB / 0.6778 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.81/8.066, allocations: 2.19 GB / 2.868 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/8.067, allocations: 92.14 kB / 2.868 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2337/8.301, allocations: 57.05 MB / 2.924 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/8.301, allocations: 0 / 2.924 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001533/8.301, allocations: 27.98 kB / 2.924 GB, free: 210.9 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003798/8.305, allocations: 1.021 MB / 2.925 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/8.305, allocations: 12.03 kB / 2.925 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004838/8.305, allocations: 118.2 kB / 2.925 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/8.307, allocations: 190.5 kB / 2.925 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/8.31, allocations: 0.61 MB / 2.926 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/8.31, allocations: 56.56 kB / 2.926 GB, free: 209 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/8.31, allocations: 74 kB / 2.926 GB, free: 209 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/8.313, allocations: 0.7988 MB / 2.927 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.4e-05/8.313, allocations: 0 / 2.927 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/8.313, allocations: 30.62 kB / 2.927 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/8.313, allocations: 20 kB / 2.927 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/8.317, allocations: 1.003 MB / 2.928 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008632/8.326, allocations: 2.341 MB / 2.93 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/8.328, allocations: 0.6578 MB / 2.931 GB, free: 205.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/8.329, allocations: 263.8 kB / 2.931 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/8.329, allocations: 32.53 kB / 2.931 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/8.331, allocations: 394.7 kB / 2.931 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 6.262e-06/8.331, allocations: 0 / 2.931 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.003838/8.335, allocations: 0.6724 MB / 2.932 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/8.335, allocations: 244.1 kB / 2.932 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/8.337, allocations: 0.5665 MB / 2.933 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003502/8.337, allocations: 43.02 kB / 2.933 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/8.338, allocations: 369.4 kB / 2.933 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/8.339, allocations: 240 kB / 2.933 GB, free: 203 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/8.339, allocations: 13.94 kB / 2.933 GB, free: 203 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002366/8.339, allocations: 374.2 kB / 2.934 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008225/8.34, allocations: 195.6 kB / 2.934 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/8.341, allocations: 295.5 kB / 2.934 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/8.342, allocations: 248 kB / 2.934 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/8.342, allocations: 0 / 2.934 GB, free: 202.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003513/8.345, allocations: 0.6742 MB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/8.346, allocations: 4 kB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/8.346, allocations: 11.89 kB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/8.347, allocations: 79.91 kB / 2.935 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/8.349, allocations: 131 kB / 2.935 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/8.352, allocations: 1.52 MB / 2.937 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/8.354, allocations: 75.38 kB / 2.937 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/8.354, allocations: 28.98 kB / 2.937 GB, free: 199.8 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 (74): * Single equations (assignments): 73 * 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.0003786/8.355, allocations: 147.9 kB / 2.937 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/8.355, allocations: 78.31 kB / 2.937 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/8.36, allocations: 0.925 MB / 2.938 GB, free: 198.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/8.36, allocations: 12 kB / 2.938 GB, free: 198.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/8.36, allocations: 0 / 2.938 GB, free: 198.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-05/8.36, allocations: 3.984 kB / 2.938 GB, free: 198.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/8.362, allocations: 0.8473 MB / 2.939 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/8.362, allocations: 0 / 2.939 GB, free: 198.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/8.364, allocations: 135.4 kB / 2.939 GB, free: 198 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008861/8.365, allocations: 94.58 kB / 2.939 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/8.365, allocations: 18.42 kB / 2.939 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/8.367, allocations: 1.537 MB / 2.941 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/8.367, allocations: 0 / 2.941 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/8.37, allocations: 0.7812 MB / 2.941 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/8.371, allocations: 282 kB / 2.942 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/8.371, allocations: 17.69 kB / 2.942 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/8.372, allocations: 66.52 kB / 2.942 GB, free: 195.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/8.372, allocations: 64.06 kB / 2.942 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/8.372, allocations: 32.94 kB / 2.942 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008597/8.373, allocations: 465.1 kB / 2.942 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/8.373, allocations: 0 / 2.942 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001562/8.375, allocations: 331.3 kB / 2.943 GB, free: 194.8 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 (82): * Single equations (assignments): 79 * 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.005096/8.38, allocations: 2.234 MB / 2.945 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002106/8.382, allocations: 0.6591 MB / 2.945 GB, free: 192 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/8.382, allocations: 4 kB / 2.945 GB, free: 192 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/8.383, allocations: 440.6 kB / 2.946 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/8.385, allocations: 250.9 kB / 2.946 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006179/8.391, allocations: 1.499 MB / 2.947 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/8.392, allocations: 1.011 MB / 2.948 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001428/8.393, allocations: 253.9 kB / 2.949 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/8.394, allocations: 331.3 kB / 2.949 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/8.394, allocations: 0 / 2.949 GB, free: 188.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/8.5, allocations: 30.16 MB / 2.978 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/8.501, allocations: 265.2 kB / 2.979 GB, free: 157.9 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_DiffuseIsotropic.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o] Error 1