Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.304/4.304, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.224e-05, allocations: 4 kB / 0.5732 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2456, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.517/8.763, allocations: 2.475 GB / 3.152 GB, free: 255.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/8.763, allocations: 91 kB / 3.153 GB, free: 255.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.515/13.28, allocations: 0.9037 GB / 4.056 GB, free: 90.03 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.763e-06/13.28, allocations: 3.938 kB / 4.056 GB, free: 90.02 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008498/13.28, allocations: 127.9 kB / 4.056 GB, free: 89.9 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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01698/13.3, allocations: 4.254 MB / 4.061 GB, free: 85.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/13.3, allocations: 8.031 kB / 4.061 GB, free: 85.57 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/13.3, allocations: 0.5182 MB / 4.061 GB, free: 85.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/13.31, allocations: 1.247 MB / 4.062 GB, free: 83.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/13.33, allocations: 5.363 MB / 4.067 GB, free: 78.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/13.33, allocations: 291.4 kB / 4.068 GB, free: 78.08 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/13.33, allocations: 367.9 kB / 4.068 GB, free: 77.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/13.35, allocations: 4.937 MB / 4.073 GB, free: 72.61 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/13.35, allocations: 19.78 kB / 4.073 GB, free: 72.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007698/13.35, allocations: 164 kB / 4.073 GB, free: 72.43 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/13.35, allocations: 171.2 kB / 4.073 GB, free: 72.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/13.36, allocations: 4.574 MB / 4.078 GB, free: 67.69 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.04815/13.41, allocations: 19.56 MB / 4.097 GB, free: 47.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/13.42, allocations: 3.226 MB / 4.1 GB, free: 44.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005582/13.43, allocations: 1.689 MB / 4.102 GB, free: 42.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003448/13.43, allocations: 1.857 MB / 4.103 GB, free: 40.31 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006651/13.44, allocations: 1.816 MB / 4.105 GB, free: 38.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=267): time 9.929e-06/13.44, allocations: 0 / 4.105 GB, free: 38.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=267): time 0.01536/13.45, allocations: 3.151 MB / 4.108 GB, free: 35.24 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/13.45, allocations: 291.1 kB / 4.109 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009097/13.46, allocations: 3.418 MB / 4.112 GB, free: 31.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/13.46, allocations: 81.7 kB / 4.112 GB, free: 31.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002726/13.46, allocations: 1.968 MB / 4.114 GB, free: 29.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/13.47, allocations: 0.9127 MB / 4.115 GB, free: 28.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/13.47, allocations: 60 kB / 4.115 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001926/13.47, allocations: 424 kB / 4.115 GB, free: 28.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/13.47, allocations: 1.341 MB / 4.117 GB, free: 26.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/13.47, allocations: 2.016 MB / 4.119 GB, free: 24.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004295/13.48, allocations: 1.697 MB / 4.12 GB, free: 22.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/13.48, allocations: 4 kB / 4.12 GB, free: 22.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01212/13.49, allocations: 3.908 MB / 4.124 GB, free: 18.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0017/13.49, allocations: 7.407 MB / 4.131 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.706e-05/13.49, allocations: 16 kB / 4.131 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/13.49, allocations: 120.7 kB / 4.131 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008216/13.5, allocations: 0.8112 MB / 4.132 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/13.51, allocations: 2.149 MB / 4.134 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008124/13.51, allocations: 0.5198 MB / 4.135 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009486/13.51, allocations: 143.9 kB / 4.135 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/13.51, allocations: 5.406 kB / 4.135 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01035/13.53, allocations: 3.566 MB / 4.138 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/13.53, allocations: 16 kB / 4.138 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009514/13.53, allocations: 117.6 kB / 4.139 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007717/13.53, allocations: 0.7996 MB / 4.139 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/13.54, allocations: 1.563 MB / 4.141 GB, free: 484 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6755/14.21, allocations: 494.6 kB / 4.141 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/14.21, allocations: 140.4 kB / 4.141 GB, free: 153.8 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 (370): * Single equations (assignments): 368 * 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.001727/14.22, allocations: 283.3 kB / 4.142 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/14.22, allocations: 383.4 kB / 4.142 GB, free: 153.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/14.23, allocations: 3.954 MB / 4.146 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/14.23, allocations: 33.45 kB / 4.146 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/14.23, allocations: 1.406 kB / 4.146 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01081/14.25, allocations: 3.084 MB / 4.149 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03084/14.28, allocations: 8.56 MB / 4.157 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/14.28, allocations: 7.75 kB / 4.157 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007382/14.28, allocations: 0.6319 MB / 4.158 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/14.28, allocations: 90.78 kB / 4.158 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009009/14.29, allocations: 91.72 kB / 4.158 GB, free: 152.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/14.29, allocations: 2.145 MB / 4.16 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/14.29, allocations: 1.375 kB / 4.16 GB, free: 150.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/14.31, allocations: 5.471 MB / 4.166 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004702/14.31, allocations: 1.071 MB / 4.167 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/14.31, allocations: 58.33 kB / 4.167 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00787/14.32, allocations: 338.4 kB / 4.167 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009989/14.32, allocations: 180.6 kB / 4.167 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007308/14.32, allocations: 126.2 kB / 4.167 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008122/14.33, allocations: 2.699 MB / 4.17 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.32e-07/14.33, allocations: 0 / 4.17 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01369/14.35, allocations: 2.428 MB / 4.172 GB, free: 149.5 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 (286): * Single equations (assignments): 276 * 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.0225/14.37, allocations: 7.752 MB / 4.18 GB, free: 148.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01664/14.38, allocations: 5.508 MB / 4.185 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/14.39, allocations: 0.5625 kB / 4.185 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005464/14.39, allocations: 1.731 MB / 4.187 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.01954/14.41, allocations: 2.038 MB / 4.189 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0412/14.45, allocations: 9.066 MB / 4.198 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007135/14.46, allocations: 3.12 MB / 4.201 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0271/14.49, allocations: 3.009 MB / 4.204 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008682/14.49, allocations: 1.82 MB / 4.206 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.294e-06/14.49, allocations: 3 kB / 4.206 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/14.79, allocations: 137.4 MB / 4.34 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/14.79, allocations: 219.3 kB / 4.34 GB, free: 102.2 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_Tubular.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c:2: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.o] Error 1