Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.505/4.505, allocations: 460.5 MB / 472.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.825e-05, allocations: 4 kB / 0.5682 GB, free: 10.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 106.2 MB / 0.6719 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.694/7.97, allocations: 2.189 GB / 2.861 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/7.971, allocations: 90.59 kB / 2.861 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.367/8.338, allocations: 89.56 MB / 2.949 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/8.338, allocations: 3.938 kB / 2.949 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001971/8.338, allocations: 39.94 kB / 2.949 GB, free: 204.6 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.00502/8.343, allocations: 1.633 MB / 2.951 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/8.343, allocations: 12.03 kB / 2.951 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005352/8.344, allocations: 202.4 kB / 2.951 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/8.347, allocations: 369.4 kB / 2.951 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/8.35, allocations: 1.003 MB / 2.952 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.754e-05/8.35, allocations: 102.6 kB / 2.952 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/8.351, allocations: 128 kB / 2.952 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/8.354, allocations: 1.43 MB / 2.954 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/8.354, allocations: 0 / 2.954 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/8.355, allocations: 60 kB / 2.954 GB, free: 199.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/8.355, allocations: 32 kB / 2.954 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004754/8.359, allocations: 1.925 MB / 2.956 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/8.372, allocations: 4.463 MB / 2.96 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/8.376, allocations: 1.324 MB / 2.961 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/8.377, allocations: 0.4932 MB / 2.962 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/8.378, allocations: 61.17 kB / 2.962 GB, free: 191 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/8.379, allocations: 0.7437 MB / 2.963 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=136): time 4.458e-06/8.379, allocations: 0 / 2.963 GB, free: 190.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.00539/8.385, allocations: 1.302 MB / 2.964 GB, free: 189 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/8.385, allocations: 462.1 kB / 2.964 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/8.388, allocations: 1.038 MB / 2.965 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004929/8.388, allocations: 49.7 kB / 2.965 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/8.389, allocations: 0.6069 MB / 2.966 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000623/8.389, allocations: 449.4 kB / 2.966 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/8.39, allocations: 24 kB / 2.966 GB, free: 186.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001068/8.39, allocations: 353.9 kB / 2.967 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/8.391, allocations: 386.5 kB / 2.967 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/8.392, allocations: 0.6049 MB / 2.968 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/8.393, allocations: 490.5 kB / 2.968 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/8.393, allocations: 0 / 2.968 GB, free: 184.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005295/8.399, allocations: 1.329 MB / 2.969 GB, free: 183 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/8.399, allocations: 8 kB / 2.969 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/8.399, allocations: 0 / 2.969 GB, free: 183 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/8.401, allocations: 169.8 kB / 2.97 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/8.403, allocations: 267.6 kB / 2.97 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/8.409, allocations: 3.061 MB / 2.973 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/8.411, allocations: 158.9 kB / 2.973 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/8.412, allocations: 59.91 kB / 2.973 GB, free: 179 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004719/8.412, allocations: 172.8 kB / 2.973 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/8.413, allocations: 150.1 kB / 2.973 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/8.42, allocations: 1.906 MB / 2.975 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/8.42, allocations: 16 kB / 2.975 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/8.42, allocations: 0 / 2.975 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/8.42, allocations: 7.969 kB / 2.975 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/8.423, allocations: 1.517 MB / 2.977 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/8.423, allocations: 0 / 2.977 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/8.426, allocations: 283.6 kB / 2.977 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/8.428, allocations: 165.5 kB / 2.977 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003765/8.428, allocations: 43.97 kB / 2.977 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/8.433, allocations: 3.107 MB / 2.98 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/8.433, allocations: 0 / 2.98 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/8.438, allocations: 1.547 MB / 2.982 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/8.44, allocations: 482.4 kB / 2.982 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/8.44, allocations: 40.23 kB / 2.982 GB, free: 169.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/8.443, allocations: 127.9 kB / 2.982 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005726/8.443, allocations: 121.3 kB / 2.982 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/8.443, allocations: 63.94 kB / 2.983 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001869/8.445, allocations: 0.8209 MB / 2.983 GB, free: 168 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.71e-07/8.445, allocations: 0 / 2.983 GB, free: 168 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003077/8.449, allocations: 0.5223 MB / 2.984 GB, free: 167.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008467/8.457, allocations: 3.184 MB / 2.987 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004085/8.461, allocations: 1.316 MB / 2.988 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/8.461, allocations: 448 / 2.988 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/8.464, allocations: 0.8839 MB / 2.989 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/8.468, allocations: 475.1 kB / 2.99 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/8.481, allocations: 2.839 MB / 2.992 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009901/8.482, allocations: 1.319 MB / 2.994 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00311/8.485, allocations: 0.4955 MB / 2.994 GB, free: 157 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/8.487, allocations: 0.6632 MB / 2.995 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.623e-06/8.487, allocations: 0 / 2.995 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1615/8.648, allocations: 48.21 MB / 3.042 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/8.649, allocations: 238 kB / 3.042 GB, free: 108.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_BoundaryConditions_WeatherData_Examples_ReaderTMY3.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1