Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.335/4.335, allocations: 460.5 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.171e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2463, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.129/7.375, allocations: 2.189 GB / 2.861 GB, free: 261.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/7.376, allocations: 83.42 kB / 2.861 GB, free: 261.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2295/7.605, allocations: 61.8 MB / 2.922 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.395e-06/7.605, allocations: 0 / 2.922 GB, free: 228.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.119e-05/7.605, allocations: 27.94 kB / 2.922 GB, free: 228.1 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002281/7.608, allocations: 1.035 MB / 2.923 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/7.608, allocations: 8.031 kB / 2.923 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/7.608, allocations: 125.3 kB / 2.923 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/7.609, allocations: 174.7 kB / 2.923 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/7.611, allocations: 0.5999 MB / 2.924 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/7.611, allocations: 58.5 kB / 2.924 GB, free: 226.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/7.611, allocations: 69.94 kB / 2.924 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/7.613, allocations: 0.8062 MB / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/7.613, allocations: 3.938 kB / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/7.613, allocations: 30.06 kB / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/7.613, allocations: 20 kB / 2.925 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/7.615, allocations: 1.002 MB / 2.926 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/7.621, allocations: 2.394 MB / 2.928 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/7.623, allocations: 0.6725 MB / 2.929 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/7.624, allocations: 253 kB / 2.929 GB, free: 222.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/7.624, allocations: 35.89 kB / 2.929 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000856/7.625, allocations: 404.5 kB / 2.929 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.276e-06/7.625, allocations: 0 / 2.929 GB, free: 221.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002561/7.627, allocations: 0.6768 MB / 2.93 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/7.627, allocations: 247.8 kB / 2.93 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/7.628, allocations: 0.5599 MB / 2.931 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/7.629, allocations: 40.52 kB / 2.931 GB, free: 220.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/7.629, allocations: 362 kB / 2.931 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/7.629, allocations: 225.2 kB / 2.931 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/7.629, allocations: 14.31 kB / 2.931 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001425/7.63, allocations: 380.1 kB / 2.932 GB, free: 219.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/7.63, allocations: 200.6 kB / 2.932 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/7.631, allocations: 303.7 kB / 2.932 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/7.632, allocations: 253.2 kB / 2.932 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/7.632, allocations: 0 / 2.932 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003969/7.636, allocations: 0.6827 MB / 2.933 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/7.636, allocations: 4 kB / 2.933 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/7.636, allocations: 0 / 2.933 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/7.638, allocations: 86.45 kB / 2.933 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/7.64, allocations: 138.6 kB / 2.933 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/7.643, allocations: 1.521 MB / 2.935 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/7.645, allocations: 81.88 kB / 2.935 GB, free: 217 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/7.645, allocations: 27.66 kB / 2.935 GB, free: 217 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 (72): * Single equations (assignments): 71 * 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.0003244/7.645, allocations: 151.5 kB / 2.935 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/7.646, allocations: 79.06 kB / 2.935 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/7.649, allocations: 0.9582 MB / 2.936 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/7.649, allocations: 8 kB / 2.936 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/7.649, allocations: 0 / 2.936 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/7.649, allocations: 7.984 kB / 2.936 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/7.651, allocations: 0.8589 MB / 2.937 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/7.651, allocations: 3.984 kB / 2.937 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/7.652, allocations: 135.1 kB / 2.937 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000836/7.653, allocations: 84.52 kB / 2.937 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/7.653, allocations: 22.42 kB / 2.937 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/7.655, allocations: 1.558 MB / 2.939 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/7.655, allocations: 0 / 2.939 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/7.658, allocations: 0.787 MB / 2.939 GB, free: 213 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/7.658, allocations: 281.8 kB / 2.94 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/7.658, allocations: 21.39 kB / 2.94 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/7.659, allocations: 68.81 kB / 2.94 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/7.659, allocations: 53.7 kB / 2.94 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/7.66, allocations: 31.36 kB / 2.94 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008115/7.66, allocations: 469.3 kB / 2.94 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.21e-07/7.66, allocations: 0 / 2.94 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001305/7.662, allocations: 329.5 kB / 2.941 GB, free: 212 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 (81): * Single equations (assignments): 78 * 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.004642/7.666, allocations: 2.25 MB / 2.943 GB, free: 210 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001912/7.668, allocations: 0.6647 MB / 2.943 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/7.668, allocations: 7.938 kB / 2.943 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/7.669, allocations: 450.9 kB / 2.944 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/7.671, allocations: 227.1 kB / 2.944 GB, free: 209 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/7.677, allocations: 1.507 MB / 2.946 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/7.677, allocations: 1.007 MB / 2.947 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001268/7.679, allocations: 261.8 kB / 2.947 GB, free: 206.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/7.679, allocations: 343.3 kB / 2.947 GB, free: 206 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/7.679, allocations: 0 / 2.947 GB, free: 206 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07796/7.757, allocations: 30.39 MB / 2.977 GB, free: 175.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/7.758, allocations: 238.2 kB / 2.977 GB, free: 175.5 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_SolarGeometry_Examples_ZenithAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_SolarGeometry_Examples_ZenithAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_SolarGeometry_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_SolarGeometry_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o] Error 1