Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.35/4.35, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.609e-05, allocations: 0 / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.411/7.656, allocations: 2.191 GB / 2.869 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/7.657, allocations: 98.31 kB / 2.869 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2279/7.885, allocations: 57.96 MB / 2.926 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.314e-06/7.885, allocations: 0 / 2.926 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001123/7.885, allocations: 31.92 kB / 2.926 GB, free: 208.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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003113/7.888, allocations: 1.041 MB / 2.927 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/7.888, allocations: 12.03 kB / 2.927 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000396/7.889, allocations: 126.4 kB / 2.927 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/7.89, allocations: 190.5 kB / 2.927 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/7.892, allocations: 0.6098 MB / 2.928 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/7.892, allocations: 63.12 kB / 2.928 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/7.892, allocations: 78.31 kB / 2.928 GB, free: 206.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/7.895, allocations: 0.8334 MB / 2.928 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/7.895, allocations: 0 / 2.928 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/7.895, allocations: 30.75 kB / 2.928 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/7.895, allocations: 20 kB / 2.929 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/7.898, allocations: 1.037 MB / 2.93 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006866/7.905, allocations: 2.422 MB / 2.932 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/7.907, allocations: 0.6987 MB / 2.933 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/7.908, allocations: 269.1 kB / 2.933 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/7.908, allocations: 35.97 kB / 2.933 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/7.909, allocations: 424.8 kB / 2.933 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 4.509e-06/7.909, allocations: 0 / 2.933 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.002831/7.912, allocations: 0.7112 MB / 2.934 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/7.912, allocations: 244.1 kB / 2.934 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/7.913, allocations: 0.583 MB / 2.935 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000267/7.913, allocations: 38.58 kB / 2.935 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/7.914, allocations: 372.4 kB / 2.935 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/7.914, allocations: 248.2 kB / 2.935 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/7.914, allocations: 16.56 kB / 2.935 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001715/7.914, allocations: 379.3 kB / 2.936 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/7.915, allocations: 207.5 kB / 2.936 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/7.916, allocations: 317.4 kB / 2.936 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/7.917, allocations: 257.5 kB / 2.937 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/7.917, allocations: 4 kB / 2.937 GB, free: 199.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002726/7.919, allocations: 0.7223 MB / 2.937 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/7.919, allocations: 4 kB / 2.937 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/7.919, allocations: 144 / 2.937 GB, free: 199.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/7.92, allocations: 84.66 kB / 2.937 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/7.922, allocations: 155.6 kB / 2.937 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/7.925, allocations: 1.515 MB / 2.939 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/7.926, allocations: 87.12 kB / 2.939 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/7.926, allocations: 31.84 kB / 2.939 GB, free: 197.3 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 (80): * Single equations (assignments): 79 * 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.0002875/7.927, allocations: 142.2 kB / 2.939 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/7.927, allocations: 79.02 kB / 2.939 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/7.931, allocations: 0.9993 MB / 2.94 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/7.931, allocations: 12 kB / 2.94 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/7.931, allocations: 0 / 2.94 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/7.931, allocations: 11.97 kB / 2.94 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005348/7.936, allocations: 1.859 MB / 2.942 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/7.936, allocations: 0 / 2.942 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/7.937, allocations: 164.7 kB / 2.942 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008735/7.938, allocations: 80.22 kB / 2.942 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/7.939, allocations: 21.92 kB / 2.942 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/7.941, allocations: 1.539 MB / 2.944 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/7.941, allocations: 4.031 kB / 2.944 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/7.944, allocations: 0.8868 MB / 2.945 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/7.945, allocations: 291.6 kB / 2.945 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/7.945, allocations: 20 kB / 2.945 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/7.946, allocations: 59.95 kB / 2.945 GB, free: 191.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/7.947, allocations: 64.69 kB / 2.945 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/7.947, allocations: 31.98 kB / 2.945 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009571/7.948, allocations: 479.1 kB / 2.946 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/7.948, allocations: 0 / 2.946 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001788/7.95, allocations: 331.3 kB / 2.946 GB, free: 191 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 (87): * Single equations (assignments): 84 * 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.00545/7.955, allocations: 2.364 MB / 2.948 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00228/7.957, allocations: 0.6863 MB / 2.949 GB, free: 188 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/7.957, allocations: 0 / 2.949 GB, free: 188 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/7.959, allocations: 476.6 kB / 2.949 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/7.961, allocations: 242.5 kB / 2.95 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/7.968, allocations: 1.549 MB / 2.951 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/7.969, allocations: 1.023 MB / 2.952 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001562/7.97, allocations: 254.2 kB / 2.952 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009111/7.971, allocations: 355.3 kB / 2.953 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.342e-06/7.971, allocations: 0 / 2.953 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/8.072, allocations: 30.86 MB / 2.983 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/8.073, allocations: 262.1 kB / 2.983 GB, free: 153.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_IncidenceAngle.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_IncidenceAngle_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o] Error 1