Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.37/4.37, allocations: 460.4 MB / 472.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.573e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.56/7.882, allocations: 2.19 GB / 2.862 GB, free: 250.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004791/7.882, allocations: 99.3 kB / 2.862 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2685/8.151, allocations: 57.06 MB / 2.918 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/8.151, allocations: 0 / 2.918 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001098/8.151, allocations: 31.88 kB / 2.918 GB, free: 202.4 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003719/8.155, allocations: 1.026 MB / 2.919 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/8.155, allocations: 12.03 kB / 2.919 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003678/8.155, allocations: 123.5 kB / 2.919 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/8.157, allocations: 182.4 kB / 2.919 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/8.159, allocations: 0.598 MB / 2.919 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/8.159, allocations: 67.92 kB / 2.919 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/8.159, allocations: 70.62 kB / 2.92 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/8.161, allocations: 0.7947 MB / 2.92 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/8.162, allocations: 0 / 2.92 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/8.162, allocations: 37.69 kB / 2.92 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/8.162, allocations: 16 kB / 2.92 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002674/8.164, allocations: 0.9986 MB / 2.921 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007663/8.172, allocations: 2.345 MB / 2.924 GB, free: 197.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/8.174, allocations: 0.6678 MB / 2.924 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/8.175, allocations: 250.9 kB / 2.925 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/8.175, allocations: 28.52 kB / 2.925 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009288/8.176, allocations: 395.6 kB / 2.925 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 5.41e-06/8.176, allocations: 4 kB / 2.925 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.002738/8.179, allocations: 0.6757 MB / 2.926 GB, free: 195.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/8.179, allocations: 243.7 kB / 2.926 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/8.18, allocations: 0.5729 MB / 2.926 GB, free: 195 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002638/8.181, allocations: 40.7 kB / 2.926 GB, free: 195 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/8.181, allocations: 360 kB / 2.927 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/8.181, allocations: 233.9 kB / 2.927 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/8.181, allocations: 7.562 kB / 2.927 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001406/8.182, allocations: 384.1 kB / 2.927 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/8.182, allocations: 191.1 kB / 2.928 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/8.183, allocations: 302.4 kB / 2.928 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/8.184, allocations: 239.8 kB / 2.928 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/8.184, allocations: 4 kB / 2.928 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002584/8.186, allocations: 0.6743 MB / 2.929 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/8.186, allocations: 4 kB / 2.929 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/8.186, allocations: 0 / 2.929 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/8.187, allocations: 97.12 kB / 2.929 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/8.189, allocations: 127.9 kB / 2.929 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/8.192, allocations: 1.519 MB / 2.93 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/8.193, allocations: 75.75 kB / 2.931 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/8.193, allocations: 28.86 kB / 2.931 GB, free: 191.3 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 (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.0002797/8.193, allocations: 141 kB / 2.931 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/8.194, allocations: 79 kB / 2.931 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/8.197, allocations: 0.9386 MB / 2.932 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/8.197, allocations: 12 kB / 2.932 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/8.197, allocations: 0 / 2.932 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/8.197, allocations: 3.984 kB / 2.932 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/8.199, allocations: 0.8463 MB / 2.933 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/8.199, allocations: 0 / 2.933 GB, free: 189.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/8.2, allocations: 139.7 kB / 2.933 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009051/8.201, allocations: 84.14 kB / 2.933 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/8.201, allocations: 21.11 kB / 2.933 GB, free: 189.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/8.204, allocations: 1.535 MB / 2.934 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/8.204, allocations: 0 / 2.934 GB, free: 187.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/8.207, allocations: 0.7862 MB / 2.935 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007884/8.207, allocations: 281.8 kB / 2.935 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/8.208, allocations: 23.45 kB / 2.935 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/8.209, allocations: 67.64 kB / 2.935 GB, free: 187 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/8.209, allocations: 59.94 kB / 2.935 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/8.209, allocations: 36.05 kB / 2.935 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000889/8.21, allocations: 463.2 kB / 2.936 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/8.21, allocations: 0 / 2.936 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001778/8.212, allocations: 327.2 kB / 2.936 GB, free: 186.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.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.005455/8.217, allocations: 2.247 MB / 2.938 GB, free: 184 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002198/8.22, allocations: 0.655 MB / 2.939 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/8.22, allocations: 0 / 2.939 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/8.221, allocations: 452.7 kB / 2.939 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/8.223, allocations: 235.1 kB / 2.94 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/8.23, allocations: 1.492 MB / 2.941 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/8.231, allocations: 1.011 MB / 2.942 GB, free: 180.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001581/8.232, allocations: 257.9 kB / 2.942 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009708/8.233, allocations: 331.3 kB / 2.943 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.563e-06/8.233, allocations: 0 / 2.943 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/8.382, allocations: 30.15 MB / 2.972 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/8.383, allocations: 268.7 kB / 2.972 GB, free: 149.3 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_BaseClasses_Examples_DiffuseIsotropic.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_7_0_0_Buildings_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/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_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 Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_BaseClasses_Examples_DiffuseIsotropic_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.o] Error 1