Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 3.105/3.105, allocations: 288.1 MB / 300.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.723e-05, allocations: 3.594 kB / 370.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 67.01 MB / 437.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.908/7.06, allocations: 2.158 GB / 2.585 GB, free: 144.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/7.06, allocations: 92.31 kB / 2.585 GB, free: 144.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2169/7.277, allocations: 57.96 MB / 2.642 GB, free: 105 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.054e-06/7.277, allocations: 0 / 2.642 GB, free: 105 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.136e-05/7.277, allocations: 27.94 kB / 2.642 GB, free: 105 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00264/7.28, allocations: 1.045 MB / 2.643 GB, free: 104 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/7.28, allocations: 15.97 kB / 2.643 GB, free: 104 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002787/7.28, allocations: 135.6 kB / 2.643 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/7.282, allocations: 182.6 kB / 2.643 GB, free: 103.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/7.283, allocations: 0.6124 MB / 2.644 GB, free: 103.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/7.283, allocations: 63.08 kB / 2.644 GB, free: 103.1 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/7.284, allocations: 78.3 kB / 2.644 GB, free: 103.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/7.286, allocations: 0.8271 MB / 2.645 GB, free: 102.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/7.286, allocations: 0 / 2.645 GB, free: 102.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/7.286, allocations: 35.75 kB / 2.645 GB, free: 102.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/7.286, allocations: 24 kB / 2.645 GB, free: 102.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/7.288, allocations: 1.032 MB / 2.646 GB, free: 101.6 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/7.295, allocations: 2.414 MB / 2.648 GB, free: 99.66 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/7.297, allocations: 0.695 MB / 2.649 GB, free: 99.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/7.297, allocations: 271.1 kB / 2.649 GB, free: 98.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/7.297, allocations: 32.73 kB / 2.649 GB, free: 98.86 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009272/7.298, allocations: 423.8 kB / 2.649 GB, free: 98.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 3.607e-06/7.298, allocations: 0 / 2.649 GB, free: 98.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.002693/7.301, allocations: 0.7071 MB / 2.65 GB, free: 97.71 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/7.301, allocations: 245.1 kB / 2.65 GB, free: 97.42 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/7.302, allocations: 0.5736 MB / 2.651 GB, free: 96.85 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/7.303, allocations: 41.7 kB / 2.651 GB, free: 96.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/7.303, allocations: 376.3 kB / 2.651 GB, free: 96.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/7.303, allocations: 252.3 kB / 2.652 GB, free: 96.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/7.303, allocations: 15.94 kB / 2.652 GB, free: 96.16 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001311/7.303, allocations: 382.7 kB / 2.652 GB, free: 95.78 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/7.304, allocations: 217.5 kB / 2.652 GB, free: 95.56 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/7.305, allocations: 307.5 kB / 2.652 GB, free: 95.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/7.305, allocations: 266 kB / 2.653 GB, free: 94.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/7.305, allocations: 0 / 2.653 GB, free: 94.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002581/7.308, allocations: 0.7149 MB / 2.653 GB, free: 94.25 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/7.308, allocations: 8.062 kB / 2.653 GB, free: 94.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.308, allocations: 0 / 2.653 GB, free: 94.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/7.309, allocations: 84.77 kB / 2.654 GB, free: 94.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/7.31, allocations: 147.8 kB / 2.654 GB, free: 94.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/7.313, allocations: 1.518 MB / 2.655 GB, free: 92.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/7.315, allocations: 87.33 kB / 2.655 GB, free: 92.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/7.315, allocations: 24.06 kB / 2.655 GB, free: 92.25 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 (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.000286/7.315, allocations: 144.9 kB / 2.655 GB, free: 92.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/7.315, allocations: 83.06 kB / 2.655 GB, free: 92.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/7.319, allocations: 1.001 MB / 2.656 GB, free: 90.99 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/7.319, allocations: 8 kB / 2.656 GB, free: 90.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/7.319, allocations: 7.984 kB / 2.656 GB, free: 90.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/7.319, allocations: 3.984 kB / 2.656 GB, free: 90.97 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/7.324, allocations: 1.87 MB / 2.658 GB, free: 89.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/7.324, allocations: 4 kB / 2.658 GB, free: 89.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/7.325, allocations: 147.8 kB / 2.658 GB, free: 88.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/7.326, allocations: 80.78 kB / 2.658 GB, free: 88.81 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/7.326, allocations: 23.98 kB / 2.659 GB, free: 88.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/7.328, allocations: 1.544 MB / 2.66 GB, free: 87.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/7.328, allocations: 3.953 kB / 2.66 GB, free: 87.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/7.331, allocations: 0.8806 MB / 2.661 GB, free: 86.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/7.332, allocations: 287.7 kB / 2.661 GB, free: 85.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/7.332, allocations: 19.95 kB / 2.661 GB, free: 85.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/7.333, allocations: 67.95 kB / 2.661 GB, free: 85.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/7.333, allocations: 60.69 kB / 2.661 GB, free: 85.75 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/7.333, allocations: 39.91 kB / 2.661 GB, free: 85.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008499/7.334, allocations: 479.1 kB / 2.662 GB, free: 85.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.51e-07/7.334, allocations: 0 / 2.662 GB, free: 85.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001505/7.336, allocations: 327.2 kB / 2.662 GB, free: 84.93 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.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.005085/7.341, allocations: 2.351 MB / 2.664 GB, free: 82.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002139/7.343, allocations: 0.694 MB / 2.665 GB, free: 81.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/7.343, allocations: 12.06 kB / 2.665 GB, free: 81.97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/7.344, allocations: 460.6 kB / 2.666 GB, free: 81.51 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/7.346, allocations: 247.9 kB / 2.666 GB, free: 81.27 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/7.352, allocations: 1.543 MB / 2.667 GB, free: 79.69 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/7.353, allocations: 1.023 MB / 2.668 GB, free: 78.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001399/7.354, allocations: 246.2 kB / 2.669 GB, free: 78.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007298/7.355, allocations: 355.3 kB / 2.669 GB, free: 78.04 MB / 0.573 GB Notification: Performance of SimCode: time 1.432e-06/7.355, allocations: 4 kB / 2.669 GB, free: 78.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/7.461, allocations: 30.84 MB / 2.699 GB, free: 47.43 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/7.461, allocations: 250.9 kB / 2.699 GB, free: 47.09 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_SolarGeometry_BaseClasses_Examples_IncidenceAngle.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.c:7: In file included from ./IBPSA_latest_IBPSA_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:2: In file included from ./IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_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_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_functions.o] Error 1