Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.344/4.344, allocations: 460.4 MB / 472.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-05/5.085e-05, allocations: 11.98 kB / 0.5682 GB, free: 10.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2681, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.561/7.829, allocations: 2.19 GB / 2.862 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/7.829, allocations: 91.75 kB / 2.862 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2397/8.069, allocations: 62.14 MB / 2.923 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.036e-06/8.069, allocations: 4 kB / 2.923 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.068e-05/8.069, allocations: 31.88 kB / 2.923 GB, free: 134.7 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002454/8.072, allocations: 1.03 MB / 2.924 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/8.072, allocations: 8.031 kB / 2.924 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/8.072, allocations: 131.7 kB / 2.924 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/8.074, allocations: 206.5 kB / 2.924 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/8.075, allocations: 0.607 MB / 2.925 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/8.075, allocations: 56.94 kB / 2.925 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/8.076, allocations: 75.19 kB / 2.925 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/8.077, allocations: 0.8221 MB / 2.925 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/8.078, allocations: 0 / 2.925 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/8.078, allocations: 37.31 kB / 2.926 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/8.078, allocations: 16 kB / 2.926 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/8.08, allocations: 1.018 MB / 2.927 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/8.086, allocations: 2.41 MB / 2.929 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/8.089, allocations: 0.7648 MB / 2.93 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/8.09, allocations: 267.2 kB / 2.93 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/8.09, allocations: 36.72 kB / 2.93 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009116/8.091, allocations: 431.6 kB / 2.93 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.697e-06/8.091, allocations: 0 / 2.93 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002621/8.093, allocations: 0.7032 MB / 2.931 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/8.094, allocations: 244.1 kB / 2.931 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/8.095, allocations: 0.5581 MB / 2.932 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/8.095, allocations: 41.7 kB / 2.932 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/8.095, allocations: 364.3 kB / 2.932 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/8.096, allocations: 244.3 kB / 2.932 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/8.096, allocations: 16 kB / 2.932 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001439/8.096, allocations: 378.8 kB / 2.933 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/8.096, allocations: 209.5 kB / 2.933 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/8.097, allocations: 307.5 kB / 2.933 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/8.098, allocations: 258 kB / 2.934 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/8.098, allocations: 0 / 2.934 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002532/8.1, allocations: 0.7032 MB / 2.934 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/8.101, allocations: 15.94 kB / 2.934 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/8.101, allocations: 3.938 kB / 2.934 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/8.102, allocations: 80.78 kB / 2.934 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/8.103, allocations: 139.8 kB / 2.934 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/8.105, allocations: 1.528 MB / 2.936 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/8.107, allocations: 79.47 kB / 2.936 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/8.107, allocations: 27.97 kB / 2.936 GB, free: 121.3 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 (75): * Single equations (assignments): 74 * 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.0002699/8.107, allocations: 150.3 kB / 2.936 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/8.107, allocations: 75.25 kB / 2.936 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/8.111, allocations: 0.9846 MB / 2.937 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/8.111, allocations: 12 kB / 2.937 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/8.111, allocations: 7.953 kB / 2.937 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/8.111, allocations: 3.984 kB / 2.937 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/8.112, allocations: 0.8797 MB / 2.938 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/8.112, allocations: 0 / 2.938 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/8.114, allocations: 151.8 kB / 2.938 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008632/8.115, allocations: 80.78 kB / 2.938 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.694e-05/8.115, allocations: 23.98 kB / 2.938 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/8.117, allocations: 1.559 MB / 2.94 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/8.117, allocations: 4 kB / 2.94 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/8.12, allocations: 0.8052 MB / 2.941 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/8.12, allocations: 283.8 kB / 2.941 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/8.121, allocations: 16 kB / 2.941 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/8.122, allocations: 75.88 kB / 2.941 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/8.122, allocations: 60.69 kB / 2.941 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/8.122, allocations: 27.98 kB / 2.941 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008196/8.123, allocations: 471.1 kB / 2.942 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/8.123, allocations: 0 / 2.942 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00143/8.124, allocations: 339.1 kB / 2.942 GB, free: 115.1 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.005157/8.129, allocations: 2.27 MB / 2.944 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002097/8.132, allocations: 0.6902 MB / 2.945 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/8.132, allocations: 0 / 2.945 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/8.133, allocations: 468.5 kB / 2.945 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/8.135, allocations: 239.4 kB / 2.945 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/8.141, allocations: 1.529 MB / 2.947 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/8.141, allocations: 1.019 MB / 2.948 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001473/8.143, allocations: 262 kB / 2.948 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/8.144, allocations: 339.3 kB / 2.948 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/8.144, allocations: 4 kB / 2.948 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09112/8.235, allocations: 30.79 MB / 2.979 GB, free: 77.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/8.235, allocations: 271 kB / 2.979 GB, free: 77.43 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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o] Error 1