Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.28/4.28, allocations: 460.4 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.585e-05, allocations: 4 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.288/8.533, allocations: 2.474 GB / 3.146 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/8.534, allocations: 91.72 kB / 3.146 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.1/13.63, allocations: 0.9049 GB / 4.051 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.865e-06/13.63, allocations: 0.75 kB / 4.051 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009203/13.64, allocations: 126.6 kB / 4.051 GB, free: 125.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.02021/13.66, allocations: 4.265 MB / 4.055 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/13.66, allocations: 9.594 kB / 4.055 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002895/13.66, allocations: 0.5139 MB / 4.056 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/13.67, allocations: 1.254 MB / 4.057 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/13.7, allocations: 5.359 MB / 4.062 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/13.7, allocations: 280.7 kB / 4.063 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/13.7, allocations: 377.9 kB / 4.063 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/13.72, allocations: 4.936 MB / 4.068 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000213/13.72, allocations: 12.38 kB / 4.068 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/13.72, allocations: 158 kB / 4.068 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/13.72, allocations: 175.5 kB / 4.068 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/13.74, allocations: 4.573 MB / 4.073 GB, free: 123.4 MB / 0.8698 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.05391/13.79, allocations: 19.28 MB / 4.091 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008603/13.8, allocations: 3.172 MB / 4.095 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00436/13.81, allocations: 1.669 MB / 4.096 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00286/13.81, allocations: 1.863 MB / 4.098 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005389/13.81, allocations: 1.802 MB / 4.1 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 6.842e-06/13.81, allocations: 0 / 4.1 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.01122/13.83, allocations: 3.119 MB / 4.103 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/13.83, allocations: 290 kB / 4.103 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008958/13.83, allocations: 3.432 MB / 4.106 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009787/13.84, allocations: 82.86 kB / 4.106 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0028/13.84, allocations: 1.981 MB / 4.108 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001736/13.84, allocations: 0.8977 MB / 4.109 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/13.84, allocations: 61.53 kB / 4.109 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002505/13.84, allocations: 429.3 kB / 4.11 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/13.84, allocations: 1.35 MB / 4.111 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/13.85, allocations: 2.025 MB / 4.113 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/13.85, allocations: 1.686 MB / 4.115 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/13.85, allocations: 3.375 kB / 4.115 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0135/13.87, allocations: 3.919 MB / 4.119 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001668/13.87, allocations: 7.413 MB / 4.126 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.314e-05/13.87, allocations: 14.91 kB / 4.126 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/13.87, allocations: 116.6 kB / 4.126 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/13.88, allocations: 0.8006 MB / 4.127 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/13.89, allocations: 1.562 MB / 4.128 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/13.9, allocations: 0.5279 MB / 4.129 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/13.9, allocations: 154.1 kB / 4.129 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/13.9, allocations: 3.312 kB / 4.129 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01967/13.92, allocations: 3.569 MB / 4.132 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.914e-05/13.92, allocations: 16.97 kB / 4.132 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/13.92, allocations: 119.2 kB / 4.133 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/13.93, allocations: 0.8051 MB / 4.133 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004191/13.94, allocations: 1.569 MB / 4.135 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/13.95, allocations: 480.1 kB / 4.135 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/13.95, allocations: 150.5 kB / 4.135 GB, free: 100.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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: 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.002438/13.95, allocations: 281.9 kB / 4.136 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002591/13.96, allocations: 384.5 kB / 4.136 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02374/13.98, allocations: 3.942 MB / 4.14 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/13.98, allocations: 33.67 kB / 4.14 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/13.98, allocations: 0 / 4.14 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01619/14, allocations: 3.064 MB / 4.143 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04218/14.04, allocations: 8.816 MB / 4.152 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-05/14.04, allocations: 3.906 kB / 4.152 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0107/14.05, allocations: 0.6305 MB / 4.152 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/14.05, allocations: 98.03 kB / 4.152 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/14.05, allocations: 92.77 kB / 4.152 GB, free: 98.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/14.06, allocations: 1.561 MB / 4.154 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/14.06, allocations: 10.69 kB / 4.154 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02521/14.08, allocations: 5.834 MB / 4.16 GB, free: 96.36 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006126/14.09, allocations: 1.068 MB / 4.161 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00282/14.09, allocations: 63.31 kB / 4.161 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01109/14.1, allocations: 308.7 kB / 4.161 GB, free: 96.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/14.1, allocations: 189.6 kB / 4.161 GB, free: 96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001067/14.1, allocations: 123.4 kB / 4.161 GB, free: 96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01086/14.12, allocations: 2.701 MB / 4.164 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.152e-06/14.12, allocations: 3.25 kB / 4.164 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01454/14.13, allocations: 2.445 MB / 4.166 GB, free: 95.46 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (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,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0225/14.15, allocations: 8.836 MB / 4.175 GB, free: 92.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01661/14.17, allocations: 5.492 MB / 4.18 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/14.17, allocations: 0.5625 kB / 4.18 GB, free: 92.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005488/14.18, allocations: 1.726 MB / 4.182 GB, free: 92.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0247/14.2, allocations: 2.017 MB / 4.184 GB, free: 92.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/14.23, allocations: 9.17 MB / 4.193 GB, free: 90.51 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005283/14.24, allocations: 3.124 MB / 4.196 GB, free: 89.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0195/14.26, allocations: 3.013 MB / 4.199 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005024/14.26, allocations: 1.799 MB / 4.201 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/14.26, allocations: 0 / 4.201 GB, free: 89.68 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/14.6, allocations: 137.1 MB / 4.335 GB, free: 19.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/14.6, allocations: 238.9 kB / 4.335 GB, free: 18.74 MB / 0.8698 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_Examples_FlatPlateShaCoeTrue.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_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_Examples_FlatPlateShaCoeTrue_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_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_Examples_FlatPlateShaCoeTrue_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_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_Examples_FlatPlateShaCoeTrue_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.o] Error 1