Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.357/4.357, allocations: 460.4 MB / 472.6 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.753e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.186/8.423, allocations: 2.475 GB / 3.147 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/8.424, allocations: 88.3 kB / 3.147 GB, free: 256.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.65/16.07, allocations: 1.441 GB / 4.588 GB, free: 69.35 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.853e-06/16.07, allocations: 0 / 4.588 GB, free: 69.35 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001306/16.07, allocations: 191.2 kB / 4.588 GB, free: 69.32 MB / 0.9011 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.02832/16.1, allocations: 6.561 MB / 4.595 GB, free: 66.71 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/16.1, allocations: 7.812 kB / 4.595 GB, free: 66.71 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003866/16.11, allocations: 0.787 MB / 4.595 GB, free: 66.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/16.13, allocations: 2.463 MB / 4.598 GB, free: 66.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03111/16.17, allocations: 7.833 MB / 4.605 GB, free: 65.22 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000769/16.17, allocations: 445.3 kB / 4.606 GB, free: 65.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003599/16.17, allocations: 0.5735 MB / 4.606 GB, free: 65.21 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02951/16.2, allocations: 7.723 MB / 4.614 GB, free: 64.47 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004419/16.2, allocations: 23.97 kB / 4.614 GB, free: 64.47 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002843/16.2, allocations: 245.9 kB / 4.614 GB, free: 64.47 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003449/16.2, allocations: 265.6 kB / 4.614 GB, free: 64.45 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02477/16.23, allocations: 7.2 MB / 4.621 GB, free: 64.43 MB / 0.9011 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.08514/16.31, allocations: 31.12 MB / 4.652 GB, free: 53.86 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01456/16.33, allocations: 5.247 MB / 4.657 GB, free: 53.58 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007709/16.34, allocations: 2.692 MB / 4.66 GB, free: 53.54 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003717/16.34, allocations: 2.405 MB / 4.662 GB, free: 51 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009221/16.35, allocations: 2.883 MB / 4.665 GB, free: 50.88 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=421): time 9.688e-06/16.35, allocations: 0 / 4.665 GB, free: 50.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421): time 0.01827/16.37, allocations: 4.935 MB / 4.67 GB, free: 50.44 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/16.37, allocations: 381.6 kB / 4.67 GB, free: 50.03 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01447/16.38, allocations: 5.178 MB / 4.675 GB, free: 49.61 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001551/16.38, allocations: 108.9 kB / 4.675 GB, free: 49.58 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004856/16.39, allocations: 3.117 MB / 4.678 GB, free: 48.55 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002935/16.39, allocations: 1.421 MB / 4.68 GB, free: 47.64 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/16.39, allocations: 86.81 kB / 4.68 GB, free: 47.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004449/16.39, allocations: 486.2 kB / 4.68 GB, free: 47.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006667/16.4, allocations: 2.121 MB / 4.682 GB, free: 47.31 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008108/16.41, allocations: 3.066 MB / 4.685 GB, free: 46.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007993/16.42, allocations: 2.58 MB / 4.688 GB, free: 46.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.414e-05/16.42, allocations: 7.312 kB / 4.688 GB, free: 46.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02228/16.44, allocations: 5.949 MB / 4.693 GB, free: 45.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002377/16.44, allocations: 10.82 MB / 4.704 GB, free: 34.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.844e-05/16.44, allocations: 22.16 kB / 4.704 GB, free: 34.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/16.44, allocations: 45.47 kB / 4.704 GB, free: 34.65 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/16.45, allocations: 1.268 MB / 4.705 GB, free: 34.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001313/16.45, allocations: 62.61 kB / 4.705 GB, free: 34.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01368/16.47, allocations: 0.8136 MB / 4.706 GB, free: 34.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/16.47, allocations: 227.6 kB / 4.706 GB, free: 34.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/16.47, allocations: 3.719 kB / 4.706 GB, free: 34.4 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0198/16.49, allocations: 5.426 MB / 4.712 GB, free: 34.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.738e-05/16.49, allocations: 22.75 kB / 4.712 GB, free: 34.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.23e-05/16.49, allocations: 47.08 kB / 4.712 GB, free: 34.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/16.5, allocations: 1.275 MB / 4.713 GB, free: 34.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/16.5, allocations: 54.47 kB / 4.713 GB, free: 34.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/16.52, allocations: 0.7612 MB / 4.714 GB, free: 34.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/16.52, allocations: 231.5 kB / 4.714 GB, free: 34.09 MB / 0.9011 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.002722/16.52, allocations: 360.8 kB / 4.714 GB, free: 33.97 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003161/16.53, allocations: 0.5886 MB / 4.715 GB, free: 33.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02497/16.55, allocations: 6.16 MB / 4.721 GB, free: 33.35 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.416e-05/16.55, allocations: 45.48 kB / 4.721 GB, free: 33.35 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/16.55, allocations: 2.375 kB / 4.721 GB, free: 33.35 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01571/16.57, allocations: 4.561 MB / 4.726 GB, free: 33.11 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04611/16.61, allocations: 14.14 MB / 4.739 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/16.61, allocations: 9.266 kB / 4.739 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01228/16.62, allocations: 1.051 MB / 4.74 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.705e-05/16.62, allocations: 20.94 kB / 4.74 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001437/16.63, allocations: 145.4 kB / 4.741 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.744e-05/16.63, allocations: 30.62 kB / 4.741 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/16.63, allocations: 8.781 kB / 4.741 GB, free: 31.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02709/16.65, allocations: 9.697 MB / 4.75 GB, free: 28.05 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006802/16.66, allocations: 1.668 MB / 4.752 GB, free: 27.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00307/16.66, allocations: 92.09 kB / 4.752 GB, free: 27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0129/16.68, allocations: 0.5076 MB / 4.752 GB, free: 26.91 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/16.68, allocations: 276.7 kB / 4.752 GB, free: 26.87 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001124/16.68, allocations: 195.1 kB / 4.753 GB, free: 26.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01161/16.69, allocations: 4.239 MB / 4.757 GB, free: 25.29 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.31e-07/16.69, allocations: 0 / 4.757 GB, free: 25.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01985/16.71, allocations: 3.626 MB / 4.76 GB, free: 24.44 MB / 0.9011 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.03266/16.74, allocations: 12.92 MB / 4.773 GB, free: 17.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0251/16.77, allocations: 8.283 MB / 4.781 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/16.77, allocations: 0.7812 kB / 4.781 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007873/16.78, allocations: 2.575 MB / 4.784 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02648/16.8, allocations: 3.148 MB / 4.787 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04564/16.85, allocations: 13.62 MB / 4.8 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009228/16.86, allocations: 4.437 MB / 4.804 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.03094/16.89, allocations: 4.094 MB / 4.808 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009508/16.9, allocations: 3.028 MB / 4.811 GB, free: 6.906 MB / 0.9167 GB Notification: Performance of SimCode: time 1.412e-06/16.9, allocations: 4 kB / 4.811 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/18.1, allocations: 193.7 MB / 5 GB, free: 81.89 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/18.1, allocations: 217.8 kB / 5.001 GB, free: 81.66 MB / 0.9323 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_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part0.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part0.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part0.c:1: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part1.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part1.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_08bnd_part1.c:1: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o] Error 1