Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.718e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2547, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.494/8.748, allocations: 2.474 GB / 3.146 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/8.749, allocations: 86.42 kB / 3.146 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.396/13.14, allocations: 0.9036 GB / 4.05 GB, free: 75.57 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/13.14, allocations: 3.938 kB / 4.05 GB, free: 75.57 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008163/13.15, allocations: 119.9 kB / 4.05 GB, free: 75.45 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.01813/13.16, allocations: 4.258 MB / 4.054 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/13.16, allocations: 12.03 kB / 4.054 GB, free: 71.12 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002092/13.17, allocations: 0.5105 MB / 4.055 GB, free: 70.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/13.18, allocations: 1.25 MB / 4.056 GB, free: 69.34 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02015/13.2, allocations: 5.374 MB / 4.061 GB, free: 63.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/13.2, allocations: 283.3 kB / 4.061 GB, free: 63.62 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/13.2, allocations: 372 kB / 4.062 GB, free: 63.26 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/13.22, allocations: 4.945 MB / 4.067 GB, free: 58.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/13.22, allocations: 15.78 kB / 4.067 GB, free: 58.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/13.22, allocations: 156 kB / 4.067 GB, free: 57.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/13.22, allocations: 175.2 kB / 4.067 GB, free: 57.81 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/13.23, allocations: 4.574 MB / 4.071 GB, free: 53.23 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.04809/13.28, allocations: 19.54 MB / 4.09 GB, free: 33.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007764/13.29, allocations: 3.238 MB / 4.094 GB, free: 29.81 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003613/13.29, allocations: 1.677 MB / 4.095 GB, free: 28.12 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/13.29, allocations: 1.868 MB / 4.097 GB, free: 25.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004398/13.3, allocations: 1.812 MB / 4.099 GB, free: 24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=267): time 5.961e-06/13.3, allocations: 4 kB / 4.099 GB, free: 24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=267): time 0.009309/13.31, allocations: 3.144 MB / 4.102 GB, free: 20.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/13.31, allocations: 287.1 kB / 4.102 GB, free: 20.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007285/13.32, allocations: 3.433 MB / 4.106 GB, free: 17.04 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008905/13.32, allocations: 77.7 kB / 4.106 GB, free: 16.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/13.32, allocations: 1.964 MB / 4.108 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/13.32, allocations: 0.905 MB / 4.108 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/13.32, allocations: 56 kB / 4.109 GB, free: 14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002119/13.32, allocations: 428 kB / 4.109 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/13.33, allocations: 1.345 MB / 4.11 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/13.33, allocations: 2.016 MB / 4.112 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/13.33, allocations: 1.689 MB / 4.114 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/13.33, allocations: 4 kB / 4.114 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01192/13.35, allocations: 3.927 MB / 4.118 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.6869/14.03, allocations: 7.41 MB / 4.125 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.106e-05/14.03, allocations: 16.81 kB / 4.125 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/14.03, allocations: 111.8 kB / 4.125 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00866/14.04, allocations: 0.8159 MB / 4.126 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/14.05, allocations: 2.146 MB / 4.128 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008566/14.05, allocations: 0.5191 MB / 4.128 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/14.06, allocations: 144.9 kB / 4.129 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/14.06, allocations: 7.594 kB / 4.129 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01375/14.07, allocations: 3.568 MB / 4.132 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/14.07, allocations: 15.59 kB / 4.132 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009789/14.07, allocations: 114 kB / 4.132 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009537/14.08, allocations: 0.7984 MB / 4.133 GB, free: 151.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/14.08, allocations: 1.568 MB / 4.135 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/14.09, allocations: 492.8 kB / 4.135 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/14.1, allocations: 144.3 kB / 4.135 GB, free: 150.3 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.001761/14.1, allocations: 288.9 kB / 4.135 GB, free: 150.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/14.1, allocations: 380.7 kB / 4.136 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/14.12, allocations: 3.96 MB / 4.14 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.877e-05/14.12, allocations: 33.59 kB / 4.14 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/14.12, allocations: 0 / 4.14 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01462/14.14, allocations: 3.079 MB / 4.143 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/14.17, allocations: 8.565 MB / 4.151 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/14.17, allocations: 1.984 kB / 4.151 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007494/14.18, allocations: 0.6376 MB / 4.152 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009586/14.18, allocations: 93.78 kB / 4.152 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008813/14.18, allocations: 92.75 kB / 4.152 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/14.18, allocations: 2.142 MB / 4.154 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/14.18, allocations: 0.9062 kB / 4.154 GB, free: 147.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/14.2, allocations: 5.473 MB / 4.159 GB, free: 146.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004385/14.2, allocations: 1.068 MB / 4.16 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/14.21, allocations: 57.95 kB / 4.16 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007747/14.21, allocations: 336.1 kB / 4.161 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009556/14.21, allocations: 175.5 kB / 4.161 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006093/14.22, allocations: 125.3 kB / 4.161 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007152/14.22, allocations: 2.693 MB / 4.164 GB, free: 146 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.81e-07/14.22, allocations: 3.031 kB / 4.164 GB, free: 146 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01307/14.24, allocations: 2.43 MB / 4.166 GB, free: 145.8 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.02089/14.26, allocations: 7.755 MB / 4.174 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01671/14.27, allocations: 5.511 MB / 4.179 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/14.27, allocations: 4.438 kB / 4.179 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005236/14.28, allocations: 1.732 MB / 4.181 GB, free: 144 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01672/14.3, allocations: 2.036 MB / 4.183 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03027/14.33, allocations: 9.075 MB / 4.191 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005078/14.33, allocations: 3.122 MB / 4.195 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01917/14.35, allocations: 3.002 MB / 4.197 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005133/14.36, allocations: 1.819 MB / 4.199 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/14.36, allocations: 0 / 4.199 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3221/14.68, allocations: 137.4 MB / 4.333 GB, free: 94.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/14.68, allocations: 241.2 kB / 4.334 GB, free: 93.91 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_Tubular.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_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_Tubular_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular_functions.o] Error 1