Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 3.174/3.174, allocations: 288.1 MB / 300.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.398e-05, allocations: 10.77 kB / 370.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1561, allocations: 67.01 MB / 437.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5946/0.7508, allocations: 97.69 MB / 0.5228 GB, free: 17.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.7512, allocations: 87.2 kB / 0.5229 GB, free: 17.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009376/0.7606, allocations: 2.106 MB / 0.5249 GB, free: 32.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7607, allocations: 1.312 kB / 0.5249 GB, free: 32.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.7607, allocations: 0 / 0.5249 GB, free: 32.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003117/0.7611, allocations: 324.4 kB / 0.5253 GB, free: 32.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.7611, allocations: 9.062 kB / 0.5253 GB, free: 32.32 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.7612, allocations: 107.1 kB / 0.5254 GB, free: 32.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.7613, allocations: 80.5 kB / 0.5254 GB, free: 32.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.7615, allocations: 237.6 kB / 0.5257 GB, free: 31.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.7616, allocations: 159.4 kB / 0.5258 GB, free: 31.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.7617, allocations: 152.2 kB / 0.526 GB, free: 31.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.498e-05/0.7618, allocations: 106.3 kB / 0.5261 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.7618, allocations: 75.28 kB / 0.5261 GB, free: 31.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/0.7619, allocations: 156.2 kB / 0.5263 GB, free: 31.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-05/0.762, allocations: 154.6 kB / 0.5264 GB, free: 31.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.7621, allocations: 152.1 kB / 0.5266 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.7624, allocations: 448.4 kB / 0.527 GB, free: 30.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.7625, allocations: 178.6 kB / 0.5272 GB, free: 30.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.7626, allocations: 84.14 kB / 0.5273 GB, free: 30.17 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.7626, allocations: 75.28 kB / 0.5273 GB, free: 30.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.7627, allocations: 110.8 kB / 0.5274 GB, free: 29.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.7627, allocations: 0 / 0.5274 GB, free: 29.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 9.072e-05/0.7628, allocations: 33.84 kB / 0.5275 GB, free: 29.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.7629, allocations: 126.7 kB / 0.5276 GB, free: 29.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.763, allocations: 105.8 kB / 0.5277 GB, free: 29.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.763, allocations: 30.95 kB / 0.5277 GB, free: 29.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.7631, allocations: 82.08 kB / 0.5278 GB, free: 29.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.7631, allocations: 0 / 0.5278 GB, free: 29.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.7631, allocations: 0 / 0.5278 GB, free: 29.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.7633, allocations: 317.1 kB / 0.5281 GB, free: 29.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.7633, allocations: 2.688 kB / 0.5281 GB, free: 29.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.176e-05/0.7634, allocations: 9.125 kB / 0.5281 GB, free: 29.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.7634, allocations: 3.562 kB / 0.5281 GB, free: 29.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7634, allocations: 4.094 kB / 0.5281 GB, free: 29.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.7636, allocations: 43.66 kB / 0.5282 GB, free: 29.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7636, allocations: 5.125 kB / 0.5282 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7636, allocations: 0 / 0.5282 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.7636, allocations: 1.312 kB / 0.5282 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.7637, allocations: 0 / 0.5282 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7637, allocations: 3.953 kB / 0.5282 GB, free: 29.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.7638, allocations: 8.078 kB / 0.5282 GB, free: 29.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.7638, allocations: 1.344 kB / 0.5282 GB, free: 29.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.764, allocations: 185.2 kB / 0.5284 GB, free: 29.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.764, allocations: 111.3 kB / 0.5285 GB, free: 28.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.507e-05/0.7641, allocations: 106.5 kB / 0.5286 GB, free: 28.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.953e-05/0.7642, allocations: 179.5 kB / 0.5287 GB, free: 28.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/0.7643, allocations: 181.4 kB / 0.5289 GB, free: 28.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.339e-05/0.7644, allocations: 184.2 kB / 0.5291 GB, free: 28.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.7647, allocations: 409.1 kB / 0.5295 GB, free: 27.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/0.7648, allocations: 104.9 kB / 0.5296 GB, free: 27.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.7648, allocations: 102.3 kB / 0.5297 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.742e-05/0.7649, allocations: 179.5 kB / 0.5298 GB, free: 27.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.765, allocations: 185.2 kB / 0.53 GB, free: 27.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.6e-05/0.7651, allocations: 184.2 kB / 0.5302 GB, free: 27.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-05/0.7652, allocations: 179.4 kB / 0.5304 GB, free: 26.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.7653, allocations: 305.9 kB / 0.5307 GB, free: 26.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.7655, allocations: 188.9 kB / 0.5308 GB, free: 26.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/0.7656, allocations: 185.4 kB / 0.531 GB, free: 26.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7657, allocations: 104.1 kB / 0.5311 GB, free: 26.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.7658, allocations: 180.2 kB / 0.5313 GB, free: 25.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.7659, allocations: 106.2 kB / 0.5314 GB, free: 25.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.775e-05/0.766, allocations: 91.42 kB / 0.5315 GB, free: 25.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.766, allocations: 0 / 0.5315 GB, free: 25.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.7663, allocations: 8.188 kB / 0.5315 GB, free: 25.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006337/0.7669, allocations: 0.8259 MB / 0.5323 GB, free: 24.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.7671, allocations: 9.594 kB / 0.5323 GB, free: 24.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7671, allocations: 0 / 0.5323 GB, free: 24.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.7671, allocations: 64 / 0.5323 GB, free: 24.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.7675, allocations: 0.5214 MB / 0.5328 GB, free: 24.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.7679, allocations: 159 kB / 0.533 GB, free: 24.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.7683, allocations: 0.6767 MB / 0.5336 GB, free: 23.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.738e-05/0.7683, allocations: 3.062 kB / 0.5336 GB, free: 23.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.7684, allocations: 12.47 kB / 0.5336 GB, free: 23.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7684, allocations: 0 / 0.5336 GB, free: 23.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.7962, allocations: 1.038 MB / 0.5347 GB, free: 23.26 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.7965, allocations: 183.8 kB / 0.5348 GB, free: 23.03 MB / 458.7 MB 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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c In file included from IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:2: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.c:7: In file included from ./IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_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_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o' failed make: *** [IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_functions.o] Error 1