Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.363/4.363, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.389e-05/4.395e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.243, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.297/7.54, allocations: 2.19 GB / 2.868 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/7.54, allocations: 103 kB / 2.868 GB, free: 257.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2163/7.757, allocations: 57.49 MB / 2.924 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.355e-06/7.757, allocations: 0 / 2.924 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.974e-05/7.757, allocations: 24 kB / 2.924 GB, free: 212.4 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002392/7.759, allocations: 1.033 MB / 2.925 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/7.759, allocations: 8.031 kB / 2.925 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/7.759, allocations: 127 kB / 2.925 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/7.761, allocations: 182.5 kB / 2.925 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/7.762, allocations: 0.6125 MB / 2.926 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/7.762, allocations: 58.94 kB / 2.926 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/7.762, allocations: 77.38 kB / 2.926 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/7.764, allocations: 0.8036 MB / 2.927 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/7.764, allocations: 0 / 2.927 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/7.764, allocations: 38.05 kB / 2.927 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/7.764, allocations: 20 kB / 2.927 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/7.767, allocations: 1.009 MB / 2.928 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005432/7.772, allocations: 2.358 MB / 2.93 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/7.774, allocations: 0.752 MB / 2.931 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/7.774, allocations: 256 kB / 2.931 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/7.774, allocations: 32.09 kB / 2.931 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/7.775, allocations: 407.4 kB / 2.932 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 3.406e-06/7.775, allocations: 0 / 2.932 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.002501/7.778, allocations: 0.6771 MB / 2.932 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/7.778, allocations: 252 kB / 2.932 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/7.779, allocations: 0.5692 MB / 2.933 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/7.779, allocations: 39.64 kB / 2.933 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/7.78, allocations: 364.9 kB / 2.933 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/7.78, allocations: 229.5 kB / 2.934 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/7.78, allocations: 13.69 kB / 2.934 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001277/7.78, allocations: 381.8 kB / 2.934 GB, free: 204 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/7.781, allocations: 196 kB / 2.934 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/7.781, allocations: 299.2 kB / 2.934 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/7.782, allocations: 248.4 kB / 2.935 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/7.782, allocations: 7.875 kB / 2.935 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002376/7.784, allocations: 0.6704 MB / 2.935 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/7.784, allocations: 8 kB / 2.935 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/7.784, allocations: 3.953 kB / 2.935 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/7.785, allocations: 83.95 kB / 2.935 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/7.786, allocations: 143.5 kB / 2.936 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/7.789, allocations: 1.509 MB / 2.937 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/7.79, allocations: 81.88 kB / 2.937 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/7.79, allocations: 31.33 kB / 2.937 GB, free: 201.1 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.0002521/7.79, allocations: 142.5 kB / 2.937 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/7.791, allocations: 75.06 kB / 2.937 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/7.794, allocations: 0.972 MB / 2.938 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/7.794, allocations: 8 kB / 2.938 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/7.794, allocations: 0 / 2.938 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/7.794, allocations: 7.984 kB / 2.938 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/7.799, allocations: 1.852 MB / 2.94 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/7.799, allocations: 0 / 2.94 GB, free: 198.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/7.8, allocations: 151.7 kB / 2.94 GB, free: 198.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008295/7.801, allocations: 88.56 kB / 2.94 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/7.801, allocations: 27.12 kB / 2.94 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/7.803, allocations: 1.536 MB / 2.942 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/7.803, allocations: 0 / 2.942 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/7.806, allocations: 0.8689 MB / 2.943 GB, free: 196.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/7.806, allocations: 283.7 kB / 2.943 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/7.806, allocations: 16 kB / 2.943 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/7.807, allocations: 67.94 kB / 2.943 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/7.808, allocations: 60.7 kB / 2.943 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/7.808, allocations: 35.97 kB / 2.943 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007957/7.808, allocations: 467.2 kB / 2.944 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/7.808, allocations: 0 / 2.944 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00138/7.81, allocations: 327.2 kB / 2.944 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004832/7.815, allocations: 2.337 MB / 2.946 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001856/7.817, allocations: 0.6628 MB / 2.947 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/7.817, allocations: 0 / 2.947 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/7.818, allocations: 464.6 kB / 2.947 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/7.82, allocations: 231 kB / 2.948 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/7.825, allocations: 1.537 MB / 2.949 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/7.826, allocations: 1.019 MB / 2.95 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00133/7.827, allocations: 254 kB / 2.95 GB, free: 188.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006769/7.828, allocations: 347.3 kB / 2.951 GB, free: 188 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/7.828, allocations: 0 / 2.951 GB, free: 188 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07965/7.908, allocations: 30.43 MB / 2.98 GB, free: 157.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/7.908, allocations: 252.6 kB / 2.981 GB, free: 157.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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o] Error 1