Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.298/4.298, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.286e-05, allocations: 0 / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.53/7.776, allocations: 2.194 GB / 2.866 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/7.777, allocations: 85.98 kB / 2.866 GB, free: 262.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4139/8.191, allocations: 96.14 MB / 2.96 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.096e-06/8.191, allocations: 0 / 2.96 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002509/8.191, allocations: 43.98 kB / 2.96 GB, free: 192.2 MB / 0.8855 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.008384/8.199, allocations: 1.856 MB / 2.962 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/8.2, allocations: 12.03 kB / 2.962 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001095/8.201, allocations: 267.5 kB / 2.962 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.026/8.227, allocations: 1.798 MB / 2.964 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/8.23, allocations: 1.029 MB / 2.965 GB, free: 187.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/8.23, allocations: 140.3 kB / 2.965 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/8.231, allocations: 184 kB / 2.965 GB, free: 187.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009034/8.241, allocations: 2.324 MB / 2.967 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/8.241, allocations: 3.938 kB / 2.967 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006386/8.241, allocations: 76 kB / 2.967 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/8.241, allocations: 48 kB / 2.967 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009409/8.251, allocations: 2.845 MB / 2.97 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/8.276, allocations: 6.247 MB / 2.976 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/8.282, allocations: 1.982 MB / 2.978 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/8.285, allocations: 1.036 MB / 2.979 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/8.287, allocations: 0.4956 MB / 2.98 GB, free: 172.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004282/8.291, allocations: 1.293 MB / 2.981 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=192): time 7.333e-06/8.291, allocations: 0 / 2.981 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=192): time 0.008627/8.3, allocations: 2.059 MB / 2.983 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/8.3, allocations: 265.3 kB / 2.983 GB, free: 169 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/8.302, allocations: 0.7551 MB / 2.984 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008032/8.303, allocations: 65.64 kB / 2.984 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/8.303, allocations: 0.6257 MB / 2.985 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/8.304, allocations: 0.6198 MB / 2.985 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/8.305, allocations: 28 kB / 2.985 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001628/8.305, allocations: 369.9 kB / 2.986 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/8.308, allocations: 0.7811 MB / 2.986 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/8.311, allocations: 0.9541 MB / 2.987 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/8.314, allocations: 0.8297 MB / 2.988 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/8.314, allocations: 0 / 2.988 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008696/8.323, allocations: 2.109 MB / 2.99 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/8.323, allocations: 7.938 kB / 2.99 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/8.323, allocations: 4 kB / 2.99 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/8.324, allocations: 88.86 kB / 2.99 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007021/8.331, allocations: 0.5383 MB / 2.991 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/8.335, allocations: 1.521 MB / 2.992 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/8.343, allocations: 306.5 kB / 2.993 GB, free: 159.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/8.344, allocations: 91.89 kB / 2.993 GB, free: 159.1 MB / 0.8855 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.003926/8.348, allocations: 200.6 kB / 2.993 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/8.349, allocations: 138.3 kB / 2.993 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/8.363, allocations: 2.71 MB / 2.996 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/8.364, allocations: 20 kB / 2.996 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/8.364, allocations: 3.938 kB / 2.996 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001101/8.364, allocations: 15.91 kB / 2.996 GB, free: 156 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/8.384, allocations: 4.872 MB / 3 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/8.384, allocations: 0 / 3 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00685/8.391, allocations: 0.5305 MB / 3.001 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009321/8.392, allocations: 84.77 kB / 3.001 GB, free: 150.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007777/8.392, allocations: 71.88 kB / 3.001 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/8.395, allocations: 1.532 MB / 3.003 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/8.395, allocations: 0 / 3.003 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008564/8.404, allocations: 2.266 MB / 3.005 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/8.406, allocations: 0.5374 MB / 3.005 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/8.407, allocations: 36 kB / 3.005 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005538/8.412, allocations: 243.8 kB / 3.006 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/8.413, allocations: 125.8 kB / 3.006 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004771/8.413, allocations: 79.92 kB / 3.006 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001459/8.415, allocations: 0.6377 MB / 3.006 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.693e-06/8.415, allocations: 4 kB / 3.006 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003771/8.419, allocations: 0.6077 MB / 3.007 GB, free: 144.1 MB / 0.8855 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.01175/8.43, allocations: 3.776 MB / 3.011 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007347/8.438, allocations: 2.143 MB / 3.013 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/8.438, allocations: 0 / 3.013 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0042/8.442, allocations: 1.247 MB / 3.014 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/8.445, allocations: 279.8 kB / 3.014 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/8.458, allocations: 3.09 MB / 3.017 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/8.459, allocations: 1.357 MB / 3.019 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006747/8.466, allocations: 0.5501 MB / 3.019 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/8.469, allocations: 0.7569 MB / 3.02 GB, free: 131 MB / 0.8855 GB Notification: Performance of SimCode: time 2.144e-06/8.469, allocations: 0 / 3.02 GB, free: 131 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/8.645, allocations: 48.31 MB / 3.067 GB, free: 82.86 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/8.645, allocations: 246.3 kB / 3.067 GB, free: 82.53 MB / 0.8855 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/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c:7: In file included from ./Buildings_7_0_0_Buildings_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/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o] Error 1