Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.285/4.285, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.353e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.09/7.324, allocations: 2.191 GB / 2.863 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/7.324, allocations: 88.08 kB / 2.863 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3531/7.677, allocations: 92.11 MB / 2.953 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.633e-06/7.677, allocations: 0 / 2.953 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001205/7.677, allocations: 35.94 kB / 2.953 GB, free: 198.3 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003912/7.681, allocations: 1.371 MB / 2.954 GB, free: 197 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/7.681, allocations: 8.031 kB / 2.954 GB, free: 197 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/7.682, allocations: 203.6 kB / 2.955 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/7.684, allocations: 241.8 kB / 2.955 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/7.686, allocations: 0.7795 MB / 2.956 GB, free: 196 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.68e-05/7.686, allocations: 107.1 kB / 2.956 GB, free: 195.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/7.686, allocations: 132.1 kB / 2.956 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/7.69, allocations: 1.316 MB / 2.957 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/7.69, allocations: 3.953 kB / 2.957 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/7.69, allocations: 60.31 kB / 2.957 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/7.69, allocations: 32 kB / 2.957 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/7.694, allocations: 1.399 MB / 2.959 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009799/7.704, allocations: 3.596 MB / 2.962 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/7.706, allocations: 0.9063 MB / 2.963 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009935/7.707, allocations: 379.7 kB / 2.963 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/7.707, allocations: 44.92 kB / 2.963 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/7.708, allocations: 0.5495 MB / 2.964 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 4.608e-06/7.709, allocations: 0 / 2.964 GB, free: 188.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.003921/7.712, allocations: 0.9706 MB / 2.965 GB, free: 187.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/7.713, allocations: 240.3 kB / 2.965 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/7.714, allocations: 0.7114 MB / 2.966 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/7.714, allocations: 49.7 kB / 2.966 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/7.715, allocations: 0.5505 MB / 2.966 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/7.715, allocations: 343 kB / 2.967 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/7.716, allocations: 20 kB / 2.967 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/7.716, allocations: 341.9 kB / 2.967 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/7.717, allocations: 317.9 kB / 2.967 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/7.718, allocations: 441.4 kB / 2.968 GB, free: 184.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/7.719, allocations: 380.8 kB / 2.968 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/7.719, allocations: 0 / 2.968 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003563/7.722, allocations: 1.009 MB / 2.969 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/7.722, allocations: 11.08 kB / 2.969 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/7.722, allocations: 3.984 kB / 2.969 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009662/7.723, allocations: 92.77 kB / 2.969 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/7.725, allocations: 207.7 kB / 2.969 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/7.728, allocations: 1.529 MB / 2.971 GB, free: 181.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/7.73, allocations: 115 kB / 2.971 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/7.73, allocations: 39.97 kB / 2.971 GB, free: 181.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 (116): * Single equations (assignments): 115 * 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.0003294/7.731, allocations: 160.8 kB / 2.971 GB, free: 181 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/7.731, allocations: 102.7 kB / 2.971 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/7.736, allocations: 1.368 MB / 2.973 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/7.736, allocations: 12 kB / 2.973 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/7.736, allocations: 3.984 kB / 2.973 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/7.736, allocations: 3.984 kB / 2.973 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/7.743, allocations: 2.563 MB / 2.975 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/7.743, allocations: 0 / 2.975 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/7.744, allocations: 195.7 kB / 2.975 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008521/7.745, allocations: 88.72 kB / 2.975 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/7.745, allocations: 31.97 kB / 2.976 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/7.748, allocations: 1.548 MB / 2.977 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/7.748, allocations: 7.922 kB / 2.977 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/7.751, allocations: 1.121 MB / 2.978 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009237/7.752, allocations: 363.2 kB / 2.978 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/7.753, allocations: 20 kB / 2.978 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/7.754, allocations: 80 kB / 2.979 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/7.754, allocations: 72.89 kB / 2.979 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/7.755, allocations: 39.92 kB / 2.979 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001206/7.756, allocations: 0.6046 MB / 2.979 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/7.756, allocations: 0 / 2.979 GB, free: 172.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00204/7.758, allocations: 446.5 kB / 2.98 GB, free: 172.1 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 (115): * Single equations (assignments): 112 * 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.005977/7.764, allocations: 2.599 MB / 2.982 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00287/7.767, allocations: 0.9321 MB / 2.983 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/7.767, allocations: 4 kB / 2.983 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/7.768, allocations: 0.5756 MB / 2.984 GB, free: 168 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/7.771, allocations: 254 kB / 2.984 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/7.779, allocations: 2.088 MB / 2.986 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/7.779, allocations: 1.193 MB / 2.987 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001718/7.781, allocations: 304 kB / 2.987 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/7.782, allocations: 0.5266 MB / 2.988 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/7.782, allocations: 0 / 2.988 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/7.901, allocations: 36.79 MB / 3.024 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/7.902, allocations: 241.6 kB / 3.024 GB, free: 126.7 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_IncidenceAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_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_IncidenceAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_functions.o] Error 1