Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.452/4.452, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.808e-05/4.801e-05, allocations: 4 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2501, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.323/7.573, allocations: 2.213 GB / 2.891 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/7.573, allocations: 102 kB / 2.891 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4966/8.07, allocations: 125.4 MB / 3.014 GB, free: 121 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.063e-06/8.07, allocations: 0 / 3.014 GB, free: 121 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003351/8.07, allocations: 44 kB / 3.014 GB, free: 121 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.01678/8.087, allocations: 2.224 MB / 3.016 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/8.087, allocations: 12.03 kB / 3.016 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004956/8.088, allocations: 169 kB / 3.016 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/8.1, allocations: 348.5 kB / 3.016 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1939/8.294, allocations: 93.92 MB / 3.108 GB, free: 24.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/8.294, allocations: 90.2 kB / 3.108 GB, free: 24.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/8.294, allocations: 116 kB / 3.108 GB, free: 23.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/8.297, allocations: 1.14 MB / 3.11 GB, free: 22.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/8.297, allocations: 0 / 3.11 GB, free: 22.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/8.297, allocations: 47.92 kB / 3.11 GB, free: 22.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/8.297, allocations: 28 kB / 3.11 GB, free: 22.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/8.3, allocations: 1.323 MB / 3.111 GB, free: 21.32 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9197/9.22, allocations: 79.06 MB / 3.188 GB, free: 251 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/9.223, allocations: 0.9622 MB / 3.189 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/9.224, allocations: 383.5 kB / 3.189 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/9.224, allocations: 36.22 kB / 3.189 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/9.225, allocations: 0.54 MB / 3.19 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=88): time 4.579e-06/9.225, allocations: 2.344 kB / 3.19 GB, free: 250.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=88): time 0.01362/9.239, allocations: 1.052 MB / 3.191 GB, free: 250.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/9.239, allocations: 241.9 kB / 3.191 GB, free: 250.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3241/9.563, allocations: 103.2 MB / 3.292 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003643/9.563, allocations: 49.7 kB / 3.292 GB, free: 159.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/9.565, allocations: 0.9953 MB / 3.293 GB, free: 158.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/9.565, allocations: 290.7 kB / 3.293 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/9.565, allocations: 22.44 kB / 3.293 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/9.565, allocations: 348.5 kB / 3.294 GB, free: 158 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/9.566, allocations: 426.7 kB / 3.294 GB, free: 157.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/9.568, allocations: 0.5538 MB / 3.295 GB, free: 157.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/9.569, allocations: 0.4888 MB / 3.295 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/9.569, allocations: 1.312 kB / 3.295 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01448/9.583, allocations: 1.342 MB / 3.296 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/9.583, allocations: 4 kB / 3.296 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/9.583, allocations: 0 / 3.296 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/9.584, allocations: 86.12 kB / 3.297 GB, free: 155.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/9.586, allocations: 226.2 kB / 3.297 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/9.589, allocations: 1.523 MB / 3.298 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/9.6, allocations: 243.1 kB / 3.298 GB, free: 153.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/9.601, allocations: 43.41 kB / 3.298 GB, free: 153.4 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.0003426/9.601, allocations: 156.7 kB / 3.299 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01077/9.612, allocations: 213.3 kB / 3.299 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/9.617, allocations: 1.457 MB / 3.3 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/9.617, allocations: 12.88 kB / 3.3 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/9.617, allocations: 0 / 3.3 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/9.617, allocations: 7.312 kB / 3.3 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09674/9.714, allocations: 37.23 MB / 3.337 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/9.714, allocations: 2.625 kB / 3.337 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/9.715, allocations: 183.8 kB / 3.337 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008878/9.716, allocations: 81.48 kB / 3.337 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/9.717, allocations: 26.02 kB / 3.337 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/9.719, allocations: 1.54 MB / 3.338 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/9.719, allocations: 0 / 3.338 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/9.733, allocations: 1.252 MB / 3.34 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06708/9.8, allocations: 20.49 MB / 3.36 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01373/9.814, allocations: 27.75 kB / 3.36 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/9.825, allocations: 187.3 kB / 3.36 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/9.825, allocations: 75.06 kB / 3.36 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/9.825, allocations: 35.8 kB / 3.36 GB, free: 102 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1549/9.98, allocations: 76.17 MB / 3.434 GB, free: 30.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.012e-06/9.98, allocations: 0 / 3.434 GB, free: 30.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02728/10.01, allocations: 6.034 MB / 3.44 GB, free: 25.05 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.02102/10.03, allocations: 3.411 MB / 3.444 GB, free: 22.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002906/10.03, allocations: 1.069 MB / 3.445 GB, free: 21.53 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/10.03, allocations: 0 / 3.445 GB, free: 21.53 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/10.03, allocations: 0.5769 MB / 3.445 GB, free: 21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/10.04, allocations: 343.6 kB / 3.446 GB, free: 20.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/10.07, allocations: 4.313 MB / 3.45 GB, free: 16.97 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/10.07, allocations: 1.721 MB / 3.451 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02117/10.09, allocations: 11.11 MB / 3.462 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03372/10.12, allocations: 4.098 MB / 3.466 GB, free: 192 kB / 0.8855 GB Notification: Performance of SimCode: time 1.693e-06/10.12, allocations: 2.656 kB / 3.466 GB, free: 192 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.395/12.52, allocations: 0.5218 GB / 3.988 GB, free: 98.61 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/12.52, allocations: 253.2 kB / 3.988 GB, free: 98.27 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_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_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_functions.o] Error 1