Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.286/4.286, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.253e-05, allocations: 13.39 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.334/7.582, allocations: 2.19 GB / 2.868 GB, free: 258 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/7.582, allocations: 89.86 kB / 2.868 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2866/7.869, allocations: 56.88 MB / 2.923 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.686e-06/7.869, allocations: 0 / 2.923 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001461/7.869, allocations: 31.88 kB / 2.923 GB, free: 212.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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.003587/7.873, allocations: 1.022 MB / 2.924 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/7.873, allocations: 12.02 kB / 2.924 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003966/7.873, allocations: 126.8 kB / 2.924 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/7.876, allocations: 182.6 kB / 2.925 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/7.878, allocations: 0.5938 MB / 2.925 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/7.878, allocations: 64.12 kB / 2.925 GB, free: 211 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/7.878, allocations: 70.19 kB / 2.925 GB, free: 211 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/7.881, allocations: 0.7839 MB / 2.926 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/7.882, allocations: 0 / 2.926 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/7.882, allocations: 37.56 kB / 2.926 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/7.882, allocations: 20 kB / 2.926 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/7.886, allocations: 0.9957 MB / 2.927 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008353/7.894, allocations: 2.33 MB / 2.929 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/7.897, allocations: 0.7387 MB / 2.93 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009224/7.898, allocations: 252.4 kB / 2.93 GB, free: 207 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/7.898, allocations: 24.59 kB / 2.93 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/7.899, allocations: 391.1 kB / 2.931 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 5.46e-06/7.899, allocations: 4 kB / 2.931 GB, free: 206.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.003633/7.903, allocations: 0.6592 MB / 2.931 GB, free: 206.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/7.903, allocations: 239.9 kB / 2.932 GB, free: 205.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/7.905, allocations: 0.5525 MB / 2.932 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002838/7.905, allocations: 40.02 kB / 2.932 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/7.906, allocations: 361.2 kB / 2.932 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/7.906, allocations: 231.9 kB / 2.933 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/7.906, allocations: 9.438 kB / 2.933 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001731/7.906, allocations: 382.8 kB / 2.933 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/7.907, allocations: 189.5 kB / 2.933 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/7.908, allocations: 298 kB / 2.934 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/7.909, allocations: 236.3 kB / 2.934 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/7.909, allocations: 0 / 2.934 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00345/7.912, allocations: 0.6648 MB / 2.934 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/7.912, allocations: 4 kB / 2.934 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/7.912, allocations: 0 / 2.934 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/7.914, allocations: 84.16 kB / 2.935 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/7.915, allocations: 141.7 kB / 2.935 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/7.919, allocations: 1.519 MB / 2.936 GB, free: 201.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/7.921, allocations: 78.09 kB / 2.936 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/7.921, allocations: 23.48 kB / 2.936 GB, free: 201.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.000378/7.921, allocations: 146 kB / 2.936 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/7.922, allocations: 71.06 kB / 2.936 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004652/7.926, allocations: 0.9294 MB / 2.937 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/7.927, allocations: 12 kB / 2.937 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/7.927, allocations: 0 / 2.937 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.167e-05/7.927, allocations: 3.984 kB / 2.937 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/7.932, allocations: 1.8 MB / 2.939 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/7.932, allocations: 0 / 2.939 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/7.933, allocations: 140.2 kB / 2.939 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000872/7.934, allocations: 86.39 kB / 2.939 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/7.935, allocations: 22.05 kB / 2.939 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/7.937, allocations: 1.542 MB / 2.941 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/7.937, allocations: 0 / 2.941 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/7.94, allocations: 0.8371 MB / 2.942 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/7.941, allocations: 282.3 kB / 2.942 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/7.941, allocations: 23.8 kB / 2.942 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/7.942, allocations: 63.64 kB / 2.942 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/7.942, allocations: 56.62 kB / 2.942 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/7.942, allocations: 31.55 kB / 2.942 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008746/7.943, allocations: 461.8 kB / 2.943 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.91e-07/7.943, allocations: 0 / 2.943 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001779/7.945, allocations: 319.3 kB / 2.943 GB, free: 195.9 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.005423/7.951, allocations: 2.3 MB / 2.945 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002213/7.953, allocations: 0.6551 MB / 2.946 GB, free: 193 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/7.953, allocations: 0 / 2.946 GB, free: 193 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/7.954, allocations: 444.5 kB / 2.946 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/7.956, allocations: 237.6 kB / 2.946 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006517/7.963, allocations: 1.48 MB / 2.948 GB, free: 190.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/7.964, allocations: 1.007 MB / 2.949 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001494/7.965, allocations: 261.7 kB / 2.949 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007819/7.966, allocations: 331.3 kB / 2.949 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.723e-06/7.966, allocations: 0 / 2.949 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/8.05, allocations: 30.01 MB / 2.979 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/8.051, allocations: 262.5 kB / 2.979 GB, free: 159.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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1