Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.842/2.842, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.869e-05, allocations: 3.547 kB / 370.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1583, allocations: 67 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.964/7.122, allocations: 2.157 GB / 2.584 GB, free: 144.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/7.123, allocations: 89.77 kB / 2.584 GB, free: 144.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2158/7.338, allocations: 57.05 MB / 2.64 GB, free: 105.8 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.294e-06/7.338, allocations: 4 kB / 2.64 GB, free: 105.8 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.973e-05/7.339, allocations: 23.94 kB / 2.64 GB, free: 105.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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002255/7.341, allocations: 1.024 MB / 2.641 GB, free: 104.8 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/7.341, allocations: 15.91 kB / 2.641 GB, free: 104.8 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/7.341, allocations: 128.6 kB / 2.641 GB, free: 104.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/7.342, allocations: 186.6 kB / 2.641 GB, free: 104.5 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/7.344, allocations: 0.6007 MB / 2.642 GB, free: 104 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/7.344, allocations: 61.25 kB / 2.642 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/7.344, allocations: 76.5 kB / 2.642 GB, free: 103.9 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/7.346, allocations: 0.7959 MB / 2.643 GB, free: 103.3 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/7.346, allocations: 0 / 2.643 GB, free: 103.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/7.346, allocations: 33.56 kB / 2.643 GB, free: 103.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/7.346, allocations: 20 kB / 2.643 GB, free: 103.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/7.348, allocations: 0.9933 MB / 2.644 GB, free: 102.5 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/7.354, allocations: 2.348 MB / 2.646 GB, free: 100.6 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/7.355, allocations: 0.6588 MB / 2.647 GB, free: 100.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/7.356, allocations: 250.2 kB / 2.647 GB, free: 99.98 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/7.356, allocations: 31.17 kB / 2.647 GB, free: 99.96 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008757/7.357, allocations: 400.5 kB / 2.647 GB, free: 99.65 MB / 0.573 GB Notification: Performance of pre-optimization done (n=71): time 4.168e-06/7.357, allocations: 0 / 2.647 GB, free: 99.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=71): time 0.002513/7.36, allocations: 0.6729 MB / 2.648 GB, free: 99.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/7.36, allocations: 244.1 kB / 2.648 GB, free: 98.75 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/7.361, allocations: 0.5658 MB / 2.649 GB, free: 98.18 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/7.361, allocations: 41.7 kB / 2.649 GB, free: 98.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/7.361, allocations: 364.3 kB / 2.649 GB, free: 97.77 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/7.362, allocations: 232.6 kB / 2.649 GB, free: 97.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/7.362, allocations: 12 kB / 2.65 GB, free: 97.53 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001248/7.362, allocations: 382.8 kB / 2.65 GB, free: 97.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/7.362, allocations: 197.5 kB / 2.65 GB, free: 96.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/7.363, allocations: 299.5 kB / 2.65 GB, free: 96.62 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/7.363, allocations: 246 kB / 2.651 GB, free: 96.39 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/7.363, allocations: 3.953 kB / 2.651 GB, free: 96.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002396/7.366, allocations: 0.672 MB / 2.651 GB, free: 95.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/7.366, allocations: 8 kB / 2.651 GB, free: 95.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/7.366, allocations: 0 / 2.651 GB, free: 95.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/7.367, allocations: 88.77 kB / 2.651 GB, free: 95.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/7.368, allocations: 131.9 kB / 2.651 GB, free: 95.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/7.371, allocations: 1.516 MB / 2.653 GB, free: 93.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/7.372, allocations: 83.38 kB / 2.653 GB, free: 93.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/7.372, allocations: 27.94 kB / 2.653 GB, free: 93.71 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.0002645/7.372, allocations: 140.9 kB / 2.653 GB, free: 93.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/7.372, allocations: 79.06 kB / 2.653 GB, free: 93.49 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/7.376, allocations: 0.9262 MB / 2.654 GB, free: 92.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/7.376, allocations: 15.94 kB / 2.654 GB, free: 92.53 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/7.376, allocations: 0 / 2.654 GB, free: 92.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/7.376, allocations: 3.984 kB / 2.654 GB, free: 92.53 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/7.377, allocations: 0.8448 MB / 2.655 GB, free: 91.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/7.377, allocations: 0 / 2.655 GB, free: 91.63 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/7.378, allocations: 139.8 kB / 2.655 GB, free: 91.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008357/7.379, allocations: 80.78 kB / 2.655 GB, free: 91.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/7.379, allocations: 23.98 kB / 2.655 GB, free: 91.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/7.382, allocations: 1.544 MB / 2.657 GB, free: 89.71 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/7.382, allocations: 0 / 2.657 GB, free: 89.71 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/7.384, allocations: 0.7894 MB / 2.658 GB, free: 88.89 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/7.385, allocations: 275.8 kB / 2.658 GB, free: 88.61 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/7.385, allocations: 19.98 kB / 2.658 GB, free: 88.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/7.386, allocations: 63.95 kB / 2.658 GB, free: 88.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/7.386, allocations: 56.69 kB / 2.658 GB, free: 88.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/7.386, allocations: 31.98 kB / 2.658 GB, free: 88.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007915/7.387, allocations: 463.2 kB / 2.658 GB, free: 87.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.81e-07/7.387, allocations: 0 / 2.658 GB, free: 87.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001337/7.388, allocations: 319.3 kB / 2.659 GB, free: 87.68 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 (82): * Single equations (assignments): 79 * 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.004799/7.393, allocations: 2.249 MB / 2.661 GB, free: 85.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001991/7.395, allocations: 0.6516 MB / 2.662 GB, free: 84.87 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/7.395, allocations: 4.125 kB / 2.662 GB, free: 84.86 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/7.396, allocations: 452.5 kB / 2.662 GB, free: 84.41 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/7.398, allocations: 238.5 kB / 2.662 GB, free: 84.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/7.404, allocations: 1.496 MB / 2.664 GB, free: 82.65 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/7.405, allocations: 1.011 MB / 2.665 GB, free: 81.61 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001547/7.407, allocations: 250 kB / 2.665 GB, free: 81.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/7.407, allocations: 335.3 kB / 2.665 GB, free: 81.04 MB / 0.573 GB Notification: Performance of SimCode: time 1.933e-06/7.407, allocations: 0 / 2.665 GB, free: 81.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0855/7.493, allocations: 30.13 MB / 2.695 GB, free: 51.14 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/7.493, allocations: 260.5 kB / 2.695 GB, free: 50.8 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_DiffuseIsotropic.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o] Error 1