Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.597/4.597, allocations: 464.6 MB / 476.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.933e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.185/8.449, allocations: 2.476 GB / 3.153 GB, free: 254.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/8.449, allocations: 86.88 kB / 3.153 GB, free: 254.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.679/16.13, allocations: 1.441 GB / 4.594 GB, free: 82.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.703e-06/16.13, allocations: 0 / 4.594 GB, free: 82.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001339/16.13, allocations: 188.9 kB / 4.595 GB, free: 82.84 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02827/16.16, allocations: 6.551 MB / 4.601 GB, free: 80.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/16.16, allocations: 11.81 kB / 4.601 GB, free: 80.19 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003883/16.16, allocations: 0.7902 MB / 4.602 GB, free: 80.12 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/16.19, allocations: 2.472 MB / 4.604 GB, free: 79.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03161/16.22, allocations: 7.823 MB / 4.612 GB, free: 78.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008417/16.22, allocations: 447.3 kB / 4.612 GB, free: 78.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003688/16.22, allocations: 0.5731 MB / 4.613 GB, free: 78.69 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02916/16.25, allocations: 7.731 MB / 4.62 GB, free: 77.95 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003591/16.25, allocations: 16.09 kB / 4.62 GB, free: 77.95 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002742/16.26, allocations: 246.1 kB / 4.621 GB, free: 77.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003387/16.26, allocations: 263.2 kB / 4.621 GB, free: 77.94 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/16.28, allocations: 7.191 MB / 4.628 GB, free: 77.92 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08466/16.37, allocations: 31.13 MB / 4.658 GB, free: 67.33 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/16.38, allocations: 5.234 MB / 4.663 GB, free: 67.05 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007666/16.39, allocations: 2.699 MB / 4.666 GB, free: 67.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003639/16.39, allocations: 2.405 MB / 4.668 GB, free: 64.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009253/16.4, allocations: 2.876 MB / 4.671 GB, free: 64.35 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=421): time 1.029e-05/16.4, allocations: 3.328 kB / 4.671 GB, free: 64.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=421): time 0.01877/16.42, allocations: 4.936 MB / 4.676 GB, free: 63.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/16.42, allocations: 379.6 kB / 4.676 GB, free: 63.51 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/16.44, allocations: 5.18 MB / 4.681 GB, free: 63.09 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/16.44, allocations: 106.2 kB / 4.681 GB, free: 63.05 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004319/16.44, allocations: 3.116 MB / 4.684 GB, free: 62.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002748/16.44, allocations: 1.422 MB / 4.686 GB, free: 61.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000658/16.45, allocations: 87.47 kB / 4.686 GB, free: 61.11 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003342/16.45, allocations: 488.8 kB / 4.686 GB, free: 60.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006027/16.45, allocations: 2.113 MB / 4.688 GB, free: 60.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00762/16.46, allocations: 3.072 MB / 4.691 GB, free: 59.78 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/16.47, allocations: 2.578 MB / 4.694 GB, free: 59.73 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.335e-05/16.47, allocations: 8.688 kB / 4.694 GB, free: 59.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02182/16.49, allocations: 5.946 MB / 4.7 GB, free: 59.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002324/16.49, allocations: 10.82 MB / 4.71 GB, free: 48.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/16.49, allocations: 21.22 kB / 4.71 GB, free: 48.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/16.49, allocations: 47.94 kB / 4.71 GB, free: 48.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/16.51, allocations: 1.269 MB / 4.712 GB, free: 48.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001324/16.51, allocations: 57.27 kB / 4.712 GB, free: 48.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/16.52, allocations: 0.8176 MB / 4.713 GB, free: 47.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/16.52, allocations: 232.2 kB / 4.713 GB, free: 47.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/16.52, allocations: 5.594 kB / 4.713 GB, free: 47.88 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0199/16.54, allocations: 5.425 MB / 4.718 GB, free: 47.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.957e-05/16.54, allocations: 22.5 kB / 4.718 GB, free: 47.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.445e-05/16.54, allocations: 46.22 kB / 4.718 GB, free: 47.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/16.56, allocations: 1.268 MB / 4.719 GB, free: 47.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/16.56, allocations: 58.58 kB / 4.719 GB, free: 47.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01339/16.57, allocations: 0.7614 MB / 4.72 GB, free: 47.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/16.57, allocations: 226.8 kB / 4.72 GB, free: 47.57 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002473/16.57, allocations: 367.9 kB / 4.721 GB, free: 47.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00295/16.58, allocations: 0.5955 MB / 4.721 GB, free: 47.13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02467/16.6, allocations: 6.144 MB / 4.727 GB, free: 46.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-05/16.6, allocations: 48.88 kB / 4.727 GB, free: 46.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/16.6, allocations: 7.891 kB / 4.727 GB, free: 46.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0171/16.62, allocations: 4.563 MB / 4.732 GB, free: 44.45 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/16.66, allocations: 14.15 MB / 4.746 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/16.66, allocations: 3.781 kB / 4.746 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01232/16.67, allocations: 1.047 MB / 4.747 GB, free: 38.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.238e-05/16.67, allocations: 23.72 kB / 4.747 GB, free: 38.24 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/16.68, allocations: 145.9 kB / 4.747 GB, free: 38.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.457e-05/16.68, allocations: 24.98 kB / 4.747 GB, free: 38.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.649e-06/16.68, allocations: 13.53 kB / 4.747 GB, free: 38.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02561/16.7, allocations: 9.693 MB / 4.756 GB, free: 32.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006963/16.71, allocations: 1.664 MB / 4.758 GB, free: 31.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00321/16.71, allocations: 103.6 kB / 4.758 GB, free: 31.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01299/16.72, allocations: 0.4996 MB / 4.759 GB, free: 31.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001342/16.73, allocations: 280 kB / 4.759 GB, free: 31.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001011/16.73, allocations: 193.2 kB / 4.759 GB, free: 31.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01171/16.74, allocations: 4.236 MB / 4.763 GB, free: 30.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.092e-06/16.74, allocations: 0 / 4.763 GB, free: 30.18 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.022/16.76, allocations: 3.633 MB / 4.767 GB, free: 29.33 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.03466/16.8, allocations: 12.92 MB / 4.779 GB, free: 21.85 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02516/16.82, allocations: 8.285 MB / 4.787 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/16.82, allocations: 4.781 kB / 4.787 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008101/16.83, allocations: 2.565 MB / 4.79 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02738/16.86, allocations: 3.155 MB / 4.793 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04748/16.9, allocations: 13.54 MB / 4.806 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009496/16.91, allocations: 4.433 MB / 4.811 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.03141/16.94, allocations: 4.085 MB / 4.815 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00986/16.95, allocations: 3.03 MB / 4.817 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of SimCode: time 1.674e-06/16.95, allocations: 3.609 kB / 4.817 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.273/18.23, allocations: 193.6 MB / 5.007 GB, free: 96.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/18.23, allocations: 211 kB / 5.007 GB, free: 95.86 MB / 0.948 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_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part0.o Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part0.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part0.c:1: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part1.o Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part1.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part1.c:1: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series.o Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:2: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o] Error 1