Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.516/4.516, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.494e-05/4.5e-05, allocations: 4 kB / 0.5732 GB, free: 5.664 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2571, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.668/7.925, allocations: 2.194 GB / 2.872 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/7.925, allocations: 84.64 kB / 2.872 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3827/8.308, allocations: 96.13 MB / 2.966 GB, free: 171 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.054e-06/8.308, allocations: 0 / 2.966 GB, free: 171 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001583/8.308, allocations: 43.92 kB / 2.966 GB, free: 171 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.007227/8.316, allocations: 1.859 MB / 2.968 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/8.316, allocations: 12.03 kB / 2.968 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000889/8.316, allocations: 267.7 kB / 2.968 GB, free: 169 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02248/8.339, allocations: 1.792 MB / 2.97 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/8.342, allocations: 1.031 MB / 2.971 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/8.343, allocations: 147.7 kB / 2.971 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/8.343, allocations: 180 kB / 2.971 GB, free: 165.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006913/8.35, allocations: 2.318 MB / 2.974 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.862e-05/8.35, allocations: 0 / 2.974 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/8.351, allocations: 76 kB / 2.974 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/8.351, allocations: 44 kB / 2.974 GB, free: 163.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008342/8.359, allocations: 2.849 MB / 2.976 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/8.384, allocations: 6.243 MB / 2.983 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006332/8.391, allocations: 1.993 MB / 2.984 GB, free: 152.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/8.394, allocations: 1.036 MB / 2.985 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/8.395, allocations: 0.4996 MB / 2.986 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004233/8.399, allocations: 1.289 MB / 2.987 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=192): time 7.484e-06/8.4, allocations: 4 kB / 2.987 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=192): time 0.00842/8.408, allocations: 2.063 MB / 2.989 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/8.408, allocations: 261.3 kB / 2.99 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/8.41, allocations: 0.7551 MB / 2.99 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008321/8.411, allocations: 57.7 kB / 2.99 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/8.412, allocations: 0.6296 MB / 2.991 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/8.413, allocations: 0.6198 MB / 2.992 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/8.413, allocations: 32 kB / 2.992 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000157/8.413, allocations: 369.9 kB / 2.992 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/8.416, allocations: 0.7694 MB / 2.993 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/8.419, allocations: 0.9659 MB / 2.994 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/8.422, allocations: 0.8258 MB / 2.994 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/8.422, allocations: 0 / 2.994 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008721/8.431, allocations: 2.113 MB / 2.996 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/8.431, allocations: 7.953 kB / 2.996 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/8.431, allocations: 4 kB / 2.996 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/8.432, allocations: 84.88 kB / 2.997 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007193/8.439, allocations: 0.5422 MB / 2.997 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/8.442, allocations: 1.52 MB / 2.999 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005616/8.448, allocations: 306.5 kB / 2.999 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008821/8.449, allocations: 83.91 kB / 2.999 GB, free: 137 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.0008048/8.45, allocations: 206 kB / 2.999 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006806/8.451, allocations: 142.5 kB / 2.999 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/8.461, allocations: 2.71 MB / 3.002 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/8.461, allocations: 20 kB / 3.002 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/8.461, allocations: 4 kB / 3.002 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/8.461, allocations: 7.969 kB / 3.002 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/8.476, allocations: 4.868 MB / 3.007 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/8.476, allocations: 0 / 3.007 GB, free: 129 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006656/8.482, allocations: 0.5266 MB / 3.007 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/8.483, allocations: 88.78 kB / 3.007 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006445/8.484, allocations: 67.91 kB / 3.007 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/8.486, allocations: 1.54 MB / 3.009 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/8.486, allocations: 3.953 kB / 3.009 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007665/8.494, allocations: 2.266 MB / 3.011 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/8.496, allocations: 0.5336 MB / 3.012 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005275/8.497, allocations: 35.95 kB / 3.012 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005127/8.502, allocations: 247.8 kB / 3.012 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/8.502, allocations: 121.8 kB / 3.012 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004078/8.503, allocations: 79.91 kB / 3.012 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001383/8.504, allocations: 0.6416 MB / 3.013 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.31e-07/8.504, allocations: 0 / 3.013 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003211/8.507, allocations: 0.6077 MB / 3.013 GB, free: 122 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.01007/8.518, allocations: 3.779 MB / 3.017 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006868/8.524, allocations: 2.143 MB / 3.019 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/8.525, allocations: 0 / 3.019 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003736/8.528, allocations: 1.247 MB / 3.02 GB, free: 115 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/8.531, allocations: 277 kB / 3.021 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/8.543, allocations: 3.094 MB / 3.024 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009723/8.544, allocations: 1.357 MB / 3.025 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005785/8.55, allocations: 0.5423 MB / 3.025 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/8.553, allocations: 0.7569 MB / 3.026 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of SimCode: time 2.395e-06/8.553, allocations: 4 kB / 3.026 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/8.697, allocations: 48.32 MB / 3.073 GB, free: 60.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/8.697, allocations: 250.9 kB / 3.074 GB, free: 60.44 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 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 'Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o] Error 1