Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 3.001/3.001, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.357e-05/4.363e-05, allocations: 2.781 kB / 370.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 67 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.727/6.891, allocations: 2.157 GB / 2.585 GB, free: 146.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/6.891, allocations: 95.45 kB / 2.585 GB, free: 146.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.242/7.133, allocations: 58.43 MB / 2.642 GB, free: 113.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.204e-06/7.133, allocations: 0 / 2.642 GB, free: 113.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.975e-05/7.133, allocations: 20 kB / 2.642 GB, free: 113.7 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002513/7.136, allocations: 1.069 MB / 2.643 GB, free: 112.6 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/7.136, allocations: 8.031 kB / 2.643 GB, free: 112.6 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/7.136, allocations: 128.6 kB / 2.643 GB, free: 112.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/7.138, allocations: 186.6 kB / 2.643 GB, free: 112.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/7.139, allocations: 0.6133 MB / 2.644 GB, free: 111.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/7.139, allocations: 80.25 kB / 2.644 GB, free: 111.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/7.14, allocations: 77.88 kB / 2.644 GB, free: 111.7 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/7.142, allocations: 0.825 MB / 2.645 GB, free: 111.1 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/7.142, allocations: 7.984 kB / 2.645 GB, free: 111.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/7.142, allocations: 34.31 kB / 2.645 GB, free: 111.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/7.142, allocations: 20 kB / 2.645 GB, free: 111.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/7.144, allocations: 1.022 MB / 2.646 GB, free: 110.3 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005817/7.15, allocations: 2.437 MB / 2.648 GB, free: 108.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/7.153, allocations: 0.8221 MB / 2.649 GB, free: 107.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/7.153, allocations: 277.8 kB / 2.649 GB, free: 107.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/7.154, allocations: 32.19 kB / 2.649 GB, free: 107.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009128/7.154, allocations: 424.2 kB / 2.65 GB, free: 107.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 3.336e-06/7.154, allocations: 0 / 2.65 GB, free: 107.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.002647/7.157, allocations: 0.709 MB / 2.651 GB, free: 106.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/7.157, allocations: 246.7 kB / 2.651 GB, free: 106.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/7.158, allocations: 0.5716 MB / 2.651 GB, free: 105.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/7.159, allocations: 41.14 kB / 2.651 GB, free: 105.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/7.159, allocations: 367.1 kB / 2.652 GB, free: 105.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/7.159, allocations: 254.5 kB / 2.652 GB, free: 105.4 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/7.159, allocations: 16.81 kB / 2.652 GB, free: 105.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001343/7.159, allocations: 384.3 kB / 2.652 GB, free: 105 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/7.16, allocations: 205.5 kB / 2.653 GB, free: 104.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/7.161, allocations: 311.5 kB / 2.653 GB, free: 104.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006496/7.161, allocations: 262 kB / 2.653 GB, free: 104.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/7.161, allocations: 0 / 2.653 GB, free: 104.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002476/7.164, allocations: 0.7032 MB / 2.654 GB, free: 103.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/7.164, allocations: 8 kB / 2.654 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/7.164, allocations: 0 / 2.654 GB, free: 103.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009784/7.165, allocations: 84.83 kB / 2.654 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/7.166, allocations: 143.8 kB / 2.654 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/7.169, allocations: 1.52 MB / 2.656 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/7.17, allocations: 79.39 kB / 2.656 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/7.17, allocations: 35.97 kB / 2.656 GB, free: 101.5 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 (78): * Single equations (assignments): 77 * 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.0002544/7.17, allocations: 143.5 kB / 2.656 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/7.171, allocations: 79.06 kB / 2.656 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/7.174, allocations: 1.044 MB / 2.657 GB, free: 100.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/7.174, allocations: 8 kB / 2.657 GB, free: 100.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.174, allocations: 0 / 2.657 GB, free: 100.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/7.174, allocations: 3.984 kB / 2.657 GB, free: 100.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/7.179, allocations: 1.936 MB / 2.659 GB, free: 98.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/7.179, allocations: 0 / 2.659 GB, free: 98.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/7.18, allocations: 159.8 kB / 2.659 GB, free: 98.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/7.181, allocations: 84.78 kB / 2.659 GB, free: 97.94 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/7.181, allocations: 23.98 kB / 2.659 GB, free: 97.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/7.183, allocations: 1.536 MB / 2.661 GB, free: 96.24 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/7.183, allocations: 7.984 kB / 2.661 GB, free: 96.23 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/7.186, allocations: 0.9119 MB / 2.661 GB, free: 95.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000619/7.187, allocations: 299.6 kB / 2.662 GB, free: 94.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/7.187, allocations: 20 kB / 2.662 GB, free: 94.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.188, allocations: 75.94 kB / 2.662 GB, free: 94.89 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/7.188, allocations: 64.67 kB / 2.662 GB, free: 94.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/7.188, allocations: 31.98 kB / 2.662 GB, free: 94.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008378/7.189, allocations: 487.1 kB / 2.662 GB, free: 94.33 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.21e-07/7.189, allocations: 0 / 2.662 GB, free: 94.33 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001484/7.191, allocations: 347.2 kB / 2.663 GB, free: 93.99 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 (93): * Single equations (assignments): 90 * 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.005059/7.196, allocations: 2.397 MB / 2.665 GB, free: 91.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002253/7.198, allocations: 0.6902 MB / 2.666 GB, free: 90.99 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/7.198, allocations: 0 / 2.666 GB, free: 90.99 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/7.199, allocations: 492.5 kB / 2.666 GB, free: 90.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/7.201, allocations: 228.7 kB / 2.666 GB, free: 90.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/7.207, allocations: 1.578 MB / 2.668 GB, free: 88.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/7.208, allocations: 1.035 MB / 2.669 GB, free: 87.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001461/7.21, allocations: 270.2 kB / 2.669 GB, free: 87.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/7.21, allocations: 371.3 kB / 2.67 GB, free: 86.96 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/7.21, allocations: 4 kB / 2.67 GB, free: 86.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/7.311, allocations: 31.19 MB / 2.7 GB, free: 55.99 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/7.311, allocations: 248.9 kB / 2.7 GB, free: 55.66 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_SolarAzimuth.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarAzimuth_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarAzimuth_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarAzimuth_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o] Error 1