Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.46/4.46, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.366e-05/4.369e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2511, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.579/8.83, allocations: 2.474 GB / 3.152 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000381/8.831, allocations: 93.34 kB / 3.152 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.319/13.15, allocations: 0.9034 GB / 4.056 GB, free: 93.06 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.365e-06/13.15, allocations: 0 / 4.056 GB, free: 93.06 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000914/13.15, allocations: 127.9 kB / 4.056 GB, free: 92.94 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01777/13.17, allocations: 4.238 MB / 4.06 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/13.17, allocations: 8.031 kB / 4.06 GB, free: 88.63 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002319/13.17, allocations: 0.5144 MB / 4.06 GB, free: 88.11 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/13.18, allocations: 1.145 MB / 4.061 GB, free: 86.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/13.2, allocations: 5.311 MB / 4.067 GB, free: 81.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/13.21, allocations: 287.3 kB / 4.067 GB, free: 81.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/13.21, allocations: 367.9 kB / 4.067 GB, free: 80.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/13.22, allocations: 4.921 MB / 4.072 GB, free: 75.85 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/13.22, allocations: 11.94 kB / 4.072 GB, free: 75.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007565/13.22, allocations: 163.9 kB / 4.072 GB, free: 75.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/13.22, allocations: 171.1 kB / 4.072 GB, free: 75.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/13.24, allocations: 4.543 MB / 4.077 GB, free: 70.96 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.04674/13.29, allocations: 19.44 MB / 4.096 GB, free: 50.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008/13.29, allocations: 3.254 MB / 4.099 GB, free: 47.61 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003759/13.3, allocations: 1.665 MB / 4.101 GB, free: 45.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002698/13.3, allocations: 1.861 MB / 4.102 GB, free: 43.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004567/13.3, allocations: 1.8 MB / 4.104 GB, free: 41.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=266): time 7.273e-06/13.3, allocations: 0 / 4.104 GB, free: 41.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=266): time 0.009504/13.31, allocations: 3.116 MB / 4.107 GB, free: 38.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/13.31, allocations: 291.1 kB / 4.108 GB, free: 38.31 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007633/13.32, allocations: 3.413 MB / 4.111 GB, free: 34.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009937/13.32, allocations: 81.7 kB / 4.111 GB, free: 34.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/13.33, allocations: 1.952 MB / 4.113 GB, free: 32.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/13.33, allocations: 0.9049 MB / 4.114 GB, free: 31.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/13.33, allocations: 60 kB / 4.114 GB, free: 31.88 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001943/13.33, allocations: 419.9 kB / 4.114 GB, free: 31.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/13.33, allocations: 1.322 MB / 4.115 GB, free: 30.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003732/13.33, allocations: 1.992 MB / 4.117 GB, free: 27.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/13.34, allocations: 1.672 MB / 4.119 GB, free: 26.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/13.34, allocations: 12 kB / 4.119 GB, free: 26.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01123/13.35, allocations: 3.847 MB / 4.123 GB, free: 22.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0015/13.35, allocations: 7.409 MB / 4.13 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/13.35, allocations: 16 kB / 4.13 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/13.35, allocations: 112.8 kB / 4.13 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008101/13.36, allocations: 0.7995 MB / 4.131 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/13.36, allocations: 2.157 MB / 4.133 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008075/13.37, allocations: 0.5003 MB / 4.134 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009955/13.37, allocations: 139.9 kB / 4.134 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/13.37, allocations: 4 kB / 4.134 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01023/13.38, allocations: 3.523 MB / 4.137 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/13.38, allocations: 16 kB / 4.137 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009556/13.38, allocations: 112.8 kB / 4.137 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007593/13.39, allocations: 0.78 MB / 4.138 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/13.39, allocations: 1.571 MB / 4.14 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/13.4, allocations: 472.9 kB / 4.14 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008696/13.4, allocations: 143.9 kB / 4.14 GB, free: 3.527 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 (365): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001146/13.4, allocations: 282.2 kB / 4.14 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/13.41, allocations: 387.3 kB / 4.141 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6906/14.1, allocations: 3.92 MB / 4.145 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.291e-05/14.1, allocations: 32.39 kB / 4.145 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/14.1, allocations: 0 / 4.145 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01219/14.11, allocations: 3.06 MB / 4.148 GB, free: 154.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03118/14.14, allocations: 8.521 MB / 4.156 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/14.14, allocations: 1.156 kB / 4.156 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007433/14.15, allocations: 0.6198 MB / 4.157 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000965/14.15, allocations: 93.34 kB / 4.157 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009217/14.15, allocations: 89.19 kB / 4.157 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/14.15, allocations: 2.142 MB / 4.159 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/14.15, allocations: 1.5 kB / 4.159 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/14.17, allocations: 5.421 MB / 4.164 GB, free: 152 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005023/14.18, allocations: 1.069 MB / 4.165 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002183/14.18, allocations: 62.27 kB / 4.165 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008225/14.19, allocations: 321.2 kB / 4.166 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/14.19, allocations: 181.6 kB / 4.166 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007535/14.19, allocations: 123.4 kB / 4.166 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009393/14.2, allocations: 2.691 MB / 4.168 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.525e-06/14.2, allocations: 1.938 kB / 4.168 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01685/14.22, allocations: 2.422 MB / 4.171 GB, free: 151.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.02372/14.24, allocations: 7.699 MB / 4.178 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01634/14.26, allocations: 5.426 MB / 4.184 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/14.26, allocations: 4.125 kB / 4.184 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005149/14.26, allocations: 1.712 MB / 4.185 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01722/14.28, allocations: 2.025 MB / 4.187 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03203/14.31, allocations: 9.122 MB / 4.196 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00459/14.31, allocations: 3.119 MB / 4.199 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01974/14.33, allocations: 2.991 MB / 4.202 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005066/14.34, allocations: 1.792 MB / 4.204 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.753e-06/14.34, allocations: 3.219 kB / 4.204 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.329/14.67, allocations: 136.9 MB / 4.338 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001448/14.67, allocations: 233.5 kB / 4.338 GB, free: 106.1 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_Concentrating.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Concentrating_functions.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:2: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Concentrating_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Concentrating_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o] Error 1