Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.982/2.982, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.504e-05, allocations: 3.875 kB / 370.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 67.01 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.883/7.035, allocations: 2.186 GB / 2.613 GB, free: 125.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/7.035, allocations: 88.03 kB / 2.613 GB, free: 125.1 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.398/9.433, allocations: 394.2 MB / 2.998 GB, free: 107.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.254e-06/9.433, allocations: 7.016 kB / 2.998 GB, free: 107.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000207/9.434, allocations: 36.42 kB / 2.998 GB, free: 107.7 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005868/9.439, allocations: 1.596 MB / 3 GB, free: 107 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/9.44, allocations: 10.62 kB / 3 GB, free: 107 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006575/9.44, allocations: 195.5 kB / 3 GB, free: 106.9 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004465/9.445, allocations: 398.5 kB / 3 GB, free: 106.9 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/9.449, allocations: 1.158 MB / 3.002 GB, free: 106.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/9.449, allocations: 97.67 kB / 3.002 GB, free: 106.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/9.45, allocations: 126.6 kB / 3.002 GB, free: 106.6 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/9.454, allocations: 1.377 MB / 3.003 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/9.454, allocations: 0 / 3.003 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/9.455, allocations: 61.25 kB / 3.003 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/9.455, allocations: 34.25 kB / 3.003 GB, free: 106.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004614/9.459, allocations: 1.423 MB / 3.005 GB, free: 106.4 MB / 0.573 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.01304/9.472, allocations: 4.966 MB / 3.009 GB, free: 104.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/9.476, allocations: 1.209 MB / 3.011 GB, free: 104 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/9.477, allocations: 439.5 kB / 3.011 GB, free: 104 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/9.478, allocations: 421.6 kB / 3.011 GB, free: 103.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/9.48, allocations: 0.6068 MB / 3.012 GB, free: 103.6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=98): time 4.98e-06/9.48, allocations: 3.844 kB / 3.012 GB, free: 103.6 MB / 0.573 GB Notification: Performance of matching and sorting (n=98): time 0.004207/9.484, allocations: 1.01 MB / 3.013 GB, free: 103.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/9.484, allocations: 244.8 kB / 3.013 GB, free: 103.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/9.486, allocations: 0.7868 MB / 3.014 GB, free: 103 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/9.487, allocations: 47.92 kB / 3.014 GB, free: 103 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006028/9.487, allocations: 0.5671 MB / 3.015 GB, free: 102.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005301/9.488, allocations: 337.2 kB / 3.015 GB, free: 102.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/9.488, allocations: 18.19 kB / 3.015 GB, free: 102.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/9.488, allocations: 336.4 kB / 3.015 GB, free: 102.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000945/9.489, allocations: 327.8 kB / 3.016 GB, free: 102.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/9.49, allocations: 0.5083 MB / 3.016 GB, free: 102.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/9.492, allocations: 408 kB / 3.016 GB, free: 102.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/9.492, allocations: 6.828 kB / 3.016 GB, free: 102.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003964/9.496, allocations: 1.05 MB / 3.017 GB, free: 102 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/9.496, allocations: 7.25 kB / 3.017 GB, free: 102 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/9.496, allocations: 3.969 kB / 3.017 GB, free: 102 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/9.497, allocations: 90.84 kB / 3.018 GB, free: 102 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/9.499, allocations: 231.5 kB / 3.018 GB, free: 102 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/9.502, allocations: 1.525 MB / 3.019 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/9.504, allocations: 138.8 kB / 3.019 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/9.505, allocations: 40.25 kB / 3.019 GB, free: 100.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0004101/9.505, allocations: 164.5 kB / 3.02 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/9.505, allocations: 115.8 kB / 3.02 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/9.51, allocations: 1.32 MB / 3.021 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/9.51, allocations: 12.77 kB / 3.021 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/9.51, allocations: 0 / 3.021 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/9.51, allocations: 6.469 kB / 3.021 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007547/9.518, allocations: 2.614 MB / 3.024 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/9.518, allocations: 3.188 kB / 3.024 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/9.52, allocations: 217.1 kB / 3.024 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/9.521, allocations: 88.05 kB / 3.024 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/9.521, allocations: 30.28 kB / 3.024 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/9.524, allocations: 1.549 MB / 3.025 GB, free: 98.76 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/9.524, allocations: 0 / 3.025 GB, free: 98.76 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/9.528, allocations: 1.189 MB / 3.027 GB, free: 98.53 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/9.529, allocations: 378 kB / 3.027 GB, free: 98.36 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/9.529, allocations: 25.92 kB / 3.027 GB, free: 98.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/9.531, allocations: 103.7 kB / 3.027 GB, free: 98.35 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/9.532, allocations: 76.94 kB / 3.027 GB, free: 98.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/9.532, allocations: 48.08 kB / 3.027 GB, free: 98.35 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001329/9.533, allocations: 0.6194 MB / 3.028 GB, free: 98.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.11e-07/9.533, allocations: 0 / 3.028 GB, free: 98.23 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0029/9.536, allocations: 0.5905 MB / 3.028 GB, free: 98.14 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.008159/9.544, allocations: 3.541 MB / 3.032 GB, free: 96.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003068/9.547, allocations: 0.9716 MB / 3.033 GB, free: 96.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/9.547, allocations: 4.156 kB / 3.033 GB, free: 96.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/9.549, allocations: 0.61 MB / 3.033 GB, free: 96.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/9.553, allocations: 455.2 kB / 3.034 GB, free: 96.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009332/9.563, allocations: 2.163 MB / 3.036 GB, free: 96.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/9.564, allocations: 1.209 MB / 3.037 GB, free: 95.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002762/9.566, allocations: 387.2 kB / 3.037 GB, free: 95.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/9.568, allocations: 0.5234 MB / 3.038 GB, free: 95.45 MB / 0.573 GB Notification: Performance of SimCode: time 1.974e-06/9.568, allocations: 0 / 3.038 GB, free: 95.45 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1501/9.718, allocations: 56.83 MB / 3.093 GB, free: 77.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/9.718, allocations: 221.9 kB / 3.094 GB, free: 77.14 MB / 0.573 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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.o IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.c In file included from IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_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/IBPSA latest/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c In file included from IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_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 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IBPSA 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 'IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o' failed make: *** [IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_functions.o] Error 1