Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.299/4.299, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.824e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.286/7.522, allocations: 2.189 GB / 2.861 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/7.523, allocations: 91.69 kB / 2.861 GB, free: 261.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2228/7.745, allocations: 56.9 MB / 2.917 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.434e-06/7.746, allocations: 0 / 2.917 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.531e-05/7.746, allocations: 16 kB / 2.917 GB, free: 232.8 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00251/7.748, allocations: 1.023 MB / 2.918 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/7.748, allocations: 15.97 kB / 2.918 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/7.749, allocations: 121 kB / 2.918 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/7.75, allocations: 178.6 kB / 2.918 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/7.751, allocations: 0.5974 MB / 2.919 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/7.752, allocations: 60.44 kB / 2.919 GB, free: 231 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/7.752, allocations: 72.69 kB / 2.919 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/7.754, allocations: 0.7842 MB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/7.754, allocations: 7.953 kB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/7.754, allocations: 34.88 kB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/7.754, allocations: 16 kB / 2.92 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/7.756, allocations: 0.9936 MB / 2.921 GB, free: 229.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005766/7.762, allocations: 2.335 MB / 2.923 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/7.764, allocations: 0.7411 MB / 2.924 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/7.764, allocations: 250.2 kB / 2.924 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/7.764, allocations: 35.95 kB / 2.924 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008621/7.765, allocations: 390.1 kB / 2.924 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.787e-06/7.765, allocations: 4 kB / 2.924 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002582/7.768, allocations: 0.6569 MB / 2.925 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/7.768, allocations: 247.8 kB / 2.925 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/7.769, allocations: 0.5513 MB / 2.926 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000218/7.77, allocations: 36.64 kB / 2.926 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/7.77, allocations: 366 kB / 2.926 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/7.77, allocations: 225.3 kB / 2.926 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/7.77, allocations: 15.12 kB / 2.926 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001297/7.77, allocations: 372.8 kB / 2.927 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/7.771, allocations: 188.5 kB / 2.927 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/7.771, allocations: 298.8 kB / 2.927 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/7.772, allocations: 238.7 kB / 2.927 GB, free: 224 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/7.772, allocations: 0 / 2.927 GB, free: 224 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00243/7.775, allocations: 0.6598 MB / 2.928 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/7.775, allocations: 8 kB / 2.928 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/7.775, allocations: 0 / 2.928 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/7.776, allocations: 83.77 kB / 2.928 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/7.777, allocations: 131.6 kB / 2.928 GB, free: 223.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/7.779, allocations: 1.521 MB / 2.93 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/7.781, allocations: 81.12 kB / 2.93 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/7.781, allocations: 23.55 kB / 2.93 GB, free: 221.7 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.0002797/7.781, allocations: 144.7 kB / 2.93 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/7.781, allocations: 79.05 kB / 2.93 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/7.785, allocations: 0.9232 MB / 2.931 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/7.785, allocations: 8 kB / 2.931 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/7.785, allocations: 3.938 kB / 2.931 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/7.785, allocations: 3.984 kB / 2.931 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/7.789, allocations: 1.799 MB / 2.933 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/7.789, allocations: 0 / 2.933 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/7.791, allocations: 143 kB / 2.933 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/7.792, allocations: 84.3 kB / 2.933 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/7.792, allocations: 21.98 kB / 2.933 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/7.796, allocations: 1.543 MB / 2.935 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/7.796, allocations: 0 / 2.935 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003685/7.799, allocations: 0.8479 MB / 2.935 GB, free: 216.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/7.8, allocations: 272.7 kB / 2.936 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/7.801, allocations: 14.94 kB / 2.936 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/7.802, allocations: 71.31 kB / 2.936 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/7.802, allocations: 56.08 kB / 2.936 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/7.802, allocations: 27.61 kB / 2.936 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001172/7.804, allocations: 465.1 kB / 2.936 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.42e-07/7.804, allocations: 3.938 kB / 2.936 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00211/7.806, allocations: 317.6 kB / 2.937 GB, free: 216 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 (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.007138/7.813, allocations: 2.308 MB / 2.939 GB, free: 214 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002625/7.816, allocations: 0.653 MB / 2.939 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/7.816, allocations: 0 / 2.939 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/7.817, allocations: 445.8 kB / 2.94 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/7.82, allocations: 243.4 kB / 2.94 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/7.829, allocations: 1.482 MB / 2.942 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/7.83, allocations: 1.007 MB / 2.943 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001876/7.832, allocations: 257.8 kB / 2.943 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/7.833, allocations: 330.7 kB / 2.943 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.593e-06/7.833, allocations: 0 / 2.943 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09105/7.924, allocations: 30 MB / 2.972 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/7.924, allocations: 266.5 kB / 2.973 GB, free: 180.1 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_BaseClasses_Examples_SolarHourAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_BaseClasses_Examples_SolarHourAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_BaseClasses_Examples_SolarHourAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1