Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.352/4.352, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.416e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.613 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2373, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.288/7.525, allocations: 2.216 GB / 2.894 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/7.526, allocations: 93 kB / 2.894 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4492/7.975, allocations: 104.2 MB / 2.996 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/7.975, allocations: 0 / 2.996 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000361/7.975, allocations: 47.94 kB / 2.996 GB, free: 140.3 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.01731/7.993, allocations: 2.44 MB / 2.998 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/7.993, allocations: 12.03 kB / 2.998 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005091/7.993, allocations: 168.9 kB / 2.999 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/8.005, allocations: 344.4 kB / 2.999 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2331/8.238, allocations: 94.06 MB / 3.091 GB, free: 43.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/8.239, allocations: 98.06 kB / 3.091 GB, free: 43.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/8.239, allocations: 136 kB / 3.091 GB, free: 42.92 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/8.242, allocations: 1.31 MB / 3.092 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/8.242, allocations: 3.938 kB / 3.092 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/8.242, allocations: 51.98 kB / 3.092 GB, free: 41.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/8.242, allocations: 24 kB / 3.092 GB, free: 41.47 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/8.245, allocations: 1.409 MB / 3.094 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9166/9.162, allocations: 79.37 MB / 3.171 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/9.165, allocations: 1.063 MB / 3.172 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/9.166, allocations: 0.6234 MB / 3.173 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/9.166, allocations: 34.42 kB / 3.173 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/9.168, allocations: 0.6883 MB / 3.174 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=92): time 4.058e-06/9.168, allocations: 0 / 3.174 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92): time 0.0144/9.182, allocations: 1.558 MB / 3.175 GB, free: 264.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002448/9.182, allocations: 377.2 kB / 3.176 GB, free: 263.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3329/9.515, allocations: 103.5 MB / 3.277 GB, free: 182.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006496/9.516, allocations: 57.7 kB / 3.277 GB, free: 182 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/9.518, allocations: 1.052 MB / 3.278 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/9.519, allocations: 303.9 kB / 3.278 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/9.519, allocations: 29.88 kB / 3.278 GB, free: 180.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001698/9.519, allocations: 374.3 kB / 3.278 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/9.522, allocations: 0.9664 MB / 3.279 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/9.525, allocations: 1.184 MB / 3.28 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/9.529, allocations: 1.229 MB / 3.282 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/9.529, allocations: 4 kB / 3.282 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.02516/9.554, allocations: 2.715 MB / 3.284 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/9.554, allocations: 150.4 kB / 3.284 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/9.555, allocations: 3.562 kB / 3.284 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.053e-05/9.555, allocations: 12 kB / 3.284 GB, free: 174.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/9.558, allocations: 296.8 kB / 3.285 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.531e-05/9.558, allocations: 11.38 kB / 3.285 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/9.574, allocations: 290.2 kB / 3.285 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006883/9.574, allocations: 90.98 kB / 3.285 GB, free: 174.3 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.0008073/9.575, allocations: 329 kB / 3.285 GB, free: 174 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01683/9.592, allocations: 229.1 kB / 3.286 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007563/9.6, allocations: 2.032 MB / 3.288 GB, free: 172 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/9.6, allocations: 11.84 kB / 3.288 GB, free: 172 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/9.6, allocations: 7.656 kB / 3.288 GB, free: 172 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/9.6, allocations: 6.656 kB / 3.288 GB, free: 172 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1186/9.719, allocations: 38.01 MB / 3.325 GB, free: 144 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/9.719, allocations: 0 / 3.325 GB, free: 144 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/9.72, allocations: 157.5 kB / 3.325 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/9.72, allocations: 4.547 kB / 3.325 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/9.72, allocations: 45.41 kB / 3.325 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/9.72, allocations: 0 / 3.325 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/9.72, allocations: 7.844 kB / 3.325 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/9.734, allocations: 1.904 MB / 3.327 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06536/9.8, allocations: 20.54 MB / 3.347 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01382/9.814, allocations: 28 kB / 3.347 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01129/9.825, allocations: 192.1 kB / 3.347 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/9.825, allocations: 65.53 kB / 3.347 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/9.826, allocations: 77.22 kB / 3.347 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.1415/9.967, allocations: 76.34 MB / 3.422 GB, free: 50.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.01e-07/9.967, allocations: 0 / 3.422 GB, free: 50.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01884/9.986, allocations: 6.064 MB / 3.428 GB, free: 44.87 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.01968/10.01, allocations: 3.574 MB / 3.431 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005618/10.01, allocations: 3.071 MB / 3.434 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/10.01, allocations: 4 kB / 3.434 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/10.01, allocations: 1.312 MB / 3.435 GB, free: 37.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/10.02, allocations: 343.3 kB / 3.436 GB, free: 37.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/10.05, allocations: 4.79 MB / 3.44 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/10.05, allocations: 1.776 MB / 3.442 GB, free: 30.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02215/10.07, allocations: 11.1 MB / 3.453 GB, free: 19.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03263/10.1, allocations: 4.127 MB / 3.457 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.814e-06/10.1, allocations: 6.688 kB / 3.457 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.779/12.88, allocations: 0.5152 GB / 3.972 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/12.88, allocations: 219.3 kB / 3.973 GB, free: 109.6 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_AbsorbedRadiation.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c In file included from Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.c:7: In file included from ./Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_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_AbsorbedRadiation_functions.o' failed make: *** [Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_functions.o] Error 1