Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.874/2.874, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.27e-05, allocations: 3.031 kB / 370.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.152, allocations: 67.01 MB / 437.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.77/6.922, allocations: 2.157 GB / 2.584 GB, free: 144.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000476/6.923, allocations: 97.06 kB / 2.584 GB, free: 144.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2955/7.218, allocations: 57.48 MB / 2.64 GB, free: 106.1 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.114e-06/7.218, allocations: 0 / 2.64 GB, free: 106.1 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.879e-05/7.218, allocations: 27.94 kB / 2.64 GB, free: 106 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00239/7.221, allocations: 1.039 MB / 2.641 GB, free: 105 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/7.221, allocations: 8.031 kB / 2.641 GB, free: 105 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/7.221, allocations: 127.1 kB / 2.641 GB, free: 104.9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/7.222, allocations: 178.6 kB / 2.641 GB, free: 104.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/7.224, allocations: 0.6054 MB / 2.642 GB, free: 104.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/7.224, allocations: 70.58 kB / 2.642 GB, free: 104.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/7.224, allocations: 72.94 kB / 2.642 GB, free: 104.1 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/7.226, allocations: 0.805 MB / 2.643 GB, free: 103.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/7.226, allocations: 4 kB / 2.643 GB, free: 103.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/7.226, allocations: 31.56 kB / 2.643 GB, free: 103.5 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/7.226, allocations: 16 kB / 2.643 GB, free: 103.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/7.228, allocations: 1.002 MB / 2.644 GB, free: 102.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005468/7.234, allocations: 2.365 MB / 2.646 GB, free: 100.8 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/7.235, allocations: 0.748 MB / 2.647 GB, free: 100.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005801/7.236, allocations: 256.5 kB / 2.647 GB, free: 100.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/7.236, allocations: 39 kB / 2.647 GB, free: 100 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/7.237, allocations: 412.6 kB / 2.648 GB, free: 99.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=72): time 3.867e-06/7.237, allocations: 0 / 2.648 GB, free: 99.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=72): time 0.002441/7.239, allocations: 0.672 MB / 2.648 GB, free: 99.02 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/7.24, allocations: 252.1 kB / 2.649 GB, free: 98.72 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/7.241, allocations: 0.5619 MB / 2.649 GB, free: 98.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/7.241, allocations: 37.7 kB / 2.649 GB, free: 98.11 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/7.241, allocations: 364.3 kB / 2.65 GB, free: 97.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/7.241, allocations: 240.5 kB / 2.65 GB, free: 97.51 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/7.241, allocations: 12 kB / 2.65 GB, free: 97.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001291/7.241, allocations: 374.8 kB / 2.65 GB, free: 97.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/7.242, allocations: 201.5 kB / 2.65 GB, free: 96.93 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/7.243, allocations: 299.5 kB / 2.651 GB, free: 96.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/7.243, allocations: 242 kB / 2.651 GB, free: 96.37 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/7.243, allocations: 3.953 kB / 2.651 GB, free: 96.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002442/7.246, allocations: 0.6836 MB / 2.652 GB, free: 95.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/7.246, allocations: 8 kB / 2.652 GB, free: 95.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/7.246, allocations: 0 / 2.652 GB, free: 95.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/7.247, allocations: 84.83 kB / 2.652 GB, free: 95.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/7.248, allocations: 139.8 kB / 2.652 GB, free: 95.44 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/7.25, allocations: 1.508 MB / 2.653 GB, free: 93.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/7.252, allocations: 83.5 kB / 2.653 GB, free: 93.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.008e-05/7.252, allocations: 27.94 kB / 2.653 GB, free: 93.68 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 (74): * Single equations (assignments): 73 * 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.0002462/7.252, allocations: 136.9 kB / 2.653 GB, free: 93.54 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/7.252, allocations: 75.14 kB / 2.654 GB, free: 93.47 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/7.255, allocations: 0.9808 MB / 2.655 GB, free: 92.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/7.255, allocations: 15.95 kB / 2.655 GB, free: 92.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/7.255, allocations: 0 / 2.655 GB, free: 92.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/7.255, allocations: 3.984 kB / 2.655 GB, free: 92.45 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/7.26, allocations: 1.847 MB / 2.656 GB, free: 90.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/7.26, allocations: 0 / 2.656 GB, free: 90.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/7.261, allocations: 147.8 kB / 2.656 GB, free: 90.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000823/7.262, allocations: 92.7 kB / 2.657 GB, free: 90.31 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-05/7.262, allocations: 23.98 kB / 2.657 GB, free: 90.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/7.264, allocations: 1.525 MB / 2.658 GB, free: 88.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/7.264, allocations: 0 / 2.658 GB, free: 88.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/7.267, allocations: 0.8689 MB / 2.659 GB, free: 87.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/7.267, allocations: 283.8 kB / 2.659 GB, free: 87.43 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/7.267, allocations: 20.06 kB / 2.659 GB, free: 87.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/7.268, allocations: 67.91 kB / 2.659 GB, free: 87.34 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/7.269, allocations: 72.56 kB / 2.659 GB, free: 87.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/7.269, allocations: 27.98 kB / 2.659 GB, free: 87.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007804/7.269, allocations: 475.1 kB / 2.66 GB, free: 86.79 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/7.269, allocations: 0 / 2.66 GB, free: 86.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001323/7.271, allocations: 331.2 kB / 2.66 GB, free: 86.46 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 (86): * Single equations (assignments): 83 * 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.004696/7.276, allocations: 2.328 MB / 2.662 GB, free: 84.23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001922/7.277, allocations: 0.6744 MB / 2.663 GB, free: 83.55 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/7.278, allocations: 0 / 2.663 GB, free: 83.55 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/7.279, allocations: 464.6 kB / 2.664 GB, free: 83.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/7.28, allocations: 238.1 kB / 2.664 GB, free: 82.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/7.286, allocations: 1.515 MB / 2.665 GB, free: 81.31 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/7.287, allocations: 1.023 MB / 2.666 GB, free: 80.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00138/7.288, allocations: 246 kB / 2.666 GB, free: 80.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007704/7.289, allocations: 355.2 kB / 2.667 GB, free: 79.67 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/7.289, allocations: 0 / 2.667 GB, free: 79.67 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08288/7.372, allocations: 30.41 MB / 2.697 GB, free: 49.47 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/7.372, allocations: 247.8 kB / 2.697 GB, free: 49.13 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_ZenithAngle.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_ZenithAngle_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_ZenithAngle_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_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_ZenithAngle_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o] Error 1