Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.27/4.27, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.698e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.216/7.461, allocations: 2.221 GB / 2.893 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/7.462, allocations: 97.81 kB / 2.893 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7893/8.251, allocations: 194.9 MB / 3.083 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.096e-06/8.251, allocations: 3.984 kB / 3.083 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009097/8.252, allocations: 87.94 kB / 3.083 GB, free: 33.07 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: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.0436/8.296, allocations: 3.971 MB / 3.087 GB, free: 29.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/8.296, allocations: 8.031 kB / 3.087 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008007/8.297, allocations: 206.5 kB / 3.087 GB, free: 28.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03515/8.332, allocations: 0.6027 MB / 3.088 GB, free: 28.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.243/9.574, allocations: 291.6 MB / 3.373 GB, free: 50.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/9.575, allocations: 126.6 kB / 3.373 GB, free: 50.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/9.575, allocations: 168 kB / 3.373 GB, free: 50.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004652/9.58, allocations: 1.717 MB / 3.375 GB, free: 48.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/9.58, allocations: 7 kB / 3.375 GB, free: 48.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/9.58, allocations: 60 kB / 3.375 GB, free: 48.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/9.58, allocations: 36.28 kB / 3.375 GB, free: 48.43 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004563/9.585, allocations: 1.769 MB / 3.376 GB, free: 46.95 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.542/11.13, allocations: 258.8 MB / 3.629 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/11.13, allocations: 1.404 MB / 3.63 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/11.13, allocations: 0.7957 MB / 3.631 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/11.13, allocations: 36.66 kB / 3.631 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001905/11.13, allocations: 0.9109 MB / 3.632 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=105): time 4.418e-06/11.13, allocations: 0 / 3.632 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=105): time 0.03799/11.17, allocations: 2.165 MB / 3.634 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002854/11.17, allocations: 397.8 kB / 3.635 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.766/12.94, allocations: 326.5 MB / 3.954 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000645/12.94, allocations: 65.7 kB / 3.954 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003949/12.94, allocations: 2.166 MB / 3.956 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000661/12.94, allocations: 357.5 kB / 3.956 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/12.94, allocations: 32 kB / 3.956 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001502/12.94, allocations: 393.5 kB / 3.956 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/12.95, allocations: 1.275 MB / 3.958 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/12.95, allocations: 1.584 MB / 3.959 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/12.95, allocations: 1.603 MB / 3.961 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/12.95, allocations: 6.922 kB / 3.961 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.04094/12.99, allocations: 3.761 MB / 3.965 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/12.99, allocations: 169.3 kB / 3.965 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/12.99, allocations: 4 kB / 3.965 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009875/13, allocations: 100.6 kB / 3.965 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/13, allocations: 369.6 kB / 3.965 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/13, allocations: 1.53 MB / 3.967 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03169/13.03, allocations: 0.5554 MB / 3.967 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007115/13.03, allocations: 119.3 kB / 3.967 GB, free: 116 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (213): * Single equations (assignments): 211 * 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: 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.0007252/13.03, allocations: 355.2 kB / 3.968 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03251/13.07, allocations: 473.6 kB / 3.968 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008337/13.07, allocations: 2.851 MB / 3.971 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/13.07, allocations: 8 kB / 3.971 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/13.07, allocations: 0 / 3.971 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/13.07, allocations: 3.938 kB / 3.971 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2957/13.37, allocations: 127 MB / 4.095 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/13.37, allocations: 0 / 4.095 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/13.37, allocations: 184 kB / 4.095 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/13.37, allocations: 86.25 kB / 4.095 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/13.37, allocations: 43.97 kB / 4.095 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/13.38, allocations: 1.534 MB / 4.097 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/13.38, allocations: 7.906 kB / 4.097 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03788/13.41, allocations: 2.577 MB / 4.099 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.8805/14.29, allocations: 64 MB / 4.162 GB, free: 227.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0411/14.33, allocations: 41.12 kB / 4.162 GB, free: 227.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03179/14.37, allocations: 431.5 kB / 4.162 GB, free: 227.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005057/14.37, allocations: 77.62 kB / 4.162 GB, free: 227.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002759/14.37, allocations: 82.69 kB / 4.162 GB, free: 227.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.4998/14.87, allocations: 235.3 MB / 4.392 GB, free: 51.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.263e-06/14.87, allocations: 0 / 4.392 GB, free: 51.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.04998/14.92, allocations: 16.34 MB / 4.408 GB, free: 34.97 MB / 0.9011 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 (104): * Single equations (assignments): 100 * 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: 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.04419/14.96, allocations: 4.842 MB / 4.413 GB, free: 31.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007521/14.97, allocations: 3.802 MB / 4.416 GB, free: 27.65 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/14.97, allocations: 7.875 kB / 4.416 GB, free: 27.65 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/14.97, allocations: 1.661 MB / 4.418 GB, free: 26.11 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02856/15, allocations: 0.5449 MB / 4.419 GB, free: 25.66 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05591/15.06, allocations: 9.809 MB / 4.428 GB, free: 17.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005544/15.06, allocations: 3.041 MB / 4.431 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.6984/15.76, allocations: 33.67 MB / 4.464 GB, free: 233.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.162/15.92, allocations: 11.47 MB / 4.475 GB, free: 233.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.633e-06/15.92, allocations: 0 / 4.475 GB, free: 233.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.108/23.03, allocations: 1.544 GB / 6.019 GB, free: 96.94 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/23.03, allocations: 253 kB / 6.019 GB, free: 96.61 MB / 1.104 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_WindowRadiation.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_WindowRadiation_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_WindowRadiation_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_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_WindowRadiation_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_functions.o] Error 1