Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.165/4.165, allocations: 460.5 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.449e-05, allocations: 7.984 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2418, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.319/8.56, allocations: 2.474 GB / 3.146 GB, free: 255.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/8.561, allocations: 95.08 kB / 3.146 GB, free: 255.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.465/13.03, allocations: 0.9034 GB / 4.049 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/13.03, allocations: 0 / 4.049 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008653/13.03, allocations: 123.9 kB / 4.049 GB, free: 126.2 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.01773/13.04, allocations: 4.245 MB / 4.054 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/13.04, allocations: 12.03 kB / 4.054 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002546/13.05, allocations: 0.5144 MB / 4.054 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/13.06, allocations: 1.141 MB / 4.055 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/13.08, allocations: 5.315 MB / 4.06 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/13.08, allocations: 279.4 kB / 4.061 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/13.08, allocations: 375.8 kB / 4.061 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/13.1, allocations: 4.925 MB / 4.066 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002756/13.1, allocations: 15.84 kB / 4.066 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/13.1, allocations: 156 kB / 4.066 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/13.1, allocations: 175.2 kB / 4.066 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/13.12, allocations: 4.539 MB / 4.071 GB, free: 104.2 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.04848/13.17, allocations: 19.44 MB / 4.09 GB, free: 84.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008923/13.18, allocations: 3.243 MB / 4.093 GB, free: 80.96 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/13.18, allocations: 1.669 MB / 4.094 GB, free: 79.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002735/13.18, allocations: 1.856 MB / 4.096 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004491/13.19, allocations: 1.802 MB / 4.098 GB, free: 75.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=266): time 6.603e-06/13.19, allocations: 0 / 4.098 GB, free: 75.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=266): time 0.009451/13.2, allocations: 3.112 MB / 4.101 GB, free: 72.02 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/13.2, allocations: 295 kB / 4.101 GB, free: 71.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007521/13.2, allocations: 3.416 MB / 4.105 GB, free: 68.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009572/13.21, allocations: 81.7 kB / 4.105 GB, free: 68.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/13.21, allocations: 1.964 MB / 4.107 GB, free: 66.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/13.21, allocations: 0.905 MB / 4.107 GB, free: 65.27 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/13.21, allocations: 56 kB / 4.107 GB, free: 65.22 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001898/13.21, allocations: 431.9 kB / 4.108 GB, free: 64.79 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/13.21, allocations: 1.314 MB / 4.109 GB, free: 63.47 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/13.22, allocations: 1.996 MB / 4.111 GB, free: 61.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/13.22, allocations: 1.665 MB / 4.113 GB, free: 59.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/13.22, allocations: 8 kB / 4.113 GB, free: 59.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01087/13.23, allocations: 3.852 MB / 4.117 GB, free: 55.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001599/13.23, allocations: 7.405 MB / 4.124 GB, free: 47.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/13.23, allocations: 20 kB / 4.124 GB, free: 47.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/13.23, allocations: 116.8 kB / 4.124 GB, free: 47.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007874/13.24, allocations: 0.7956 MB / 4.125 GB, free: 46.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/13.25, allocations: 2.153 MB / 4.127 GB, free: 44.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008089/13.25, allocations: 0.5042 MB / 4.127 GB, free: 43.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/13.25, allocations: 139.9 kB / 4.127 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/13.25, allocations: 4 kB / 4.127 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01137/13.27, allocations: 3.522 MB / 4.131 GB, free: 40.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-05/13.27, allocations: 20 kB / 4.131 GB, free: 40.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009596/13.27, allocations: 109.6 kB / 4.131 GB, free: 39.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007719/13.27, allocations: 0.7839 MB / 4.132 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/13.28, allocations: 1.562 MB / 4.133 GB, free: 37.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007923/13.29, allocations: 476.8 kB / 4.134 GB, free: 37.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/13.29, allocations: 147.9 kB / 4.134 GB, free: 36.87 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.001156/13.29, allocations: 280.4 kB / 4.134 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/13.29, allocations: 379.4 kB / 4.134 GB, free: 36.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/13.3, allocations: 3.934 MB / 4.138 GB, free: 32.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/13.3, allocations: 28 kB / 4.138 GB, free: 32.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/13.3, allocations: 0 / 4.138 GB, free: 32.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009004/13.31, allocations: 3.063 MB / 4.141 GB, free: 29.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/13.34, allocations: 8.519 MB / 4.15 GB, free: 20.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/13.34, allocations: 0 / 4.15 GB, free: 20.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006835/13.34, allocations: 0.6164 MB / 4.15 GB, free: 19.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009033/13.34, allocations: 96.77 kB / 4.15 GB, free: 19.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007191/13.35, allocations: 83.92 kB / 4.15 GB, free: 19.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/13.35, allocations: 2.15 MB / 4.153 GB, free: 17.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/13.35, allocations: 0 / 4.153 GB, free: 17.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/13.36, allocations: 5.424 MB / 4.158 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004221/13.37, allocations: 1.062 MB / 4.159 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/13.37, allocations: 63.94 kB / 4.159 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007414/13.38, allocations: 327.4 kB / 4.159 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008735/13.38, allocations: 170 kB / 4.159 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000558/13.38, allocations: 128 kB / 4.16 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006688/13.38, allocations: 2.689 MB / 4.162 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.41e-07/13.38, allocations: 4 kB / 4.162 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.012/13.4, allocations: 2.427 MB / 4.165 GB, free: 4.875 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.7418/14.14, allocations: 7.669 MB / 4.172 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01902/14.16, allocations: 5.423 MB / 4.177 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/14.16, allocations: 2.844 kB / 4.177 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005841/14.16, allocations: 1.714 MB / 4.179 GB, free: 171.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01783/14.18, allocations: 2.038 MB / 4.181 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/14.22, allocations: 9.122 MB / 4.19 GB, free: 169.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007082/14.22, allocations: 3.115 MB / 4.193 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02018/14.24, allocations: 2.998 MB / 4.196 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005112/14.25, allocations: 1.789 MB / 4.198 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.734e-06/14.25, allocations: 3.156 kB / 4.198 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3337/14.58, allocations: 136.9 MB / 4.331 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/14.58, allocations: 236.5 kB / 4.332 GB, free: 136.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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Concentrating_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o] Error 1