Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.8/2.8, allocations: 288.1 MB / 300.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.65e-05/5.668e-05, allocations: 2.969 kB / 370.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2039, allocations: 67 MB / 437.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.001/7.205, allocations: 2.161 GB / 2.588 GB, free: 142.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/7.205, allocations: 89.11 kB / 2.588 GB, free: 142.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.3779/7.583, allocations: 96.12 MB / 2.682 GB, free: 60.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.444e-06/7.583, allocations: 0 / 2.682 GB, free: 60.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001324/7.583, allocations: 44 kB / 2.682 GB, free: 60.82 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.006435/7.59, allocations: 1.86 MB / 2.684 GB, free: 58.9 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/7.59, allocations: 8.031 kB / 2.684 GB, free: 58.89 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008512/7.59, allocations: 262.2 kB / 2.684 GB, free: 58.63 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/7.618, allocations: 1.804 MB / 2.686 GB, free: 56.82 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/7.622, allocations: 1.028 MB / 2.687 GB, free: 55.75 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/7.622, allocations: 143.8 kB / 2.687 GB, free: 55.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007952/7.623, allocations: 180 kB / 2.687 GB, free: 55.43 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009403/7.632, allocations: 2.322 MB / 2.69 GB, free: 53.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.559e-05/7.632, allocations: 4 kB / 2.69 GB, free: 53.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000665/7.633, allocations: 76 kB / 2.69 GB, free: 52.98 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/7.633, allocations: 51.95 kB / 2.69 GB, free: 52.93 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/7.644, allocations: 2.841 MB / 2.693 GB, free: 50.09 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/7.672, allocations: 6.24 MB / 2.699 GB, free: 43.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00856/7.681, allocations: 1.978 MB / 2.701 GB, free: 41.79 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/7.684, allocations: 1.04 MB / 2.702 GB, free: 40.75 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/7.685, allocations: 0.5035 MB / 2.702 GB, free: 40.15 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003196/7.688, allocations: 1.281 MB / 2.703 GB, free: 38.85 MB / 0.573 GB Notification: Performance of pre-optimization done (n=192): time 5.871e-06/7.688, allocations: 0 / 2.703 GB, free: 38.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=192): time 0.00686/7.695, allocations: 2.063 MB / 2.705 GB, free: 36.78 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/7.695, allocations: 261.3 kB / 2.706 GB, free: 36.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/7.697, allocations: 0.755 MB / 2.706 GB, free: 35.71 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004134/7.697, allocations: 57.7 kB / 2.706 GB, free: 35.64 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/7.698, allocations: 0.6296 MB / 2.707 GB, free: 35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/7.698, allocations: 0.6158 MB / 2.708 GB, free: 34.38 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/7.699, allocations: 32 kB / 2.708 GB, free: 34.35 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001178/7.699, allocations: 373.9 kB / 2.708 GB, free: 33.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/7.701, allocations: 0.7811 MB / 2.709 GB, free: 33.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/7.704, allocations: 0.954 MB / 2.71 GB, free: 32.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/7.706, allocations: 0.8258 MB / 2.711 GB, free: 31.38 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/7.706, allocations: 0 / 2.711 GB, free: 31.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006999/7.713, allocations: 2.106 MB / 2.713 GB, free: 29.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/7.713, allocations: 8 kB / 2.713 GB, free: 29.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/7.713, allocations: 0 / 2.713 GB, free: 29.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009757/7.714, allocations: 88.86 kB / 2.713 GB, free: 29.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/7.72, allocations: 0.5383 MB / 2.713 GB, free: 28.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/7.723, allocations: 1.537 MB / 2.715 GB, free: 26.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005061/7.728, allocations: 310.4 kB / 2.715 GB, free: 26.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/7.728, allocations: 91.89 kB / 2.715 GB, free: 26.55 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0006767/7.729, allocations: 201.9 kB / 2.715 GB, free: 26.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/7.73, allocations: 134.3 kB / 2.715 GB, free: 26.22 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00927/7.739, allocations: 2.706 MB / 2.718 GB, free: 23.49 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/7.739, allocations: 23.98 kB / 2.718 GB, free: 23.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/7.739, allocations: 7.938 kB / 2.718 GB, free: 23.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/7.739, allocations: 7.969 kB / 2.718 GB, free: 23.45 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/7.752, allocations: 4.872 MB / 2.723 GB, free: 18.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/7.752, allocations: 0 / 2.723 GB, free: 18.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00654/7.758, allocations: 0.5305 MB / 2.723 GB, free: 17.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008689/7.759, allocations: 88.77 kB / 2.724 GB, free: 17.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005522/7.76, allocations: 67.92 kB / 2.724 GB, free: 17.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/7.762, allocations: 1.548 MB / 2.725 GB, free: 16.15 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.762, allocations: 4.062 kB / 2.725 GB, free: 16.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007235/7.769, allocations: 2.259 MB / 2.727 GB, free: 13.87 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/7.771, allocations: 0.5297 MB / 2.728 GB, free: 13.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000523/7.772, allocations: 36 kB / 2.728 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004896/7.776, allocations: 243.8 kB / 2.728 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/7.777, allocations: 129.8 kB / 2.728 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/7.777, allocations: 83.92 kB / 2.728 GB, free: 12.83 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001265/7.779, allocations: 0.6377 MB / 2.729 GB, free: 12.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.91e-07/7.779, allocations: 0 / 2.729 GB, free: 12.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002876/7.781, allocations: 0.6154 MB / 2.729 GB, free: 11.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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.00967/7.791, allocations: 3.778 MB / 2.733 GB, free: 7.887 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006697/7.798, allocations: 2.136 MB / 2.735 GB, free: 5.738 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/7.798, allocations: 0 / 2.735 GB, free: 5.738 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/7.802, allocations: 1.255 MB / 2.736 GB, free: 4.477 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/7.804, allocations: 279.2 kB / 2.737 GB, free: 4.211 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/7.815, allocations: 3.095 MB / 2.74 GB, free: 1.074 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4178/8.233, allocations: 1.35 MB / 2.741 GB, free: 166.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006085/8.239, allocations: 0.5399 MB / 2.742 GB, free: 166.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/8.242, allocations: 0.7547 MB / 2.742 GB, free: 166.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.332e-06/8.242, allocations: 1.281 kB / 2.742 GB, free: 166.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/8.372, allocations: 48.29 MB / 2.79 GB, free: 162.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/8.373, allocations: 238 kB / 2.79 GB, free: 161.9 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_Examples_DiffusePerez.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_Examples_DiffusePerez_functions.o IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_Examples_DiffusePerez_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_Examples_DiffusePerez_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o] Error 1