Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.909/2.909, allocations: 288.1 MB / 300.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.501e-05, allocations: 3.953 kB / 370.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 67.01 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.825/6.976, allocations: 2.159 GB / 2.586 GB, free: 144.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000439/6.977, allocations: 95.75 kB / 2.586 GB, free: 144.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2661/7.243, allocations: 67.69 MB / 2.652 GB, free: 93.91 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.954e-06/7.243, allocations: 3.938 kB / 2.652 GB, free: 93.91 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.88e-05/7.243, allocations: 24 kB / 2.652 GB, free: 93.89 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00326/7.246, allocations: 1.207 MB / 2.653 GB, free: 92.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/7.246, allocations: 8.031 kB / 2.653 GB, free: 92.69 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004167/7.247, allocations: 165.7 kB / 2.654 GB, free: 92.58 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007278/7.254, allocations: 0.6628 MB / 2.654 GB, free: 91.92 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/7.256, allocations: 0.6665 MB / 2.655 GB, free: 91.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.09e-05/7.256, allocations: 79.28 kB / 2.655 GB, free: 91.3 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/7.256, allocations: 96.31 kB / 2.655 GB, free: 91.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/7.259, allocations: 1.129 MB / 2.656 GB, free: 90.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/7.259, allocations: 4 kB / 2.656 GB, free: 90.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/7.26, allocations: 40.25 kB / 2.656 GB, free: 90.39 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/7.26, allocations: 24 kB / 2.656 GB, free: 90.37 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/7.263, allocations: 1.436 MB / 2.658 GB, free: 89.11 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008727/7.272, allocations: 3.124 MB / 2.661 GB, free: 85.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/7.274, allocations: 0.9606 MB / 2.662 GB, free: 84.94 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/7.275, allocations: 452.7 kB / 2.662 GB, free: 84.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009129/7.276, allocations: 478.3 kB / 2.662 GB, free: 83.94 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/7.278, allocations: 0.6038 MB / 2.663 GB, free: 83.32 MB / 0.573 GB Notification: Performance of pre-optimization done (n=99): time 3.507e-06/7.278, allocations: 0 / 2.663 GB, free: 83.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=99): time 0.003459/7.281, allocations: 0.9699 MB / 2.664 GB, free: 82.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/7.281, allocations: 248.3 kB / 2.664 GB, free: 82.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/7.283, allocations: 0.5776 MB / 2.665 GB, free: 81.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/7.283, allocations: 45.7 kB / 2.665 GB, free: 81.41 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/7.283, allocations: 412.4 kB / 2.665 GB, free: 81 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/7.284, allocations: 327.2 kB / 2.666 GB, free: 80.67 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/7.284, allocations: 16 kB / 2.666 GB, free: 80.66 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001334/7.284, allocations: 390.7 kB / 2.666 GB, free: 80.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000915/7.285, allocations: 329.9 kB / 2.666 GB, free: 79.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/7.286, allocations: 450.3 kB / 2.667 GB, free: 79.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/7.287, allocations: 368.8 kB / 2.667 GB, free: 79.11 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/7.287, allocations: 0 / 2.667 GB, free: 79.11 MB / 0.573 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005487/7.292, allocations: 0.9855 MB / 2.668 GB, free: 78.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/7.292, allocations: 4 kB / 2.668 GB, free: 78.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/7.292, allocations: 0 / 2.668 GB, free: 78.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/7.294, allocations: 88.86 kB / 2.668 GB, free: 78.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/7.298, allocations: 239.6 kB / 2.668 GB, free: 77.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/7.301, allocations: 1.512 MB / 2.67 GB, free: 76.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/7.304, allocations: 143.3 kB / 2.67 GB, free: 75.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/7.305, allocations: 39.97 kB / 2.67 GB, free: 75.95 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0003635/7.305, allocations: 154 kB / 2.67 GB, free: 75.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/7.305, allocations: 86.97 kB / 2.67 GB, free: 75.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/7.31, allocations: 1.343 MB / 2.672 GB, free: 74.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/7.31, allocations: 12 kB / 2.672 GB, free: 74.33 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/7.31, allocations: 3.953 kB / 2.672 GB, free: 74.33 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/7.31, allocations: 3.984 kB / 2.672 GB, free: 74.32 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/7.312, allocations: 1.112 MB / 2.673 GB, free: 73.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/7.312, allocations: 0 / 2.673 GB, free: 73.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/7.315, allocations: 243.6 kB / 2.673 GB, free: 72.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009065/7.316, allocations: 84.77 kB / 2.673 GB, free: 72.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/7.316, allocations: 31.98 kB / 2.673 GB, free: 72.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/7.318, allocations: 1.536 MB / 2.674 GB, free: 71.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/7.318, allocations: 0 / 2.674 GB, free: 71.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/7.322, allocations: 1.1 MB / 2.676 GB, free: 70.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/7.323, allocations: 323.5 kB / 2.676 GB, free: 69.68 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/7.323, allocations: 23.98 kB / 2.676 GB, free: 69.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/7.325, allocations: 119.9 kB / 2.676 GB, free: 69.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/7.325, allocations: 72.89 kB / 2.676 GB, free: 69.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/7.325, allocations: 39.97 kB / 2.676 GB, free: 69.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008514/7.326, allocations: 479.2 kB / 2.677 GB, free: 68.97 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.91e-07/7.326, allocations: 3.938 kB / 2.677 GB, free: 68.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001682/7.328, allocations: 411 kB / 2.677 GB, free: 68.56 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 (111): * Single equations (assignments): 108 * 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.005874/7.334, allocations: 2.593 MB / 2.679 GB, free: 66.06 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003049/7.337, allocations: 0.9986 MB / 2.68 GB, free: 65.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/7.337, allocations: 0 / 2.68 GB, free: 65.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/7.339, allocations: 0.6417 MB / 2.681 GB, free: 64.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/7.341, allocations: 240 kB / 2.681 GB, free: 64.18 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006936/7.348, allocations: 1.823 MB / 2.683 GB, free: 62.31 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/7.348, allocations: 1.071 MB / 2.684 GB, free: 61.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002525/7.351, allocations: 326.9 kB / 2.684 GB, free: 60.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/7.352, allocations: 423.2 kB / 2.685 GB, free: 60.48 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/7.352, allocations: 0 / 2.685 GB, free: 60.48 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/7.439, allocations: 33.91 MB / 2.718 GB, free: 26.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/7.439, allocations: 258.5 kB / 2.718 GB, free: 26.47 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_BrighteningCoefficient.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BrighteningCoefficient_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BrighteningCoefficient_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BrighteningCoefficient_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1