Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.824/2.824, allocations: 288.1 MB / 300.7 MB, free: 15.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.615e-05, allocations: 3.391 kB / 370.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1564, allocations: 67 MB / 437.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.035/7.191, allocations: 2.157 GB / 2.584 GB, free: 144.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/7.192, allocations: 96.36 kB / 2.584 GB, free: 144.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2355/7.427, allocations: 62.13 MB / 2.645 GB, free: 100.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.146e-06/7.427, allocations: 0 / 2.645 GB, free: 100.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.457e-05/7.427, allocations: 27.94 kB / 2.645 GB, free: 100.9 MB / 0.573 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.002734/7.43, allocations: 1.038 MB / 2.646 GB, free: 99.86 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/7.43, allocations: 8.031 kB / 2.646 GB, free: 99.85 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002788/7.43, allocations: 129.4 kB / 2.646 GB, free: 99.76 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/7.432, allocations: 198.6 kB / 2.646 GB, free: 99.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/7.434, allocations: 0.6084 MB / 2.647 GB, free: 99.03 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/7.434, allocations: 58.81 kB / 2.647 GB, free: 99 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/7.434, allocations: 77.69 kB / 2.647 GB, free: 98.95 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/7.436, allocations: 0.8108 MB / 2.648 GB, free: 98.34 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/7.436, allocations: 0 / 2.648 GB, free: 98.34 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/7.436, allocations: 33.94 kB / 2.648 GB, free: 98.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/7.436, allocations: 24 kB / 2.648 GB, free: 98.31 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/7.439, allocations: 1.021 MB / 2.649 GB, free: 97.52 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/7.445, allocations: 2.418 MB / 2.651 GB, free: 95.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003122/7.449, allocations: 0.7591 MB / 2.652 GB, free: 94.96 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/7.449, allocations: 271.1 kB / 2.652 GB, free: 94.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/7.45, allocations: 36.8 kB / 2.652 GB, free: 94.66 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009643/7.451, allocations: 419.7 kB / 2.653 GB, free: 94.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 3.868e-06/7.451, allocations: 0 / 2.653 GB, free: 94.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.002742/7.453, allocations: 0.7044 MB / 2.653 GB, free: 93.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/7.453, allocations: 248 kB / 2.654 GB, free: 93.22 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/7.455, allocations: 0.5581 MB / 2.654 GB, free: 92.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000242/7.455, allocations: 41.7 kB / 2.654 GB, free: 92.61 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/7.455, allocations: 372.3 kB / 2.655 GB, free: 92.24 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/7.456, allocations: 240.5 kB / 2.655 GB, free: 92 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/7.456, allocations: 12 kB / 2.655 GB, free: 91.99 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001359/7.456, allocations: 382.7 kB / 2.655 GB, free: 91.61 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/7.456, allocations: 209.5 kB / 2.655 GB, free: 91.41 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/7.457, allocations: 307.5 kB / 2.656 GB, free: 91.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/7.458, allocations: 262 kB / 2.656 GB, free: 90.82 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/7.458, allocations: 0 / 2.656 GB, free: 90.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002707/7.461, allocations: 0.6993 MB / 2.657 GB, free: 90.11 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/7.461, allocations: 9.094 kB / 2.657 GB, free: 90.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/7.461, allocations: 0 / 2.657 GB, free: 90.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/7.462, allocations: 84.83 kB / 2.657 GB, free: 90.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/7.463, allocations: 139.8 kB / 2.657 GB, free: 89.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/7.466, allocations: 1.537 MB / 2.658 GB, free: 88.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/7.468, allocations: 75.44 kB / 2.658 GB, free: 88.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/7.468, allocations: 23.98 kB / 2.659 GB, free: 88.1 MB / 0.573 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.0002989/7.468, allocations: 148.9 kB / 2.659 GB, free: 87.95 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/7.468, allocations: 75.06 kB / 2.659 GB, free: 87.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/7.472, allocations: 0.9807 MB / 2.66 GB, free: 86.89 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/7.472, allocations: 8 kB / 2.66 GB, free: 86.88 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/7.472, allocations: 0 / 2.66 GB, free: 86.88 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/7.472, allocations: 7.922 kB / 2.66 GB, free: 86.87 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/7.474, allocations: 0.8764 MB / 2.661 GB, free: 85.94 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/7.474, allocations: 3.938 kB / 2.661 GB, free: 85.94 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/7.475, allocations: 155.7 kB / 2.661 GB, free: 85.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/7.476, allocations: 88.77 kB / 2.661 GB, free: 85.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/7.476, allocations: 23.98 kB / 2.661 GB, free: 85.67 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/7.478, allocations: 1.552 MB / 2.662 GB, free: 83.98 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/7.478, allocations: 3.938 kB / 2.662 GB, free: 83.98 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/7.481, allocations: 0.8168 MB / 2.663 GB, free: 83.14 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/7.482, allocations: 283.8 kB / 2.663 GB, free: 82.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/7.482, allocations: 19.94 kB / 2.663 GB, free: 82.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/7.483, allocations: 71.94 kB / 2.663 GB, free: 82.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/7.483, allocations: 52.7 kB / 2.664 GB, free: 82.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/7.483, allocations: 35.97 kB / 2.664 GB, free: 82.66 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008377/7.484, allocations: 463.2 kB / 2.664 GB, free: 82.21 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/7.484, allocations: 4 kB / 2.664 GB, free: 82.21 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0015/7.486, allocations: 339.2 kB / 2.664 GB, free: 81.88 MB / 0.573 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.005185/7.491, allocations: 2.275 MB / 2.667 GB, free: 79.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00215/7.493, allocations: 0.6863 MB / 2.667 GB, free: 79 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/7.493, allocations: 0 / 2.667 GB, free: 79 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/7.494, allocations: 476.5 kB / 2.668 GB, free: 78.53 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/7.496, allocations: 246.4 kB / 2.668 GB, free: 78.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/7.502, allocations: 1.515 MB / 2.669 GB, free: 76.74 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/7.503, allocations: 1.023 MB / 2.67 GB, free: 75.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001446/7.504, allocations: 250 kB / 2.671 GB, free: 75.45 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/7.505, allocations: 343.3 kB / 2.671 GB, free: 75.11 MB / 0.573 GB Notification: Performance of SimCode: time 1.212e-06/7.505, allocations: 4 kB / 2.671 GB, free: 75.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08638/7.592, allocations: 30.78 MB / 2.701 GB, free: 44.57 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003093/7.592, allocations: 259.2 kB / 2.701 GB, free: 44.23 MB / 0.573 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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c:7: In file included from ./IBPSA_latest_IBPSA_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:2: In file included from ./IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA 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 'IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o] Error 1