Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.729/2.729, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.839e-05, allocations: 4.922 kB / 370.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 67.01 MB / 437.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.95/7.099, allocations: 2.157 GB / 2.584 GB, free: 143.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/7.099, allocations: 91.44 kB / 2.584 GB, free: 143.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2218/7.321, allocations: 57.59 MB / 2.64 GB, free: 101.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.923e-06/7.321, allocations: 0 / 2.64 GB, free: 101.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.008e-05/7.321, allocations: 24 kB / 2.64 GB, free: 101.8 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002464/7.324, allocations: 1.042 MB / 2.641 GB, free: 100.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/7.324, allocations: 12.03 kB / 2.641 GB, free: 100.8 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002421/7.324, allocations: 126.7 kB / 2.641 GB, free: 100.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/7.325, allocations: 182.6 kB / 2.642 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/7.327, allocations: 0.6094 MB / 2.642 GB, free: 99.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/7.327, allocations: 63.2 kB / 2.642 GB, free: 99.95 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/7.327, allocations: 72.56 kB / 2.642 GB, free: 99.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/7.329, allocations: 0.8108 MB / 2.643 GB, free: 99.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/7.329, allocations: 0 / 2.643 GB, free: 99.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/7.329, allocations: 34.5 kB / 2.643 GB, free: 99.29 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/7.329, allocations: 20 kB / 2.643 GB, free: 99.27 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/7.332, allocations: 1.006 MB / 2.644 GB, free: 98.48 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006594/7.338, allocations: 2.379 MB / 2.647 GB, free: 96.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/7.34, allocations: 0.7515 MB / 2.647 GB, free: 95.99 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/7.341, allocations: 269.8 kB / 2.648 GB, free: 95.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/7.341, allocations: 35.45 kB / 2.648 GB, free: 95.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009758/7.342, allocations: 402.8 kB / 2.648 GB, free: 95.48 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 3.577e-06/7.342, allocations: 0 / 2.648 GB, free: 95.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.002701/7.345, allocations: 0.6919 MB / 2.649 GB, free: 94.88 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/7.345, allocations: 244.1 kB / 2.649 GB, free: 94.58 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/7.346, allocations: 0.5581 MB / 2.649 GB, free: 94.02 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/7.346, allocations: 37.7 kB / 2.649 GB, free: 93.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/7.347, allocations: 368.3 kB / 2.65 GB, free: 93.61 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/7.347, allocations: 240.5 kB / 2.65 GB, free: 93.38 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/7.347, allocations: 16 kB / 2.65 GB, free: 93.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001375/7.347, allocations: 382.8 kB / 2.65 GB, free: 92.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/7.348, allocations: 201.5 kB / 2.651 GB, free: 92.78 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/7.349, allocations: 303.5 kB / 2.651 GB, free: 92.45 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/7.349, allocations: 253.9 kB / 2.651 GB, free: 92.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/7.349, allocations: 0 / 2.651 GB, free: 92.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002554/7.352, allocations: 0.6837 MB / 2.652 GB, free: 91.51 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/7.352, allocations: 4 kB / 2.652 GB, free: 91.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/7.352, allocations: 0 / 2.652 GB, free: 91.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009689/7.353, allocations: 84.81 kB / 2.652 GB, free: 91.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/7.354, allocations: 139.8 kB / 2.652 GB, free: 91.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/7.357, allocations: 1.512 MB / 2.653 GB, free: 89.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/7.358, allocations: 87.31 kB / 2.654 GB, free: 89.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/7.358, allocations: 23.98 kB / 2.654 GB, free: 89.52 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.0002818/7.358, allocations: 143.7 kB / 2.654 GB, free: 89.38 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/7.359, allocations: 79.16 kB / 2.654 GB, free: 89.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/7.362, allocations: 0.9807 MB / 2.655 GB, free: 88.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/7.362, allocations: 11.98 kB / 2.655 GB, free: 88.29 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/7.362, allocations: 4 kB / 2.655 GB, free: 88.29 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/7.362, allocations: 3.984 kB / 2.655 GB, free: 88.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/7.367, allocations: 1.859 MB / 2.657 GB, free: 86.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/7.367, allocations: 0 / 2.657 GB, free: 86.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/7.368, allocations: 147.8 kB / 2.657 GB, free: 86.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000842/7.369, allocations: 84.77 kB / 2.657 GB, free: 86.14 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/7.369, allocations: 23.98 kB / 2.657 GB, free: 86.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/7.372, allocations: 1.528 MB / 2.658 GB, free: 84.45 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/7.372, allocations: 4.031 kB / 2.658 GB, free: 84.44 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/7.374, allocations: 0.8766 MB / 2.659 GB, free: 83.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006787/7.375, allocations: 283.8 kB / 2.659 GB, free: 83.24 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/7.375, allocations: 23.95 kB / 2.659 GB, free: 83.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/7.377, allocations: 63.95 kB / 2.66 GB, free: 83.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/7.377, allocations: 64.69 kB / 2.66 GB, free: 83.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/7.377, allocations: 27.98 kB / 2.66 GB, free: 83.07 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008513/7.378, allocations: 471.1 kB / 2.66 GB, free: 82.61 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.21e-07/7.378, allocations: 3.938 kB / 2.66 GB, free: 82.61 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001592/7.379, allocations: 327.3 kB / 2.66 GB, free: 82.29 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.005183/7.385, allocations: 2.34 MB / 2.663 GB, free: 80.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002164/7.387, allocations: 0.6745 MB / 2.663 GB, free: 79.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/7.387, allocations: 4.125 kB / 2.663 GB, free: 79.36 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/7.388, allocations: 460.5 kB / 2.664 GB, free: 78.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/7.39, allocations: 234.8 kB / 2.664 GB, free: 78.68 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006324/7.396, allocations: 1.527 MB / 2.665 GB, free: 77.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/7.397, allocations: 1.015 MB / 2.666 GB, free: 76.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001463/7.398, allocations: 258 kB / 2.667 GB, free: 75.81 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/7.399, allocations: 347.3 kB / 2.667 GB, free: 75.47 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/7.399, allocations: 4 kB / 2.667 GB, free: 75.46 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08508/7.484, allocations: 30.47 MB / 2.697 GB, free: 45.22 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/7.485, allocations: 254 kB / 2.697 GB, free: 44.88 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_AltitudeAngle.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_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_AltitudeAngle_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_functions.o] Error 1