Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.292/4.292, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.119e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2482, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.27/7.519, allocations: 2.216 GB / 2.888 GB, free: 253.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/7.519, allocations: 92.33 kB / 2.888 GB, free: 253.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4508/7.97, allocations: 104.2 MB / 2.99 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.554e-06/7.97, allocations: 0 / 2.99 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003617/7.97, allocations: 48 kB / 2.99 GB, free: 161.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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.01705/7.987, allocations: 2.44 MB / 2.992 GB, free: 159 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/7.987, allocations: 8.031 kB / 2.992 GB, free: 159 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004295/7.988, allocations: 168.9 kB / 2.992 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/8, allocations: 352.3 kB / 2.993 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1953/8.195, allocations: 94.05 MB / 3.085 GB, free: 64.35 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/8.195, allocations: 106 kB / 3.085 GB, free: 64.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/8.196, allocations: 136 kB / 3.085 GB, free: 64.11 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/8.199, allocations: 1.321 MB / 3.086 GB, free: 62.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/8.199, allocations: 0 / 3.086 GB, free: 62.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/8.199, allocations: 44 kB / 3.086 GB, free: 62.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/8.199, allocations: 28 kB / 3.086 GB, free: 62.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/8.202, allocations: 1.421 MB / 3.087 GB, free: 61.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9183/9.121, allocations: 79.35 MB / 3.165 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/9.124, allocations: 1.068 MB / 3.166 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/9.125, allocations: 0.6274 MB / 3.167 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/9.125, allocations: 31.48 kB / 3.167 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/9.127, allocations: 0.6889 MB / 3.167 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=92): time 3.887e-06/9.127, allocations: 0 / 3.167 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92): time 0.01493/9.142, allocations: 1.557 MB / 3.169 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002582/9.142, allocations: 377.1 kB / 3.169 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3268/9.469, allocations: 103.5 MB / 3.27 GB, free: 186.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005244/9.47, allocations: 59.67 kB / 3.27 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001567/9.471, allocations: 1.053 MB / 3.271 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005252/9.472, allocations: 304.7 kB / 3.272 GB, free: 185.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/9.472, allocations: 28 kB / 3.272 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001344/9.472, allocations: 368 kB / 3.272 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/9.474, allocations: 0.9667 MB / 3.273 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/9.477, allocations: 1.182 MB / 3.274 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/9.479, allocations: 1.231 MB / 3.275 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/9.479, allocations: 0 / 3.275 GB, free: 182.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01754/9.497, allocations: 2.721 MB / 3.278 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002192/9.497, allocations: 154.2 kB / 3.278 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/9.497, allocations: 0 / 3.278 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/9.497, allocations: 17.48 kB / 3.278 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/9.5, allocations: 291.7 kB / 3.278 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-05/9.5, allocations: 8 kB / 3.278 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/9.511, allocations: 289.4 kB / 3.279 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006361/9.512, allocations: 92.73 kB / 3.279 GB, free: 179 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006219/9.512, allocations: 322.8 kB / 3.279 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0112/9.523, allocations: 236 kB / 3.279 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/9.529, allocations: 2.038 MB / 3.281 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/9.529, allocations: 8 kB / 3.281 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/9.529, allocations: 4 kB / 3.281 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/9.529, allocations: 3.422 kB / 3.281 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09605/9.625, allocations: 38.01 MB / 3.318 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/9.625, allocations: 3.516 kB / 3.318 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/9.627, allocations: 160.7 kB / 3.319 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/9.627, allocations: 4 kB / 3.319 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/9.627, allocations: 34.23 kB / 3.319 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/9.627, allocations: 4.938 kB / 3.319 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/9.627, allocations: 4 kB / 3.319 GB, free: 148.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/9.642, allocations: 1.92 MB / 3.321 GB, free: 146.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06565/9.708, allocations: 20.54 MB / 3.341 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01372/9.721, allocations: 33.2 kB / 3.341 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/9.733, allocations: 185.5 kB / 3.341 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004487/9.733, allocations: 69.2 kB / 3.341 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002379/9.734, allocations: 76.28 kB / 3.341 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1404/9.874, allocations: 76.33 MB / 3.415 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.272e-06/9.874, allocations: 0 / 3.415 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01919/9.893, allocations: 6.061 MB / 3.421 GB, free: 50.18 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02002/9.913, allocations: 3.575 MB / 3.425 GB, free: 47.33 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005675/9.919, allocations: 3.071 MB / 3.428 GB, free: 44.48 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/9.919, allocations: 4 kB / 3.428 GB, free: 44.47 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/9.921, allocations: 1.313 MB / 3.429 GB, free: 43.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/9.932, allocations: 335.1 kB / 3.43 GB, free: 43.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/9.959, allocations: 4.793 MB / 3.434 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002987/9.962, allocations: 1.778 MB / 3.436 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02741/9.99, allocations: 11.11 MB / 3.447 GB, free: 26.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04754/10.04, allocations: 4.132 MB / 3.451 GB, free: 22.74 MB / 0.8855 GB Notification: Performance of SimCode: time 1.793e-06/10.04, allocations: 0 / 3.451 GB, free: 22.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.565/12.6, allocations: 0.5152 GB / 3.966 GB, free: 132.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/12.6, allocations: 223.5 kB / 3.966 GB, free: 132.2 MB / 0.9167 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_AbsorbedRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o] Error 1