Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.426/4.426, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.329e-05, allocations: 4 kB / 0.5732 GB, free: 5.672 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2689, allocations: 107.2 MB / 0.6778 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.815/8.084, allocations: 2.19 GB / 2.868 GB, free: 257.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/8.084, allocations: 87.89 kB / 2.868 GB, free: 257.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3477/8.432, allocations: 89.56 MB / 2.955 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/8.432, allocations: 0 / 2.955 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001977/8.432, allocations: 47.92 kB / 2.955 GB, free: 183.3 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.00516/8.437, allocations: 1.633 MB / 2.957 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/8.437, allocations: 12.03 kB / 2.957 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006465/8.438, allocations: 194.4 kB / 2.957 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/8.441, allocations: 369.4 kB / 2.957 GB, free: 181 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/8.445, allocations: 1.007 MB / 2.958 GB, free: 179.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/8.445, allocations: 98.64 kB / 2.958 GB, free: 179.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/8.445, allocations: 128 kB / 2.959 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/8.45, allocations: 1.425 MB / 2.96 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.831e-05/8.45, allocations: 3.938 kB / 2.96 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/8.45, allocations: 63.92 kB / 2.96 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/8.45, allocations: 39.95 kB / 2.96 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00491/8.455, allocations: 1.917 MB / 2.962 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/8.468, allocations: 4.451 MB / 2.966 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/8.472, allocations: 1.337 MB / 2.968 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/8.474, allocations: 0.4971 MB / 2.968 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/8.474, allocations: 65.17 kB / 2.968 GB, free: 169.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001958/8.476, allocations: 0.7429 MB / 2.969 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=136): time 6.663e-06/8.476, allocations: 0 / 2.969 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136): time 0.005815/8.482, allocations: 1.305 MB / 2.97 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/8.482, allocations: 462 kB / 2.971 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/8.484, allocations: 1.031 MB / 2.972 GB, free: 166 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004735/8.485, allocations: 53.7 kB / 2.972 GB, free: 166 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/8.486, allocations: 0.5991 MB / 2.972 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007349/8.486, allocations: 449.4 kB / 2.973 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/8.487, allocations: 28 kB / 2.973 GB, free: 164.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001142/8.487, allocations: 349.9 kB / 2.973 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/8.488, allocations: 398.5 kB / 2.973 GB, free: 164.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/8.489, allocations: 0.601 MB / 2.974 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/8.491, allocations: 482.9 kB / 2.974 GB, free: 163 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/8.491, allocations: 4 kB / 2.974 GB, free: 163 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005428/8.496, allocations: 1.329 MB / 2.976 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/8.496, allocations: 8 kB / 2.976 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/8.497, allocations: 0 / 2.976 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/8.498, allocations: 169.6 kB / 2.976 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/8.501, allocations: 271.6 kB / 2.976 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/8.506, allocations: 3.052 MB / 2.979 GB, free: 157.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/8.508, allocations: 166.8 kB / 2.979 GB, free: 157.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/8.509, allocations: 51.97 kB / 2.979 GB, free: 157.7 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.0004595/8.509, allocations: 184.7 kB / 2.98 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/8.51, allocations: 150.2 kB / 2.98 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/8.522, allocations: 1.899 MB / 2.982 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/8.522, allocations: 19.94 kB / 2.982 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/8.522, allocations: 7.938 kB / 2.982 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/8.523, allocations: 11.97 kB / 2.982 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/8.528, allocations: 1.513 MB / 2.983 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.346e-05/8.528, allocations: 4 kB / 2.983 GB, free: 153.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003797/8.532, allocations: 279.6 kB / 2.983 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/8.534, allocations: 177.5 kB / 2.983 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000474/8.535, allocations: 43.97 kB / 2.984 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007016/8.542, allocations: 3.092 MB / 2.987 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/8.542, allocations: 3.938 kB / 2.987 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007936/8.55, allocations: 1.547 MB / 2.988 GB, free: 148.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/8.552, allocations: 486.5 kB / 2.989 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006186/8.553, allocations: 28 kB / 2.989 GB, free: 147.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003176/8.556, allocations: 144 kB / 2.989 GB, free: 147.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005867/8.557, allocations: 113.4 kB / 2.989 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002841/8.557, allocations: 59.95 kB / 2.989 GB, free: 147.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002741/8.56, allocations: 0.8209 MB / 2.99 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.532e-06/8.56, allocations: 0 / 2.99 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003914/8.564, allocations: 0.5261 MB / 2.99 GB, free: 146.2 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.01207/8.576, allocations: 3.17 MB / 2.993 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006392/8.582, allocations: 1.317 MB / 2.995 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/8.582, allocations: 4 kB / 2.995 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00389/8.586, allocations: 0.8839 MB / 2.995 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00574/8.592, allocations: 482.3 kB / 2.996 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/8.61, allocations: 2.835 MB / 2.999 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/8.612, allocations: 1.316 MB / 3 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004311/8.616, allocations: 0.5033 MB / 3 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/8.618, allocations: 0.6515 MB / 3.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of SimCode: time 2.003e-06/8.619, allocations: 3.938 kB / 3.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/8.794, allocations: 48.21 MB / 3.048 GB, free: 87.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/8.794, allocations: 240.3 kB / 3.048 GB, free: 86.82 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_BoundaryConditions_WeatherData_Examples_ReaderTMY3.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c In file included from Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.c:7: In file included from ./Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_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_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o' failed make: *** [Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_functions.o] Error 1