Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.354/4.354, allocations: 464.6 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.139e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.236, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.175/8.411, allocations: 2.475 GB / 3.152 GB, free: 255 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/8.411, allocations: 92.33 kB / 3.153 GB, free: 255 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.37/12.78, allocations: 0.9049 GB / 4.057 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/12.78, allocations: 0 / 4.057 GB, free: 89.11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008733/12.78, allocations: 127.9 kB / 4.058 GB, free: 88.98 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01742/12.8, allocations: 4.269 MB / 4.062 GB, free: 84.65 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/12.8, allocations: 12.02 kB / 4.062 GB, free: 84.64 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002243/12.8, allocations: 0.5105 MB / 4.062 GB, free: 84.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/12.81, allocations: 1.25 MB / 4.063 GB, free: 82.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02058/12.84, allocations: 5.355 MB / 4.069 GB, free: 77.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003894/12.84, allocations: 283.4 kB / 4.069 GB, free: 77.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/12.84, allocations: 375.9 kB / 4.069 GB, free: 76.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/12.85, allocations: 4.937 MB / 4.074 GB, free: 71.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/12.85, allocations: 15.84 kB / 4.074 GB, free: 71.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008327/12.85, allocations: 160 kB / 4.074 GB, free: 71.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002059/12.85, allocations: 179.2 kB / 4.074 GB, free: 71.34 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/12.87, allocations: 4.578 MB / 4.079 GB, free: 66.76 MB / 0.8855 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.05189/12.92, allocations: 19.28 MB / 4.098 GB, free: 46.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008267/12.93, allocations: 3.179 MB / 4.101 GB, free: 43.71 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/12.93, allocations: 1.671 MB / 4.103 GB, free: 42.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002843/12.94, allocations: 1.861 MB / 4.104 GB, free: 39.78 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005048/12.94, allocations: 1.8 MB / 4.106 GB, free: 37.93 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=264): time 7.293e-06/12.94, allocations: 0 / 4.106 GB, free: 37.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264): time 0.01038/12.95, allocations: 3.123 MB / 4.109 GB, free: 34.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/12.95, allocations: 291 kB / 4.109 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008597/12.96, allocations: 3.437 MB / 4.113 GB, free: 30.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000969/12.96, allocations: 77.7 kB / 4.113 GB, free: 30.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002542/12.96, allocations: 1.971 MB / 4.115 GB, free: 28.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/12.97, allocations: 0.905 MB / 4.116 GB, free: 27.99 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/12.97, allocations: 60 kB / 4.116 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002055/12.97, allocations: 428 kB / 4.116 GB, free: 27.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/12.97, allocations: 1.345 MB / 4.117 GB, free: 26.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004595/12.97, allocations: 2.02 MB / 4.119 GB, free: 23.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004516/12.98, allocations: 1.693 MB / 4.121 GB, free: 22.15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/12.98, allocations: 8 kB / 4.121 GB, free: 22.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0125/12.99, allocations: 3.908 MB / 4.125 GB, free: 18.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001537/12.99, allocations: 7.412 MB / 4.132 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/12.99, allocations: 20 kB / 4.132 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/12.99, allocations: 108.8 kB / 4.132 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008006/13, allocations: 0.8073 MB / 4.133 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/13.01, allocations: 1.567 MB / 4.135 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008512/13.01, allocations: 0.5392 MB / 4.135 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/13.02, allocations: 143.9 kB / 4.135 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/13.02, allocations: 4 kB / 4.135 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01062/13.03, allocations: 3.578 MB / 4.139 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/13.03, allocations: 16.22 kB / 4.139 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/13.03, allocations: 108.8 kB / 4.139 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007828/13.03, allocations: 0.8074 MB / 4.14 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/13.04, allocations: 1.555 MB / 4.141 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007984/13.05, allocations: 496.8 kB / 4.142 GB, free: 60 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.6814/13.73, allocations: 147.3 kB / 4.142 GB, free: 155.2 MB / 0.8855 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.001468/13.73, allocations: 282.9 kB / 4.142 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/13.73, allocations: 380.2 kB / 4.142 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/13.75, allocations: 3.937 MB / 4.146 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/13.75, allocations: 31.72 kB / 4.146 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/13.75, allocations: 1.547 kB / 4.146 GB, free: 154.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01033/13.76, allocations: 3.058 MB / 4.149 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/13.79, allocations: 8.805 MB / 4.158 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/13.79, allocations: 4.516 kB / 4.158 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007434/13.8, allocations: 0.633 MB / 4.158 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009782/13.8, allocations: 99.45 kB / 4.159 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009072/13.8, allocations: 90.33 kB / 4.159 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/13.8, allocations: 1.563 MB / 4.16 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/13.8, allocations: 15.52 kB / 4.16 GB, free: 152.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01819/13.82, allocations: 5.834 MB / 4.166 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004672/13.82, allocations: 1.072 MB / 4.167 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/13.82, allocations: 63.72 kB / 4.167 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007964/13.83, allocations: 305.8 kB / 4.167 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/13.83, allocations: 186.5 kB / 4.167 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006228/13.83, allocations: 129.1 kB / 4.168 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008291/13.84, allocations: 2.698 MB / 4.17 GB, free: 151 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.573e-06/13.84, allocations: 1.125 kB / 4.17 GB, free: 151 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01526/13.86, allocations: 2.445 MB / 4.173 GB, free: 150.8 MB / 0.8855 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.02244/13.88, allocations: 8.838 MB / 4.181 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01653/13.9, allocations: 5.496 MB / 4.187 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/13.9, allocations: 4.406 kB / 4.187 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/13.9, allocations: 1.719 MB / 4.188 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01753/13.92, allocations: 2.011 MB / 4.19 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/13.95, allocations: 9.177 MB / 4.199 GB, free: 146 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004086/13.96, allocations: 3.127 MB / 4.202 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01828/13.97, allocations: 3.013 MB / 4.205 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005448/13.98, allocations: 1.798 MB / 4.207 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.423e-06/13.98, allocations: 2.094 kB / 4.207 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3225/14.3, allocations: 137.1 MB / 4.341 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/14.3, allocations: 243.9 kB / 4.341 GB, free: 101.3 MB / 0.8855 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_Examples_FlatPlateShaCoeTrue.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_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_Examples_FlatPlateShaCoeTrue_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_functions.o] Error 1