Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.54/4.54, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.152e-05, allocations: 4 kB / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2536, allocations: 107.2 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.562/7.816, allocations: 2.191 GB / 2.869 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/7.816, allocations: 93.25 kB / 2.869 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.293/8.109, allocations: 77.87 MB / 2.945 GB, free: 192.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.374e-06/8.109, allocations: 0 / 2.945 GB, free: 192.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001087/8.11, allocations: 32 kB / 2.945 GB, free: 192.5 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002745/8.112, allocations: 1.234 MB / 2.946 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/8.112, allocations: 12.03 kB / 2.946 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/8.113, allocations: 169.6 kB / 2.946 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/8.114, allocations: 221.8 kB / 2.946 GB, free: 191 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/8.116, allocations: 0.6953 MB / 2.947 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/8.116, allocations: 88.11 kB / 2.947 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/8.116, allocations: 109.9 kB / 2.947 GB, free: 190.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/8.119, allocations: 1.055 MB / 2.948 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/8.119, allocations: 4 kB / 2.948 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/8.119, allocations: 44.12 kB / 2.948 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/8.119, allocations: 35.94 kB / 2.948 GB, free: 189.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/8.121, allocations: 1.163 MB / 2.95 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006949/8.128, allocations: 3.005 MB / 2.952 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/8.13, allocations: 0.738 MB / 2.953 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/8.131, allocations: 289 kB / 2.953 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/8.131, allocations: 32.8 kB / 2.953 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009251/8.132, allocations: 424.3 kB / 2.954 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 4.398e-06/8.132, allocations: 0 / 2.954 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.002661/8.135, allocations: 0.7331 MB / 2.955 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/8.135, allocations: 245.1 kB / 2.955 GB, free: 184.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/8.136, allocations: 0.6367 MB / 2.955 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/8.136, allocations: 41.7 kB / 2.956 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/8.136, allocations: 495.7 kB / 2.956 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/8.137, allocations: 272.1 kB / 2.956 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/8.137, allocations: 12 kB / 2.956 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/8.137, allocations: 337.9 kB / 2.957 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/8.137, allocations: 213.5 kB / 2.957 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/8.138, allocations: 327.5 kB / 2.957 GB, free: 181.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/8.139, allocations: 270 kB / 2.957 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/8.139, allocations: 0 / 2.957 GB, free: 181.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002529/8.141, allocations: 0.7422 MB / 2.958 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/8.141, allocations: 8 kB / 2.958 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/8.141, allocations: 0 / 2.958 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009952/8.143, allocations: 80.84 kB / 2.958 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/8.144, allocations: 147.8 kB / 2.958 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/8.146, allocations: 1.516 MB / 2.96 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/8.148, allocations: 83.28 kB / 2.96 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/8.148, allocations: 35.98 kB / 2.96 GB, free: 178.7 MB / 0.8855 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 (83): * Single equations (assignments): 82 * 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.0002677/8.148, allocations: 151.5 kB / 2.96 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/8.148, allocations: 82.97 kB / 2.96 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/8.151, allocations: 0.9981 MB / 2.961 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/8.152, allocations: 12 kB / 2.961 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/8.152, allocations: 0 / 2.961 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/8.152, allocations: 3.984 kB / 2.961 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/8.153, allocations: 1.008 MB / 2.962 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/8.153, allocations: 3.984 kB / 2.962 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/8.155, allocations: 151.8 kB / 2.962 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008453/8.155, allocations: 88.67 kB / 2.962 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/8.155, allocations: 23.98 kB / 2.962 GB, free: 176.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/8.158, allocations: 1.544 MB / 2.964 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/8.158, allocations: 4 kB / 2.964 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/8.161, allocations: 0.8401 MB / 2.965 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006037/8.161, allocations: 291.6 kB / 2.965 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/8.161, allocations: 23.98 kB / 2.965 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/8.162, allocations: 63.95 kB / 2.965 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/8.163, allocations: 60.69 kB / 2.965 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/8.163, allocations: 31.98 kB / 2.965 GB, free: 173.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009807/8.164, allocations: 0.5148 MB / 2.966 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/8.164, allocations: 0 / 2.966 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001719/8.166, allocations: 382.8 kB / 2.966 GB, free: 172.2 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.005354/8.171, allocations: 2.306 MB / 2.968 GB, free: 170 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002301/8.173, allocations: 0.7176 MB / 2.969 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/8.173, allocations: 0 / 2.969 GB, free: 169.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/8.175, allocations: 480.5 kB / 2.969 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/8.177, allocations: 255.3 kB / 2.97 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007021/8.184, allocations: 1.762 MB / 2.971 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/8.184, allocations: 1.102 MB / 2.972 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001537/8.186, allocations: 258.7 kB / 2.973 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/8.187, allocations: 447.2 kB / 2.973 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/8.187, allocations: 0 / 2.973 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09506/8.282, allocations: 32.24 MB / 3.005 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/8.282, allocations: 260 kB / 3.005 GB, free: 132.6 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_DiffuseIsotropic.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_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/Buildings latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_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 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o] Error 1