Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.382/4.382, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.635e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2433, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.191/7.434, allocations: 2.213 GB / 2.885 GB, free: 255.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/7.435, allocations: 92.11 kB / 2.885 GB, free: 255.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5847/8.02, allocations: 125.4 MB / 3.007 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/8.02, allocations: 0 / 3.007 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003526/8.02, allocations: 47.98 kB / 3.008 GB, free: 143.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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.01763/8.038, allocations: 2.228 MB / 3.01 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/8.038, allocations: 12.03 kB / 3.01 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006526/8.038, allocations: 165 kB / 3.01 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/8.051, allocations: 344.6 kB / 3.01 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1954/8.246, allocations: 93.93 MB / 3.102 GB, free: 46.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/8.247, allocations: 86.2 kB / 3.102 GB, free: 46.52 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/8.247, allocations: 120 kB / 3.102 GB, free: 46.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/8.25, allocations: 1.14 MB / 3.103 GB, free: 45.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/8.25, allocations: 4 kB / 3.103 GB, free: 45.19 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/8.25, allocations: 48 kB / 3.103 GB, free: 45.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/8.25, allocations: 31.98 kB / 3.103 GB, free: 45.11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/8.253, allocations: 1.32 MB / 3.105 GB, free: 43.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9048/9.158, allocations: 79.05 MB / 3.182 GB, free: 260 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/9.161, allocations: 0.9664 MB / 3.183 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/9.162, allocations: 380.8 kB / 3.183 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/9.162, allocations: 35.3 kB / 3.183 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/9.163, allocations: 0.5335 MB / 3.184 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=88): time 3.597e-06/9.163, allocations: 1.875 kB / 3.184 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88): time 0.01416/9.177, allocations: 1.051 MB / 3.185 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/9.177, allocations: 249.8 kB / 3.185 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3305/9.508, allocations: 103.2 MB / 3.286 GB, free: 185.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000355/9.508, allocations: 49.7 kB / 3.286 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/9.51, allocations: 0.9957 MB / 3.287 GB, free: 184.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/9.51, allocations: 296.4 kB / 3.287 GB, free: 184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.667e-05/9.51, allocations: 16 kB / 3.287 GB, free: 184 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001038/9.51, allocations: 344.6 kB / 3.287 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/9.512, allocations: 428.7 kB / 3.288 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/9.513, allocations: 0.552 MB / 3.288 GB, free: 182.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/9.514, allocations: 0.4885 MB / 3.289 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/9.514, allocations: 0 / 3.289 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01494/9.529, allocations: 1.348 MB / 3.29 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/9.529, allocations: 4 kB / 3.29 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/9.529, allocations: 4 kB / 3.29 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/9.53, allocations: 81.72 kB / 3.29 GB, free: 181 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/9.532, allocations: 219 kB / 3.29 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/9.535, allocations: 1.522 MB / 3.292 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/9.546, allocations: 237.3 kB / 3.292 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/9.546, allocations: 45.38 kB / 3.292 GB, free: 179.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 120 * 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.0003352/9.547, allocations: 158.4 kB / 3.292 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01105/9.558, allocations: 218.4 kB / 3.293 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005152/9.563, allocations: 1.451 MB / 3.294 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/9.563, allocations: 14.41 kB / 3.294 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/9.563, allocations: 3.25 kB / 3.294 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/9.563, allocations: 7.172 kB / 3.294 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0975/9.66, allocations: 37.23 MB / 3.33 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/9.66, allocations: 0 / 3.33 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/9.662, allocations: 178.2 kB / 3.331 GB, free: 150 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/9.663, allocations: 81.7 kB / 3.331 GB, free: 150 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/9.663, allocations: 27.66 kB / 3.331 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/9.665, allocations: 1.542 MB / 3.332 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/9.665, allocations: 7.859 kB / 3.332 GB, free: 148.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/9.679, allocations: 1.244 MB / 3.333 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06745/9.747, allocations: 20.5 MB / 3.353 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01379/9.761, allocations: 28 kB / 3.353 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01115/9.772, allocations: 184.9 kB / 3.354 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/9.772, allocations: 76.88 kB / 3.354 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/9.773, allocations: 41.44 kB / 3.354 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1444/9.917, allocations: 76.16 MB / 3.428 GB, free: 56.58 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.493e-06/9.917, allocations: 0 / 3.428 GB, free: 56.58 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01981/9.937, allocations: 6.036 MB / 3.434 GB, free: 50.74 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 (102): * Single equations (assignments): 99 * 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.02073/9.958, allocations: 3.413 MB / 3.437 GB, free: 48.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00314/9.961, allocations: 1.068 MB / 3.438 GB, free: 47.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/9.961, allocations: 0 / 3.438 GB, free: 47.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/9.962, allocations: 0.5689 MB / 3.439 GB, free: 46.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/9.973, allocations: 345.8 kB / 3.439 GB, free: 46.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/9.997, allocations: 4.322 MB / 3.443 GB, free: 42.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001807/9.999, allocations: 1.711 MB / 3.445 GB, free: 41.35 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02147/10.02, allocations: 11.1 MB / 3.456 GB, free: 30.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03235/10.05, allocations: 4.102 MB / 3.46 GB, free: 27.51 MB / 0.8855 GB Notification: Performance of SimCode: time 2.344e-06/10.05, allocations: 0 / 3.46 GB, free: 27.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.54/12.59, allocations: 0.5219 GB / 3.982 GB, free: 109 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/12.59, allocations: 251.5 kB / 3.982 GB, free: 108.7 MB / 0.9011 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_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1