Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.303/4.303, allocations: 460.4 MB / 472.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.663e-05, allocations: 4 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2276, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.142/7.369, allocations: 2.191 GB / 2.863 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/7.37, allocations: 92.02 kB / 2.863 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2202/7.59, allocations: 57.97 MB / 2.919 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.477e-06/7.59, allocations: 4 kB / 2.919 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.908e-05/7.59, allocations: 23.94 kB / 2.919 GB, free: 138.1 MB / 0.8698 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.002573/7.593, allocations: 1.058 MB / 2.92 GB, free: 137 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/7.593, allocations: 12.03 kB / 2.92 GB, free: 137 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/7.593, allocations: 128.6 kB / 2.92 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/7.594, allocations: 180.8 kB / 2.921 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/7.596, allocations: 0.6015 MB / 2.921 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/7.596, allocations: 62.31 kB / 2.921 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/7.596, allocations: 77.62 kB / 2.921 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/7.598, allocations: 0.8346 MB / 2.922 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/7.598, allocations: 3.953 kB / 2.922 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/7.599, allocations: 31.81 kB / 2.922 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/7.599, allocations: 23.94 kB / 2.922 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/7.601, allocations: 1.033 MB / 2.923 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/7.607, allocations: 2.417 MB / 2.926 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/7.609, allocations: 0.7058 MB / 2.926 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/7.61, allocations: 263.2 kB / 2.927 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/7.61, allocations: 40.7 kB / 2.927 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009525/7.611, allocations: 419.7 kB / 2.927 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.656e-06/7.611, allocations: 0 / 2.927 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002818/7.614, allocations: 0.7072 MB / 2.928 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/7.614, allocations: 248.1 kB / 2.928 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/7.615, allocations: 0.5775 MB / 2.928 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/7.615, allocations: 41.7 kB / 2.929 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/7.616, allocations: 372.3 kB / 2.929 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/7.616, allocations: 252.4 kB / 2.929 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/7.616, allocations: 12 kB / 2.929 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/7.616, allocations: 378.8 kB / 2.929 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/7.617, allocations: 205.5 kB / 2.93 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/7.618, allocations: 323.5 kB / 2.93 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/7.618, allocations: 258 kB / 2.93 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/7.618, allocations: 8 kB / 2.93 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002692/7.621, allocations: 0.7109 MB / 2.931 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/7.621, allocations: 4 kB / 2.931 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/7.621, allocations: 8.062 kB / 2.931 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/7.622, allocations: 84.7 kB / 2.931 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/7.624, allocations: 159.7 kB / 2.931 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/7.626, allocations: 1.504 MB / 2.933 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/7.628, allocations: 87.44 kB / 2.933 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/7.628, allocations: 31.92 kB / 2.933 GB, free: 124.7 MB / 0.8698 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.0002889/7.628, allocations: 150.7 kB / 2.933 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/7.628, allocations: 79.05 kB / 2.933 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/7.632, allocations: 0.9935 MB / 2.934 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/7.632, allocations: 12 kB / 2.934 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/7.632, allocations: 3.953 kB / 2.934 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/7.632, allocations: 7.984 kB / 2.934 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/7.638, allocations: 1.87 MB / 2.936 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/7.638, allocations: 8 kB / 2.936 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/7.639, allocations: 147.8 kB / 2.936 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008682/7.64, allocations: 88.7 kB / 2.936 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/7.64, allocations: 23.98 kB / 2.936 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/7.642, allocations: 1.529 MB / 2.938 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/7.642, allocations: 8 kB / 2.938 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/7.645, allocations: 0.8805 MB / 2.938 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008452/7.646, allocations: 291.7 kB / 2.939 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/7.646, allocations: 20 kB / 2.939 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/7.648, allocations: 63.94 kB / 2.939 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/7.648, allocations: 68.64 kB / 2.939 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/7.648, allocations: 31.92 kB / 2.939 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009679/7.649, allocations: 483.1 kB / 2.939 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/7.649, allocations: 0 / 2.939 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001684/7.651, allocations: 331.3 kB / 2.94 GB, free: 117.4 MB / 0.8698 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.005328/7.656, allocations: 2.35 MB / 2.942 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002359/7.658, allocations: 0.6902 MB / 2.943 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/7.658, allocations: 0 / 2.943 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/7.66, allocations: 472.6 kB / 2.943 GB, free: 114 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/7.662, allocations: 243.1 kB / 2.943 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/7.669, allocations: 1.547 MB / 2.945 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/7.67, allocations: 1.023 MB / 2.946 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001454/7.671, allocations: 258.2 kB / 2.946 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007329/7.672, allocations: 359.3 kB / 2.946 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/7.672, allocations: 0 / 2.946 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/7.774, allocations: 30.86 MB / 2.977 GB, free: 79.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/7.774, allocations: 265.3 kB / 2.977 GB, free: 79.57 MB / 0.8698 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_IncidenceAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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_BaseClasses_Examples_IncidenceAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o] Error 1